Ability Templates
Ability templates define the core capabilities and behaviors of your AI assistant. Here's a comprehensive list of available templates in the ChatBotKit SDK.
Ability Categories
Data Access and Management
Category | Abilities | Description |
---|---|---|
File Operations | file/read, file/write, file/append | Basic file handling capabilities |
Dataset Operations | dataset/search | Search and filter dataset content |
Web Access | fetch/text/get, fetch/api/get, fetch/api/post | Web page and API interaction |
External Services Integration
Category | Abilities | Description |
---|---|---|
Google Workspace | google/calendar/, google/mail/, google/docs/* | Google services integration |
CRM Systems | hubspot/, zendesk/, freshdesk/* | Customer relationship management tools |
E-commerce | shopify/, woocommerce/, magento/* | Online store management |
Communication and Messaging
Category | Abilities | Description |
---|---|---|
email/send, sendgrid/email/send | Email sending capabilities | |
Chat Platforms | slack/message, discord/message/send | Integration with chat services |
SMS | twilio/sms, vonage/sms/send | Text message sending capabilities |
AI and Content Generation
Category | Abilities | Description |
---|---|---|
Text Generation | text/generate, text/article/generate, text/email/generate | AI-powered text creation |
Image Generation | image/generate, image/dalle3/generate, image/stablediffusion/generate | AI image creation tools |
Content Processing | text/summarize, text/translate, view/describe | Content analysis and transformation |
Search and Research
Category | Abilities | Description |
---|---|---|
Web Search | search/web, search/news, search/images | Internet search capabilities |
Professional Search | linkedin/person/search, linkedin/company/search | Professional network search |
Academic Search | serpapi/scholar/search, wikipedia/summary | Academic and knowledge search |
Implementation Example
Each template can be enabled or disabled based on your specific requirements. Configure multiple templates to create sophisticated agent flows and behaviors.
await cbk.conversation.complete(null { inlineSkillset: { abilities: [ { name: 'Fetch Webpage', description: 'Fetch a webpage', instruction: `template: fetch/text/get`, }, ], }, })
javascript
List Templates
You can list all available ability templates using the platform API:
const templates = await cbk.platform.ability.list() console.log(templates) // Example output: [ { name: 'fetch/text/get', description: 'Fetch webpage content', parameters: {...} }, { name: 'search/web', description: 'Search the web', parameters: {...} }, // ... more templates ]
javascript
This will return an array of all ability templates available in your account, including their names, descriptions, and required parameters.
Note: Template availability may vary depending on your SDK version and subscription tier. Refer to the official documentation for the most up-to-date information.