LangChain - RAG Chain Construction
Consider this Langchain code snippet:
If the first retrieved document's source is 'ml_intro.txt', what will be printed?
result = qa({'query': 'Define machine learning'})
print(result['source_documents'][0].metadata['source'])If the first retrieved document's source is 'ml_intro.txt', what will be printed?
