weaviate / Verba

Retrieval Augmented Generation (RAG) chatbot powered by Weaviate
BSD 3-Clause "New" or "Revised" License
6.09k stars 652 forks source link

using Docker in the welcome page #286

Open kmashal opened 2 weeks ago

kmashal commented 2 weeks ago

Description

when I try to use Docker in the welcome page after I locally deployed my verba using docker I get this error : Failed to connect to Weaviate Collection may not have been created properly.! Unexpected status code: 422, with response body: {'error': [{'message': 'class already exists: found similar class "VERBA_Config"'}]}.

Installation

If you installed via pip, please specify the version:

Weaviate Deployment

Configuration

Reader: Chunker: Embedder: Retriever: Generator:

Steps to Reproduce

I just downloaded all files and build my docker using the commands below:

git clone https://github.com/weaviate/Verba

docker compose --env-file up -d --build

Additional context

I am on Mac Apple M1 Max , local link is the only thing working for me on the welcome page

thomashacker commented 2 weeks ago

Thanks for the issue! It's happening because the v2 Verba is trying to create a new collection called VERBA_Config, if you used v1 before, the old VERBA_Config is already existing, but the v2 can't recognize it because we're using the UUID as ID. We'll add a fix to that to automatically detect these cases, as workaround you can delete the collection manually or remove the whole weaviate cluster itself and rebuild it

kmashal commented 2 weeks ago

where do I look on a Mac for the collection so I can delete them ?

thomashacker commented 1 week ago

If you're using Verba with Weaviate Embedded, the data should be located ~/.local/share/weaviate If you're using Verba with a Weaviate Cluster you can use Collection interface to individually edit your data there as well

kmashal commented 1 week ago

If you're using Verba with Weaviate Embedded, the data should be located ~/.local/share/weaviate If you're using Verba with a Weaviate Cluster you can use Collection interface to individually edit your data there as well

I deleted all things under share and still see this issue with the same error : Failed to connect to Weaviate Collection may not have been created properly.! Unexpected status code: 422, with response body: {'error': [{'message': 'class already exists: found similar class "VERBA_Config"'}]}.

thomashacker commented 1 week ago

Are you using Weaviate Embedded or a Cluster?