Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
reeshabh90 opened this issue Jun 30, 2023 · 0 comments

Comments

@reeshabh90
Copy link

reeshabh90 commented Jun 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant