tonykipkemboi / ollama_pdf_rag

A demo Jupyter Notebook showcasing a simple local RAG (Retrieval Augmented Generation) pipeline to chat with your PDFs.
MIT License
180 stars 85 forks source link

Chroma.from_documents error #8

Closed ImAbhishekTomar closed 2 months ago

ImAbhishekTomar commented 3 months ago

Add to vector database

vector_db = Chroma.from_documents( documents=chunks, embedding=OllamaEmbeddings(model="nomic-embed-text", show_progress=True), collection_name="local-rag" )

EROR: ValueError: Error raised by inference API HTTP code: 500, {"error":"[0] server cpu not listed in available servers map[]"}

tonykipkemboi commented 3 months ago

Hi @ImAbhishekTomar, I realized I had not updated the modules in requirements.txt...so please try cloning the repo again and rerunning install.