SuggestedQueriesReqPayload: {
    context?: string | null;
    filters?: ChunkFilter | null;
    query?: string | null;
    search_type?: SearchMethod | null;
    suggestion_type?: SuggestType | null;
}

Type declaration

  • Optionalcontext?: string | null

    Context is the context of the query. This can be any string under 15 words and 200 characters. The context will be used to generate the suggested queries. Defaults to None.

  • Optionalfilters?: ChunkFilter | null
  • Optionalquery?: string | null

    The query to base the generated suggested queries off of using RAG. A hybrid search for 10 chunks from your dataset using this query will be performed and the context of the chunks will be used to generate the suggested queries.

  • Optionalsearch_type?: SearchMethod | null
  • Optionalsuggestion_type?: SuggestType | null