Skip to Content

classifyWeatherBatch

classifyWeatherBatch(prompts: string[], options: WeatherClassifierOptions): Promise<WeatherClassification[]>

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

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

Parameters

ParameterType

prompts

string[]

options

WeatherClassifierOptions

Returns

Promise<WeatherClassification[]>

Last updated on