Parameters
- __namedParameters: {
llm: LanguageModelLike;
prompt: BasePromptTemplate;
documentPrompt?: any;
documentSeparator?: string;
outputParser?: any;
}llm: LanguageModelLike
prompt: BasePromptTemplate
Optional
documentPrompt?: any
Optional
documentSeparator?: string
Optional
outputParser?: any
Returns Promise<any>
An LCEL Runnable
chain.
Expects a dictionary as input with a list of Document
s being passed under
the "context" key.
Return type depends on the output_parser
used.
Create a chain that passes a list of documents to a model.