Parameters
- 
__namedParameters: { 
    llm: LanguageModelLike; 
    prompt: BasePromptTemplate<any, BasePromptValueInterface, any>; 
    documentPrompt?: BasePromptTemplate<any, BasePromptValueInterface, any>; 
    documentSeparator?: string; 
    outputParser?: BaseOutputParser<RunOutput>; 
}
- 
llm: LanguageModelLike
 
- 
prompt: BasePromptTemplate<any, BasePromptValueInterface, any>
 
- 
Optional documentPrompt?: BasePromptTemplate<any, BasePromptValueInterface, any>
 
- 
Optional documentSeparator?: string
 
- 
Optional outputParser?: BaseOutputParser<RunOutput>
 
 
 
Returns Promise<RunnableSequence<Record<string, unknown>, Exclude<RunOutput, Error>>>
An LCEL Runnable chain.
   Expects a dictionary as input with a list of Documents 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.