Llm Proposition Contraster
data class LlmPropositionContraster(llmOptions: <Error class: unknown class>, ai: <Error class: unknown class>) : PropositionContraster
LLM-based implementation of PropositionContraster.
Uses structured output to identify and articulate differences between two groups of propositions.
Example usage:
val contraster = LlmPropositionContraster
.withLlm(llmOptions)
.withAi(ai)
val aliceGroup = PropositionGroup("Alice", aliceProps)
val bobGroup = PropositionGroup("Bob", bobProps)
val differences = contraster.contrast(aliceGroup, bobGroup)Content copied to clipboard
Constructors
Functions
Link copied to clipboard
open override fun contrast(groupA: PropositionGroup, groupB: PropositionGroup, targetCount: Int): List<Proposition>
Identify differences between two groups of propositions.