-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I defined 2 custom vector in collcection, for example:
image and msg
When i try to find the vector in msg, i get error Bad Request.
This is how the code looks:
First i defined the settings vector:
await client.createCollection(collectionName, {
vectors: {
msg:{
size: 384,
distance: 'Cosine',
},
size: 4,
distance: 'Cosine',
},
optimizers_config: {
default_segment_number: 2,
},
replication_factor: 2,
});
Then i tried to search:
const res1 = await client.search(collectionName, {
vector: { "vector": { "vector": [1.0, 2.0, 3.0], "name": "msg" } },
limit: 3,
});
anh
Metadata
Metadata
Assignees
Labels
No labels