forClassification method
Configure for classification tasks
Implementation
GoogleLLMBuilder forClassification({int? dimensions}) {
embeddingTaskType('CLASSIFICATION');
if (dimensions != null) {
embeddingDimensions(dimensions);
}
return this;
}