Complete the code to create a simple LCEL chain that chains a prompt with an LLM.
chain = [1] | llmLCEL uses the pipe operator | to chain runnables. Assuming prompt and llm are defined, the chain is prompt | llm.
Complete the code to create an LCEL chain that includes an output parser.
chain = prompt | llm | [1]A common LCEL chain is prompt | llm | parser, where parser is typically StrOutputParser().
Fix the code in the LCEL chain to correctly chain the prompt and llm using the pipe operator.
chain = prompt [1] llmLCEL chains runnables using the pipe operator |.
Fill both blanks to create an LCEL chain with prompt, llm, and parser using pipe operators.
chain = [1] | llm [2] parser
The full chain is prompt | llm | parser, using | operators and the prompt variable.
Fill all three blanks to create an LCEL chain: prompt piped to llm, piped to parser, with correct operators and names.
[1] [2] llm [3] parser
The chain is prompt | llm | parser.