Function searchAssistant

  • Perform search with either SIMPLE or FULL mode. SIMPLE does semantic search while FULL does semantic search, reranking and hybrid search. Use topN to control number of chunks in response, max limit is 50. Default to 5.

    Parameters

    • assistantId: string

      The ID for the Assistant of interest

    • body: SearchRequest

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<SearchAssistantHttpResponse>

    SearchAssistantHttpError