LangChain - RAG Chain Construction
You wrote this code but get an error:
AttributeError: 'dict' object has no attribute 'metadata'. What is the likely cause?source = response['source_documents'][0].metadata['source']
