Provides API endpoint related to summarize
Summary
Functions
Summarize documents
Functions
@spec summarize(body :: Gleanex.Client.SummarizeRequest.t(), opts :: keyword()) :: {:ok, Gleanex.Client.SummarizeResponse.t()} | {:error, Gleanex.Error.t()}
Summarize documents
Generate an AI summary of the requested documents.
Options
locale: The client's preferred locale in rfc5646 format (e.g.en,ja,pt-BR). If omitted, theAccept-Languagewill be used. If not present or not supported, defaults to the closest match oren.
Request Body
Content Types: application/json
Includes request params such as the query and specs of the documents to summarize.