Llm Proposition Extractor
Parameters
LLM configuration
AI service for LLM calls
Template name for proposition extraction. Unless the TemplateResolver in use has been customized, this will be the path to a Jinja template under /src/main/resources/prompts. The templates should expect an object of type TemplateModel as input with name "model". The default is "dice/extract_propositions". Users can override this or use it as an example for a custom template.
Optional list of examples for few-shot prompting.
Configuration for how strictly to adhere to the schema for entities and predicates.
Number of existing propositions to show in the prompt.
Optional repository to fetch existing propositions from. When provided, existing propositions for the context will be included in the prompt to help the LLM avoid duplicates and maintain consistency.
Controls whose perspective propositions are extracted from. See ExtractionPerspective.