CallModelInputFilter
이 콘텐츠는 아직 번역되지 않았습니다.
type CallModelInputFilter<TContext> = (args) => | ModelInputData | Promise<ModelInputData> & object;Type Declaration
Section titled “Type Declaration”preserveInputIdentity?
Section titled “preserveInputIdentity?”optional preserveInputIdentity?: boolean;Preserve prepared input item identities by passing a shallow-copied array to the filter. The SDK does not freeze these items; enable this only when the filter and every helper it calls treat each input item and its nested values as immutable. Model and session inputs remain isolated copies after the filter returns.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|