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

asking if collection exists and collection name with "/" #807

Open
ybenitezf opened this issue Oct 9, 2024 · 0 comments
Open

asking if collection exists and collection name with "/" #807

ybenitezf opened this issue Oct 9, 2024 · 0 comments

Comments

@ybenitezf
Copy link

ybenitezf commented Oct 9, 2024

Asking for to the client for a collection name with includes "/" in the name raises UnexpectedResponse. Can this be validated in the client site before calling the remote qdrant server ?

for example:

qdrant_client  = QdrantClient(url="http://localhost:6333")
qdrant_client.collection_exists(
    collection_name="example/collection1"
)

With make sense, since this implies a call to a remote API like "GET http://localhost:6333/collections/example/collection1/exists" with do not exists .. maybe it make sense to validate collection_name before calling the remote API. Or use some type of encoding to avoid this

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

1 participant