Skip to Content
Anuma SDKReactInternalFunctionsclassifyWebSearchBatch

classifyWebSearchBatch

classifyWebSearchBatch(prompts: string[], options: WebSearchClassifierOptions): Promise<WebSearchClassification[]>

Defined in: src/lib/chat/webSearchClassifier.ts:57 

Batch-classify multiple prompts. Embeds all prompts in one batch call for efficiency.

Parameters

ParameterType

prompts

string[]

options

WebSearchClassifierOptions

Returns

Promise<WebSearchClassification[]>

Last updated on