Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I start the wren-launcher-linux, I got the follow errors. #1186

Closed
wanglin728 opened this issue Jan 17, 2025 · 2 comments
Closed

when I start the wren-launcher-linux, I got the follow errors. #1186

wanglin728 opened this issue Jan 17, 2025 · 2 comments

Comments

@wanglin728
Copy link

ERROR: Traceback (most recent call last):
File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 693, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "/usr/local/lib/python3.12/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 133, in merged_lifespan
async with original_context(app) as maybe_original_state:
File "/usr/local/lib/python3.12/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/src/main.py", line 30, in lifespan
app.state.service_container = create_service_container(pipe_components, settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/globals.py", line 99, in create_service_container
"sql_pairs_retrieval": retrieval.SqlPairsRetrieval(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/pipelines/retrieval/sql_pairs_retrieval.py", line 112, in init
store = document_store_provider.get_store(dataset_name="sql_pairs")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/providers/document_store/qdrant.py", line 374, in get_store
return AsyncQdrantDocumentStore(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/providers/document_store/qdrant.py", line 161, in init
self.client.create_payload_index(
^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/document_store.py", line 280, in client
self._set_up_collection(
File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/document_store.py", line 916, in _set_up_collection
raise ValueError(msg)
ValueError: Collection 'sql_pairs' already exists in Qdrant, but it is configured with a vector size '768'. If you want to use that collection, but with a different vector size, please set recreate_collection=True argument.

ERROR: Application startup failed. Exiting.

@cyyeh
Copy link
Member

cyyeh commented Jan 17, 2025

@wanglin728 could you provide the config.yaml? thanks

@wanglin728
Copy link
Author

@wanglin728 could you provide the config.yaml? thanks

Thanks for reply. I removed the docker volume and restart the service, it started up successful.

@cyyeh cyyeh closed this as completed Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants