GenAiRequestParameters interface
Request-side GenAI parameters captured for agent invocation telemetry.
Properties
| choice |
Number of response choices requested from the model. |
| data |
Identifier of the external data source used to ground the request. |
| frequency |
Frequency penalty applied during token sampling. |
| max |
Maximum number of tokens requested for generation. |
| model | Name of the requested model. |
| output |
Requested output type (for example, |
| presence |
Presence penalty applied during token sampling. |
| seed | Seed used to make sampling reproducible. |
| stop |
Stop sequences supplied with the request. |
| system |
Structured system instructions provided to the model. |
| temperature | Sampling temperature for the request. |
| topP | Nucleus-sampling top-p value for the request. |
Property Details
choiceCount
Number of response choices requested from the model.
choiceCount?: number
Property Value
number
dataSourceId
Identifier of the external data source used to ground the request.
dataSourceId?: string
Property Value
string
frequencyPenalty
Frequency penalty applied during token sampling.
frequencyPenalty?: number
Property Value
number
maxTokens
Maximum number of tokens requested for generation.
maxTokens?: number
Property Value
number
model
Name of the requested model.
model?: string
Property Value
string
outputType
Requested output type (for example, json).
outputType?: string
Property Value
string
presencePenalty
Presence penalty applied during token sampling.
presencePenalty?: number
Property Value
number
seed
Seed used to make sampling reproducible.
seed?: number
Property Value
number
stopSequences
Stop sequences supplied with the request.
stopSequences?: string[]
Property Value
string[]
systemInstructions
Structured system instructions provided to the model.
systemInstructions?: SystemInstructionPart[]
Property Value
temperature
Sampling temperature for the request.
temperature?: number
Property Value
number
topP
Nucleus-sampling top-p value for the request.
topP?: number
Property Value
number