Optional
concat_Optional
context_Optional
filters?: ChunkFilter | nullOptional
highlight_Optional
llm_The content of the user message to attach to the topic and then generate an assistant message in response to.
Optional
no_No result message for when there are no chunks found above the score threshold.
Optional
page_Page size is the number of chunks to fetch during RAG. If 0, then no search will be performed. If specified, this will override the N retrievals to include in the dataset configuration. Default is None.
Optional
score_Set score_threshold to a float to filter out chunks with a score below the threshold. This threshold applies before weight and bias modifications. If not specified, this defaults to 0.0.
Optional
search_Query is the search query. This can be any string. The search_query will be used to create a dense embedding vector and/or sparse vector which will be used to find the result set. If not specified, will default to the last user message or HyDE if HyDE is enabled in the dataset configuration. Default is None.
Optional
search_Optional
sort_The ID of the topic to attach the message to.
Optional
use_If use_group_search is set to true, the search will be conducted using the search_over_groups
api. If not specified, this defaults to false.
Optional
user_The user_id is the id of the user who is making the request. This is used to track user interactions with the RAG results.
If concat user messages query is set to true, all of the user messages in the topic will be concatenated together and used as the search query. If not specified, this defaults to false. Default is false.