Inserting documents

  • 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_".

Try to keep each batch of documents to insert under 200mb to avoid the insert timing out. For single document insert version of this request use /datasets/{dataset_id}/documents/insert.

Recipes
🔍
Upload documents to a dataset
Open Recipe
Language
Response
Click Try It! to start a request and see the response here!