LlmCall(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Stores metadata of the call of an LLM.
Attributes |
|
---|---|
Name | Description |
retrieved_examples |
MutableSequence[google.cloud.dialogflowcx_v3beta1.types.LlmCall.RetrievedExample]
A list of relevant examples used for the LLM prompt. |
token_count |
google.cloud.dialogflowcx_v3beta1.types.LlmCall.TokenCount
The token counts of the LLM call. |
model |
str
The model of the LLM call. |
temperature |
float
The temperature of the LLM call. |
Classes
RetrievedExample
RetrievedExample(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Relevant example used for the LLM prompt.
TokenCount
TokenCount(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Stores token counts of the LLM call.