Skip to content

Qdrant client fails to initialize: Error initializing Qdrant clients: 'CelloFrge' #3

@yinyiyy

Description

@yinyiyy

Error initializing Qdrant clients: 'CelloFrge'

Steps to Reproduce

  1. Start Qdrant container:
docker run -p 6333:6333 qdrant/qdrant


Verify Qdrant is running:

curl http://localhost:6333/collections


Output:

{"result":{"collections":[]},"status":"ok","time":5.6e-6}


Run CellForge:

python main.py


Expected behavior
Qdrant client should connect and initialize the knowledge base, without failing.

Environment (please complete the following information):

CellForge version: 2.0

Python version: 3.9.23

OS: Windows 10 / WSL2

Qdrant version: latest Docker image

GPU/CPU: CUDA available

Additional context

The collection "test_collection" works fine when created manually via Python Qdrant client:

from qdrant_client import QdrantClient
from qdrant_client.models import VectorParams

client = QdrantClient(url="http://localhost:6333")
client.create_collection(
    collection_name="test_collection",
    vectors_config=VectorParams(size=768, distance="Cosine")
)
print(client.get_collections())  # works correctly


CellForge seems to still reference the default (and misspelled) collection "CelloFrge".

Changing "CelloFrge" to "cellforge" in the code did not solve the problem.

Question
Is there a way to configure CellForge to point to an existing collection instead of "CelloFrge"? Or is "CelloFrge" required internally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions