orkes.shared.RequestSchema#
- pydantic model orkes.shared.RequestSchema[source]#
Represents a standard response from an LLM.
This schema defines the structure of a response from an LLM, which can be either a string of content or a list of tool calls.
- content_type#
The type of content in the response, either ‘text’ or ‘tool_calls’.
- Type:
str
- content#
The content of the response.
- Type:
Union[str, List[ToolCallSchema]]
- Fields:
content (str | List[orkes.shared.schema.ToolCallSchema])content_type (str)
- field content: str | List[ToolCallSchema] [Required]#
- field content_type: str [Required]#