Skip to main content

Generation API

Generation is a feature of the Agent Assist API. This functionality allows you to generate automated responses to customer inquiries based on predefined templates and relevant sources.

How It Works

  1. Create Templates (Optional): Define templates that will structure your automated responses. These templates can include dynamic placeholders, such as [Nom du Client] or [Adresse], which will be replaced with data provided in the request. Templates are optional; if not provided, the system will generate a more flexible response without a predefined structure.
  2. Submit Input Text: Provide the content of the customer’s inquiry, including key details like the subject, body, and metadata. The subject and metadata are optional, but adding them can help provide more context for generating a better response.
  3. Generate Response: Submit the request via the generation endpoint, and receive a generated response based on the template and input data.

Continue to explore