Comments (4)
How to reproduce error:
import qdrant_client
from qdrant_client.http import models
client = qdrant_client.QdrantClient("localhost", port=6333)
client.recreate_collection(
collection_name="test",
vectors_config=models.VectorParams(size=3, distance=models.Distance.COSINE),
)
client.upsert(collection_name="test" , points= [ models.PointStruct(
id = 2,
payload = {
"document_id" : "1234",
},
vector=[0.9 , 0.1 , 0.3],
) ] )
record = client.retrieve(collection_name="test" , ids=[2] , with_vector=True)
print(record)
Output: [Record(id=2, payload={'document_id': '1234'}, vector=None)]
from qdrant-client.
Hi, it is with_vectors
, not with_vector
, additional assert statements will be introduced in the next release to avoid such situations
from qdrant-client.
thanks for the clarification
from qdrant-client.
if I use the rest api to get the same point, I get the vector in the response
python version : 3.10.9
from qdrant-client.
Related Issues (20)
- Using Singleton Pattern with Qdrant Client in Python
- urllib3 = "^1.26.14" are there plans to migrate to urllib3 ~2.0 HOT 5
- Inconsistent python versions for grpc and async client generators HOT 2
- Filter by list's element in payload HOT 2
- create_payload_index fails on gRPC when field_schema is set HOT 2
- "The read operation timed out" HOT 5
- Question about QdrantLocal HOT 3
- embedding is None in query reponse HOT 2
- contextual search retrieval with vector metadata? HOT 7
- similarity search with threshold and grouping: no documentation available HOT 2
- add retry mechanism to migrate to avoid crashing due to a single timeout error
- local mode accepts nans in payload, while remote mode does not HOT 1
- Reason behind the python version cap? HOT 2
- Add custom shard key to upload_collection HOT 1
- Requests Timed out HOT 23
- Could you please simplify your filtering syntax? HOT 1
- resolve a misleading comment in method query_embed HOT 3
- upload_records() calls in _migrate_collection() should use wait=True HOT 2
- grpc error when searching using langchain HOT 4
- HasIdCondition filter not applying HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qdrant-client.