Skip to content

Commit

Permalink
feat: Updated sdks/python/julep/managers/types.py (#269)
Browse files Browse the repository at this point in the history
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
  • Loading branch information
sweep-ai[bot] authored Apr 18, 2024
1 parent b161fac commit 16b6a16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdks/python/julep/managers/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,37 @@
Tool,
)

# Represents the settings for chat response formatting, used in configuring agent chat behavior.
ChatSettingsResponseFormatDict = TypedDict(
"ChatSettingsResponseFormat",
**{k: v.outer_type_ for k, v in ChatSettingsResponseFormat.__fields__.items()},
)
# Represents an input message for chat in ML format, used for processing chat inputs.
InputChatMlMessageDict = TypedDict(
"InputChatMlMessage",
**{k: v.outer_type_ for k, v in InputChatMlMessage.__fields__.items()},
)
# Represents the structure of a tool, used for defining tools within the system.
ToolDict = TypedDict(
"Tool",
**{k: v.outer_type_ for k, v in Tool.__fields__.items()},
)

# Represents the serialized form of a document, used for API communication.
DocDict = TypedDict(
"DocDict",
**{k: v.outer_type_ for k, v in CreateDoc.__fields__.items()},
)
# Represents the default settings for an agent, used in agent configuration.
DefaultSettingsDict = TypedDict(
"DefaultSettingsDict",
**{k: v.outer_type_ for k, v in AgentDefaultSettings.__fields__.items()},
)
# Represents the definition of a function, used for defining functions within the system.
FunctionDefDict = TypedDict(
"FunctionDefDict", **{k: v.outer_type_ for k, v in FunctionDef.__fields__.items()}
)
# Represents the request structure for creating a tool, used in tool creation API calls.
ToolDict = TypedDict(
"ToolDict", **{k: v.outer_type_ for k, v in CreateToolRequest.__fields__.items()}
)

0 comments on commit 16b6a16

Please sign in to comment.