The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Update README and vectorstore path for multi-modal template (#14473)
Lance Martin6fbfc375b9c4
diff --git a/templates/rag-chroma-multi-modal/README.md b/templates/rag-chroma-multi-modal/README.mdindex 55aea72b9a..e6226afe10 100644--- a/templates/rag-chroma-multi-modal/README.md+++ b/templates/rag-chroma-multi-modal/README.md@@ -69,9 +69,9 @@ langchain app add rag-chroma-multi-modalAnd add the following code to your `server.py` file:```python-from rag_chroma import chain as rag_chroma_chain+from rag_chroma_multi_modal import chain as rag_chroma_multi_modal_chain-add_routes(app, rag_chroma_chain, path="/rag-chroma-multi-modal")+add_routes(app, rag_chroma_multi_modal_chain, path="/rag-chroma-multi-modal")```(Optional) Let's now configure LangSmith.diff --git a/templates/rag-chroma-multi-modal/rag_chroma_multi_modal/chain.py b/templates/rag-chroma-multi-modal/rag_chroma_multi_modal/chain.pyindex e5faf6cfb6..2cd83b743f 100644--- a/templates/rag-chroma-multi-modal/rag_chroma_multi_modal/chain.py+++ b/templates/rag-chroma-multi-modal/rag_chroma_multi_modal/chain.py@@ -101,7 +101,7 @@ def multi_modal_rag_chain(retriever):# Load chromavectorstore_mmembd = Chroma(collection_name="multi-modal-rag",- persist_directory=str(Path(__file__).parent / "chroma_db_multi_modal"),+ persist_directory=str(Path(__file__).parent.parent / "chroma_db_multi_modal"),embedding_function=OpenCLIPEmbeddings(model_name="ViT-H-14", checkpoint="laion2b_s32b_b79k"),