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


        required


        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[string]


        required


        Template message specification.

        • role

          string


          required


          Role of the message, such as system, user, or assistant.

        • content

          string


          required


          Content of the message (prompt).


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation