AI

Generate AI completions from content

Changed on

Creates AI-powered content summaries and completions based on provided prompts. Supports both streaming and non-streaming responses.

post/api/v1/ai/completions

Request

Request body */*

promptstring
searchLimitinteger
searchOffsetinteger
responseLengthTokensinteger
languageinteger
streamboolean
fieldVarstring
indexNamestring
contentTypestring[]
thresholdnumber float
temperaturenumber float
modelstring
operatorstring
sitestring
responseFormatobject

Response

Completion generated successfully

object required

Changes

    • info

      api tag AI added

    • info

      added the new optional request property

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status