nemo_microservices.types.llm_call_info#
Module Contents#
Classes#
API#
- class nemo_microservices.types.llm_call_info.LlmCallInfo(/, **data: Any)#
Bases:
nemo_microservices._models.BaseModel- completion: str | None#
None
The completion generated by the LLM.
- completion_tokens: int | None#
None
The number of output tokens.
- duration: float | None#
None
The duration in seconds.
- finished_at: float | None#
None
The timestamp for when the LLM call finished.
- id: str | None#
None
The unique prompt identifier.
- llm_model_name: str | None#
None
The name of the model use for the LLM call.
- prompt: str | None#
None
The prompt that was used for the LLM call.
- prompt_tokens: int | None#
None
The number of input tokens.
- raw_response: Dict[str, object] | None#
None
The raw response received from the LLM.
May contain additional information, e.g. logprobs.
- started_at: float | None#
None
The timestamp for when the LLM call started.
- task: str | None#
None
The internal task that made the call.
- total_tokens: int | None#
None
The total number of used tokens.