Skip to content

Commit

Permalink
Adjust the tutorial to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperlukawski committed Dec 3, 2024
1 parent 5dcc062 commit f983732
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ A decorated client slightly modifies the original API, so you can pass the `resp
of Qdrant filters, it should be a `Filter` model:

```python
from qdrant_client import models

qdrant_filter = anthropic_client.messages.create(
model="claude-3-5-sonnet-latest",
response_model=models.Filter,
Expand Down Expand Up @@ -136,7 +138,7 @@ to automatically determine the fields that can be used for filtering. Here is ho
from qdrant_client import QdrantClient

client = QdrantClient("http://localhost:6333")
collection_info = client.get_collection_info(collection_name="my_collection")
collection_info = client.get_collection_(collection_name="test_filter")
indexes = collection_info.payload_schema
print(indexes)
```
Expand Down

0 comments on commit f983732

Please sign in to comment.