Skip to main content

Parameters

See plugin common configurations for configuration options available to all plugins.

  • templates

    array[object]

    required


    An array of templates.

    • name

      string

      required


      Name of the template. When requesting the route, the request should include the template name that corresponds to the configured template.

    • template

      object

      required


      Template specification.

      • model

        string


        Name of the LLM model, such as gpt-4 or gpt-3.5. See your LLM provider API documentation for more available models.

      • messages

        array[object]


        Template message specification.

        • role

          string

          required

          vaild vaule:

          system, user, or assistant


          Role of the message.

        • content

          string

          required


          Content of the message (prompt).