orkes.graph.LLMTraceSchema#
- pydantic model orkes.graph.LLMTraceSchema[source]#
Represents the input and output of an LLM interaction for tracking purposes.
- messages#
The messages sent to the LLM.
- Type:
- tools#
The tools provided to the LLM.
- Type:
Optional[List[Dict]]
- parsed_response#
The parsed response from the LLM.
- Type:
- edge_id#
The ID of the graph edge that triggered this interaction.
- Type:
Optional[str]
- model#
The name of the model used.
- Type:
str
- settings#
Any additional settings used for the request.
- Type:
Optional[Dict]
- Fields:
messages (orkes.shared.schema.OrkesMessagesSchema)model (str)parsed_response (orkes.shared.schema.RequestSchema)settings (Dict | None)tools (List[Dict] | None)
- field messages: OrkesMessagesSchema [Required]#
- field model: str [Required]#
- field parsed_response: RequestSchema [Required]#
- field settings: Dict | None = None#
- field tools: List[Dict] | None = None#