Closed l4b4r4b4b4 closed 1 year ago
That sounds like an issue inside the Chroma SDK, maybe @jeffchuber might be able to help?
hmm I actually dont think so, since it generally has issues resolving the needed dependencies and I only fixed that by manually installing the dependencies into the root project. So I think the remaining problem with ChromaDB is still connected to that. Because Chroma takes the embeddings just fine now: Bildschirmaufzeichnung vom 06.04.2023, 13:50:47.webm
I will try to narrow down the problem by running outside docker container and and stripped down project. Maybe something will come out of that!
all good. there were two problems, both NOT connected to langchain!
I am running LangChain with Next.js 13 in a Docker container. While I am able to ingest PDFs from the project root outside Docker but into ChromaDB running in another Docker container, the whole process fails when I am trying to do that in a NextJS api route!
First it complained to not be able to load the needed dependencies (d3-dsv, mammoth, epub2, pupeteer, srt-parser-2, cohere-ai, @dqbd/tiktoken and hnswlib-node) now it actually does ingest the docs, connects to ChromaDB and loads them successfully, it still breaks off saying:
General Setup:
My API route:
package.json
Dockerfile: