Learn how to recommend content with Trieve
average_vector
: Averages the vectors of the positive examples and finds the most similar chunks.
best_score
: Finds chunks that are most similar to any of the positive examples provided.
positive_examples
and positive_tracking_ids
: Provide the IDs of chunks of which similar ones will be recommended.negative_examples
and negative_tracking_ids
: Provide the IDs of chunks of which dissimilar ones will be avoided.recommendation_type
: Can be either semantic
or fulltext
.
strategy
: Can be either average_vector
or best_score
.slim_chunks
: Reduces the size of the returned chunks by excluding unnecessary fields.filters
: Apply filters to get exactly the results you want.