Skip to content

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

@reeshabh90

Description

@reeshabh90

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions