Interface Classifier

All Known Implementing Classes:
LlmClassifier

@Experimental public interface Classifier
A decision model that answers typed questions with probability distributions.

Unlike a BaseLlm, a classifier does not generate text, stream, or call tools. Implementations are stateless and safe for concurrent calls, so a request must include any context from earlier turns in its input.

  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Single<ClassifierResponse>
    Answers every question in request about its input, with one Answer under each question ID.
    Returns the provider's model name, such as "gemini-3.8-flash".