ResponseRetrievalItemGenerationParams interface
Parameters for retrieving deployed conversations for evaluation.
- Extends
Properties
| data_mapping | Maps |
| max_num_turns | The maximum number of turns of chat history to evaluate. |
| source | The inline JSONL content containing the response identifiers to retrieve.
The |
| type | The type of item generation parameters, always |
Property Details
data_mapping
Maps response_id to the source field that contains a stored Responses API
response identifier. For example, {"response_id": "{{item.resp_id}}"}.
Field names are case-sensitive.
data_mapping: Record<string, string>
Property Value
Record<string, string>
max_num_turns
The maximum number of turns of chat history to evaluate.
max_num_turns: number
Property Value
number
source
The inline JSONL content containing the response identifiers to retrieve.
The azure_ai_responses data source supports file_content only;
providing a file_id results in a 400 Bad Request response.
source: EvalJsonlFileContentSource | EvalJsonlFileIdSource
Property Value
type
The type of item generation parameters, always response_retrieval.
type: "response_retrieval"
Property Value
"response_retrieval"