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[]>