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

Insert command changes to support vector search #456

Closed
maheshrajamani opened this issue Jul 10, 2023 · 0 comments · Fixed by #469
Closed

Insert command changes to support vector search #456

maheshrajamani opened this issue Jul 10, 2023 · 0 comments · Fixed by #469
Assignees

Comments

@maheshrajamani
Copy link
Contributor

maheshrajamani commented Jul 10, 2023

The documents will use the field name as “$vector” to pass the embedding vector (array of floats).
Insert operations will be changed to add the vector values into query_vector_value if present.

API: /v1/{namespace}/{collection}   
Command: InsertOne
{
  "insertOne": {
    "document": {
      "_id": "doc3",
      "username": "user3",
      "text" : "Welcome to vector search",
      "$vector" : [0.0122,0.2344,....]
    }
   }
}

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

Successfully merging a pull request may close this issue.

1 participant