VDB.INSERT
POST To insert vectors and metadata in the database
Request
- application/json
 
Body
- Array [
 - ]
 
op stringrequired
Default value: file.info
The operation
collection stringrequired
The database's collection
data object[]required
List of data to insert
content string
The content to insert.
content_type string
Possible values: [text, json, markdown, html]
The content type. Default to 'text'
filename string
A filename to help filter by
metadata object
Metadata
document_id string
A custom document id
source string
The source of the data
tags array
Tags associated to the data
options object
Options for embedding and processing
chunk_size integer
Default value: 500
The chunk size - Overrides
chunk_overlap integer
Default value: 40
Overlap between chunks - Overrides
Responses
- 200
 
- application/json
 
- Schema
 - Example (from schema)
 
Schema
data object[]
The response data.
{
  "data": [
    {}
  ]
}
Loading...