Customizing Your AI Assistant
Learn how to tailor your AI assistant to best serve your needs.
Basic Customization
- Navigate to your assistant's settings page
- Adjust the assistant's name, description, and basic parameters
- Configure the initial message your agent will send to users
- Add preconfigured responses for quick user interaction
- Save your changes
Knowledge Base
- In the assistant dashboard, locate the knowledge base section
- Upload relevant documents or data to expand your assistant's knowledge
- Organize and manage the uploaded information as needed
- Your assistant will automatically reference this information when answering questions
Email Collection
You can configure your assistant to collect user email addresses:
- Enable the email collection feature in your agent's settings
- Choose when to collect emails:
- At the beginning of the conversation
- At the end of the conversation
- The assistant will naturally ask for the user's email at the specified time
Custom API Functions
Your assistant can now make calls to external APIs:
- In the Custom API Functions section, click "Add API Function"
- Configure your API endpoint:
- Function Name: A unique identifier for the API (e.g., "get_weather")
- Description: Explain what the API does
- Endpoint URL: The API endpoint (e.g., "https://api.weather.com/current/{city}")
- Parameters: Define the parameters your API accepts in JSON Schema format
Example parameters for a weather API:
{
"city": {
"type": "string",
"description": "The city to get weather for",
"required": true
}
}
The assistant will automatically use these APIs when relevant to the conversation.
Behavior Configuration
- Define the assistant's personality and tone
- Specify how it should handle different types of queries
- Configure response formats and styles
- Set up any restrictions or limitations
- Test the changes to ensure they meet your requirements
Tools and Capabilities
Your assistant can use several built-in tools:
- Code Interpreter: For handling programming-related queries
- File Search: To search through uploaded knowledge base
- Email Collection: For gathering user email addresses
- Custom API Functions: For making external API calls
Enable or disable these tools based on your needs.
Integration Options
You can integrate your AI assistant into your website using our embeddable chat widget:
- In your agent's settings, find the "Show Embed Code" button
- Click the button to reveal the embed code
- Copy the provided JavaScript snippet
- Paste the snippet into your website's HTML, just before the closing </body> tag
The embed code will look similar to this:
<script src="https://app.agnt.one/embed.js"></script>
<script>
window.onload = function () {
window.chatWidgetConfig = {
url: "https://your-site-subdomain.agnt.one",
id: "your-agent-id",
};
};
</script>
Testing and Refinement
- Use the Preview feature to test your assistant's behavior
- Monitor conversations to ensure proper functioning
- Adjust settings based on actual usage patterns
- Regularly update the knowledge base and API configurations as needed
Best Practices
- Keep API endpoints public and authentication-free for best compatibility
- Use clear, descriptive names for custom API functions
- Provide detailed descriptions for API parameters
- Test API integrations thoroughly before deployment
- Regularly review and update custom API configurations
For more detailed information or assistance, please contact our support team.