-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* state cleanup * models+actions * update version * fixed throwing action error inside try block * fixed tests * fixed tests * added logging instead of print
- Loading branch information
Showing
7 changed files
with
201 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
from enum import Enum | ||
import time | ||
from datetime import datetime | ||
|
||
|
||
def get_ISO_time(): | ||
return datetime.fromtimestamp(time.time()).isoformat(timespec='milliseconds') + 'Z' | ||
return datetime.fromtimestamp(time.time()).isoformat(timespec='milliseconds') + 'Z' | ||
|
||
|
||
class Models(Enum): | ||
GPT_3_5_TURBO = "gpt-3.5-turbo" | ||
GPT_3_5_TURBO_0301 = "gpt-3.5-turbo-0301" | ||
GPT_3_5_TURBO_0613 = "gpt-3.5-turbo-0613" | ||
GPT_3_5_TURBO_16K = "gpt-3.5-turbo-16k" | ||
GPT_3_5_TURBO_16K_0613 = "gpt-3.5-turbo-16k-0613" | ||
GPT_4_0314 = "gpt-4-0314" | ||
GPT_4 = "gpt-4" | ||
GPT_4_32K = "gpt-4-32k" | ||
GPT_4_32K_0314 = "gpt-4-32k-0314" | ||
GPT_4_0613 = "gpt-4-0613" | ||
TEXT_EMBEDDING_ADA_002 = "text-embedding-ada-002" | ||
|
||
|
||
class ActionType: | ||
LLM = "llm" | ||
API = "api" | ||
ACTION = "action" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "agentops" | ||
version = "0.0.3" | ||
version = "0.0.4" | ||
authors = [ | ||
{ name="Alex Reibman", email="[email protected]" }, | ||
{ name="Shawn Qiu", email="[email protected]" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters