Closed dblinick closed 8 months ago
How are you using Weaviate? Their cloud hosted version or local version? I have just tested this using their cloud hosted version and cannot replicate this bug. Also which embedding provider are you using?
Hi Sean, I am using the locally hosted version (docker) - I don't have access to my machine at the moment to check the specific version, but will update this thread when i do. Embeddings are being done by ollama (nomic-embed-text) - work fine with lancedb - and as mentioned previously - i don't get any errors when the files embed.
EDIT Just looked at the weaviate docs - docker image i am using is: cr.weaviate.io/semitechnologies/weaviate:1.24.2
Trying to replicate:
docker pull cr.weaviate.io/semitechnologies/weaviate:1.24.2
image hash: 977512c2586faabebc30e6f7b59eec075d17fe135e48a74d32e4efbf250294bf
version: '3.4'
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.24.2
ports:
- 8080:8080
- 50051:50051
restart: on-failure:0
docker compose up -d
-> Weaviate is confirmed running at http://localhost:8080
docker pull mintplexlabs/anythingllm
image hash: 90884c31672a035c4a2c829eeae5c0988a65f54ee39aa99f762a46c80ae5267d
In AnythingLLM, Weaviate connection is input as http://host.docker.internal:8080
due to loopback in the container and Weaviate running on host network. No auth input.
Closing since we cannot replicate this bug.
Facing the same issue. Using AnythingLLM's Mac silicone version with OpenAI's embeddings and LLM and vector database by Weaviate both local and cloud deployments. The embeddings are successfully created I can see the number of objects as 1453 from the same file, on both local and cloud deployment.
Application worked with LanceDB as the vector database.
How are you running AnythingLLM?
Docker (local)
What happened?
Getting error when using Weaviate as vector store:
Storage of document is working (I can see it in the weaviate logs when I store a doc) - but it looks like whatever function is supposed to call weaviate is failing (I don't even see it connect on the weaviate side).
Here is the error from the docker logs:
anything-llm | TypeError: Cannot read properties of null (reading 'map') anything-llm | at Object.similarityResponse (/app/server/utils/vectorDbProviders/weaviate/index.js:93:45) anything-llm | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) anything-llm | at async Object.performSimilaritySearch (/app/server/utils/vectorDbProviders/weaviate/index.js:366:47) anything-llm | at async streamChatWithWorkspace (/app/server/utils/chats/stream.js:110:9) anything-llm | at async /app/server/endpoints/chat.js:84:9
Docker image was pulled today using :latest
Are there known steps to reproduce?
No response