SessionInputCallback
このコンテンツはまだ日本語訳がありません。
type SessionInputCallback = (historyItems, newItems) => | AgentInputItem[]| Promise<AgentInputItem[]>;A function that combines session history with new input items before the model call.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”| AgentInputItem[]
| Promise<AgentInputItem[]>