Insert a single document

  • When inserting the document you can optionally specify your own id for a document by using the field name "_id", if not specified a random id is assigned.
  • When inserting or specifying vectors in a document use the suffix (ends with) "_vector_" for the field name. e.g. "product_description_vector_".
  • When inserting or specifying chunks in a document the suffix (ends with) "_chunk_" for the field name. e.g. "products_chunk_".
  • When inserting or specifying chunk vectors in a document's chunks use the suffix (ends with) "_chunkvector_" for the field name. e.g. "productschunk.product_description_chunkvector_".
    For multiple document insert version of this request use /datasets/{dataset_id}/documents/bulk_insert.
Language
Click Try It! to start a request and see the response here!