The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix documents for RetrievalQAWithSourcesChain (#11292)
LeeJongBeom92683262f4a6
diff --git a/docs/snippets/modules/chains/popular/vector_db_qa_with_sources.mdx b/docs/snippets/modules/chains/popular/vector_db_qa_with_sources.mdxindex fbf77554db..99b9d1aadd 100644--- a/docs/snippets/modules/chains/popular/vector_db_qa_with_sources.mdx+++ b/docs/snippets/modules/chains/popular/vector_db_qa_with_sources.mdx@@ -41,7 +41,7 @@ result["source_documents"]</CodeOutputBlock>-Alternatively, if our document have a "source" metadata key, we can use the `RetrievalQAWithSourceChain` to cite our sources:+Alternatively, if our document have a "source" metadata key, we can use the `RetrievalQAWithSourcesChain` to cite our sources:```pythondocsearch = Chroma.from_texts(texts, embeddings, metadatas=[{"source": f"{i}-pl"} for i in range(len(texts))])