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
- 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. - Submit Input Text: Provide the content of the customer’s inquiry, including key details like the
subject,body, andmetadata. Thesubjectandmetadataare optional, but adding them can help provide more context for generating a better response. - Generate Response: Submit the request via the generation endpoint, and receive a generated response based on the template and input data.