QuestionAnswer#
- class langchain.chains.openai_functions.citation_fuzzy_match.QuestionAnswer[source]#
Bases:
BaseModel
A question and its answer as a list of facts each one should have a source. each sentence contains a body and a list of sources.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param answer: List[FactWithEvidence] [Required]#
Body of the answer, each fact should be its separate object with a body and a list of sources
- param question: str [Required]#
Question that was asked