LabeledPairwiseStringEvalChain()Return whether the chain requires an input.
Prompt object to use.
Language model to call.
Output parser to use.
Whether to return only the final parsed result.
Will be whatever keys the prompt expects.
Will always return text key.
Optional memory object.
Optional list of callback handlers (or callback manager).
Whether or not run in verbose mode. In verbose mode, some intermediate logs
Optional list of tags associated with the chain.
Optional metadata associated with the chain.
[DEPRECATED] Use callbacks instead.
Keys expected to be in the chain input.
Keys expected to be in the chain output.
Labeled Pairwise String Evaluation Chain.
A chain for comparing two outputs, such as the outputs of two models, prompts, or outputs of a single model on similar inputs, with labeled preferences.
Prepare prompts from inputs.
Set the chain verbosity.