ResponseRetrievalItemGenerationParams interface
評価のために展開済み会話を取得するためのパラメータ。
「展開された会話を評価する」を参照してください。
- Extends
プロパティ
| data_mapping |
|
| max_num_turns | 評価するチャット履歴のターンの最大数。 |
| source | 取得する応答識別子を含むインライン JSONL コンテンツ。
|
| type | 項目生成パラメーターの種類。常に |
プロパティの詳細
data_mapping
response_idを、保存されている Responses API 応答識別子を含むソースフィールドに対応します。 たとえば、「 {"response_id": "{{item.resp_id}}"} 」のように入力します。
フィールド名は大文字と小文字が区別されます。
data_mapping: Record<string, string>
プロパティ値
Record<string, string>
max_num_turns
評価するチャット履歴のターンの最大数。
max_num_turns: number
プロパティ値
number
source
取得する応答識別子を含むインライン JSONL コンテンツ。
azure_ai_responsesデータソースはfile_contentのみをサポートしており、file_idを提供すると400 Bad Request応答が得られます。
source: EvalJsonlFileContentSource | EvalJsonlFileIdSource
プロパティ値
type
項目生成パラメーターの種類。常に response_retrieval。
type: "response_retrieval"
プロパティ値
"response_retrieval"