with Classify Llm
Set a separate LLM for classification calls. Classification is a structured categorization task (pick from 5 labels) that can use a cheaper/faster model than extraction without loss of quality.
Example:
val reviser = LlmPropositionReviser
.withLlm(LlmOptions("gpt-4o")) // extraction model
.withAi(ai)
.withClassifyLlm(LlmOptions("gpt-4o-mini")) // cheaper for classificationContent copied to clipboard