Skip to main content

Classes

PropositionList

A Pydantic model to ensure the LLM returns a list of propositions.

Parameters

ParameterTypeDefaultDescription
propositionsList[str]-A list of simple, self-contained factual statements extracted from the source text

Topic

Represents a single, emergent topic with its assigned propositions.

Parameters

ParameterTypeDefaultDescription
topic_idint-A unique integer ID for this topic
propositionsList[str]-A list of the propositions that belong to this topic

TopicAssignmentList

The structure for the LLM’s response during the batch clustering stage.

Parameters

ParameterTypeDefaultDescription
topicsList[Topic]-A list of all identified topics, each containing its assigned propositions

RefinedTopic

The final, refined metadata for a completed chunk.

Parameters

ParameterTypeDefaultDescription
titlestr-A concise, human-readable title for the topic cluster (e.g., ‘Candidate Skills and Experience’)
summarystr-A one-sentence summary that encapsulates the core information of all propositions in the cluster
I