Learn how to upload your chunks to Trieve
chunk_html
: This is the content that will be embedded and made searchable. You can pass HTML here, and our service will automatically clean it for the embeddings.group_ids
and group_tracking_ids
: These fields let you specify a group to associate the chunks with, useful for linking multiple chunks from one document.link
, location
, tag_set
, num_value
, and time_stamp
: These fields are indexed to enable fast filtering of chunks based on these attributes.metadata
: This field allows you to include any arbitrary metadata in the form of a JSON object with the chunk.link
, location
, tag_set
, num_value
and time_stamp
rather than the metadata field as there are dedicated indexes for these. The metadata has an index built on it, but it is only optimized for match queriestracking_id
: This field allows you to assign an arbitrary ID to the chunk, aiding in coordination with your database system. You can search for chunks using this ID.weight
: This field allows you to assign a weight to the chunks, which can influence the chunk’s ranking within search results. This is similar to merchandising features on other platforms.semantic_boost
and fulltext_boost
: These fields allow you to boost the relevance of the chunk in the search results, by aligning the chunk closer to a specified phrase. This is useful for ensuring that for longer chunks, you can manually specify the most important part of the chunk, and improve relevance for the query patterns of your users.chunk_html
is crucial for the quality of your search results. Here are some tips to help you create a good chunk_html
:
chunk_html
.chunk_html
, label each field with a header to help the model better embed the text and improve search quality.chunk_html
:
TR-Dataset
header with your dataset ID and the Authorization
header with your API key.