langchain_ai21.contextual_answers.ContextualAnswerInput

class langchain_ai21.contextual_answers.ContextualAnswerInput[source]

ContextualAnswers可运行对象的输入。

context: Union[str, List[Union[Document, str]]]
question: str