Skip to content

Commit 6ba3c71

Browse files
doc_fix_chroma_integration (langchain-ai#26565)
Thank you for contributing to LangChain! - [x] **PR title**: "package: description" docs:integrations:vectorstores:chroma:fix_typo - [x] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** fix_typo in docs:integrations:vectorstores:chroma https://python.langchain.com/docs/integrations/vectorstores/chroma/ - **Issue:** langchain-ai#26561 - [ ] **Add tests and docs**: If you're adding a new integration, please include 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/docs/integrations` directory. - [ ] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
1 parent d8952b8 commit 6ba3c71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/docs/integrations/vectorstores/chroma.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"vector_store = Chroma(\n",
100100
" collection_name=\"example_collection\",\n",
101101
" embedding_function=embeddings,\n",
102-
" persist_directory=\"./chroma_langchain_db\", # Where to save data locally, remove if not neccesary\n",
102+
" persist_directory=\"./chroma_langchain_db\", # Where to save data locally, remove if not necessary\n",
103103
")"
104104
]
105105
},
@@ -179,7 +179,7 @@
179179
"from langchain_core.documents import Document\n",
180180
"\n",
181181
"document_1 = Document(\n",
182-
" page_content=\"I had chocalate chip pancakes and scrambled eggs for breakfast this morning.\",\n",
182+
" page_content=\"I had chocolate chip pancakes and scrambled eggs for breakfast this morning.\",\n",
183183
" metadata={\"source\": \"tweet\"},\n",
184184
" id=1,\n",
185185
")\n",
@@ -273,7 +273,7 @@
273273
"outputs": [],
274274
"source": [
275275
"updated_document_1 = Document(\n",
276-
" page_content=\"I had chocalate chip pancakes and fried eggs for breakfast this morning.\",\n",
276+
" page_content=\"I had chocolate chip pancakes and fried eggs for breakfast this morning.\",\n",
277277
" metadata={\"source\": \"tweet\"},\n",
278278
" id=1,\n",
279279
")\n",
@@ -287,7 +287,7 @@
287287
"vector_store.update_document(document_id=uuids[0], document=updated_document_1)\n",
288288
"# You can also update multiple documents at once\n",
289289
"vector_store.update_documents(\n",
290-
" ids=uuids[:2], documents=[updated_document_1, updated_document_1]\n",
290+
" ids=uuids[:2], documents=[updated_document_1, updated_document_2]\n",
291291
")"
292292
]
293293
},

0 commit comments

Comments
 (0)