Hello,
Any chance of pointing in the right direction for the lab assessment on [Building RAG Agents with LLMs]?
Basic chat and generation are working but I am stuck on retrieval.
context_getter = itemgetter(‘input’) | docstore.as_retriever() | long_reorder | docs2str
retrieval_chain = {‘input’ : (lambda x: x)} | RunnableAssign({‘context’ : context_getter})
add_routes(app,retrieval_chain,path=“/retriever”,)