Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.46 KB

RecommendChunksRequest.md

File metadata and controls

28 lines (22 loc) · 1.46 KB

TrieveRubyClient::RecommendChunksRequest

Properties

Name Type Description Notes
filters ChunkFilter [optional]
limit Integer The number of chunks to return. This is the number of chunks which will be returned in the response. The default is 10. [optional]
negative_chunk_ids Array<String> The ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks. [optional]
negative_tracking_ids Array<String> The tracking_ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks. [optional]
positive_chunk_ids Array<String> The ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks. [optional]
positive_tracking_ids Array<String> The tracking_ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks. [optional]

Example

require 'trieve_ruby_client'

instance = TrieveRubyClient::RecommendChunksRequest.new(
  filters: null,
  limit: null,
  negative_chunk_ids: null,
  negative_tracking_ids: null,
  positive_chunk_ids: null,
  positive_tracking_ids: null
)