FactWithEvidence#
- class langchain.chains.openai_functions.citation_fuzzy_match.FactWithEvidence[source]#
Bases:
BaseModel
Class representing a single statement.
Each fact has a body and a list of sources. If there are multiple facts make sure to break them apart such that each one only uses a set of sources that are relevant to it.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- param fact: str [Required]#
Body of the sentence, as part of a response
- param substring_quote: List[str] [Required]#
Each source should be a direct quote from the context, as a substring of the original content