CountChunksReqPayload: {
    filters?: ChunkFilter | null;
    limit?: number | null;
    query: QueryTypes;
    score_threshold?: number | null;
    search_type: CountSearchMethod;
    use_quote_negated_terms?: boolean | null;
}

Type declaration

  • Optionalfilters?: ChunkFilter | null
  • Optionallimit?: number | null

    Set limit to restrict the maximum number of chunks to count. This is useful for when you want to reduce the latency of the count operation. By default the limit will be the number of chunks in the dataset.

  • query: QueryTypes
  • Optionalscore_threshold?: number | null

    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.

  • search_type: CountSearchMethod
  • Optionaluse_quote_negated_terms?: boolean | null

    If true, quoted and - prefixed words will be parsed from the queries and used as required and negated words respectively. Default is false.