diff --git a/docs/docs/integrations/vectorstores/chroma.ipynb b/docs/docs/integrations/vectorstores/chroma.ipynb index 57968060e5..b03f8dba70 100644 --- a/docs/docs/integrations/vectorstores/chroma.ipynb +++ b/docs/docs/integrations/vectorstores/chroma.ipynb @@ -99,7 +99,7 @@ "vector_store = Chroma(\n", " collection_name=\"example_collection\",\n", " embedding_function=embeddings,\n", - " persist_directory=\"./chroma_langchain_db\", # Where to save data locally, remove if not neccesary\n", + " persist_directory=\"./chroma_langchain_db\", # Where to save data locally, remove if not necessary\n", ")" ] }, @@ -179,7 +179,7 @@ "from langchain_core.documents import Document\n", "\n", "document_1 = Document(\n", - " page_content=\"I had chocalate chip pancakes and scrambled eggs for breakfast this morning.\",\n", + " page_content=\"I had chocolate chip pancakes and scrambled eggs for breakfast this morning.\",\n", " metadata={\"source\": \"tweet\"},\n", " id=1,\n", ")\n", @@ -273,7 +273,7 @@ "outputs": [], "source": [ "updated_document_1 = Document(\n", - " page_content=\"I had chocalate chip pancakes and fried eggs for breakfast this morning.\",\n", + " page_content=\"I had chocolate chip pancakes and fried eggs for breakfast this morning.\",\n", " metadata={\"source\": \"tweet\"},\n", " id=1,\n", ")\n", @@ -287,7 +287,7 @@ "vector_store.update_document(document_id=uuids[0], document=updated_document_1)\n", "# You can also update multiple documents at once\n", "vector_store.update_documents(\n", - " ids=uuids[:2], documents=[updated_document_1, updated_document_1]\n", + " ids=uuids[:2], documents=[updated_document_1, updated_document_2]\n", ")" ] },