grumpyp / grumpyp/chroma-langchain-tutorial

The API deployment for this resource does not exist. + ChromaDB + VectorStore + langChain

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
177
Forks
34
PR merge metrics
No merged PRs in 30d

Description

I try to use Chroma from Vector stores in following way, after installing chromadb.
```
loader = PyPDFLoader("data/Diabetes.pdf")
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
docs = text_splitter.split_documents(documents)
db = Chroma.from_documents(docs, OpenAIEmbeddings())
```
NOTE: I am using Windows machine, installed chromadb via pip, and chromadb client is working. I am able to create collections.
I get following error:
![image](https://github.com/grumpyp/chroma-langchain-tutorial/assets/22501665/2caef1c3-d417-467f-a2a5-2fd464af0454)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.