Creating Custom Plugins
Custom plugins in ChatLabs allow you to extend the capabilities of your assistants by integrating external services.
Last updated
Custom plugins in ChatLabs allow you to extend the capabilities of your assistants by integrating external services.
Last updated
By adding custom plugins, you can pull in data from various APIs, automate workflows, and personalize your assistant's behavior for specific use cases.
Accessing the Plugins Menu: To create a custom plugin, navigate to the Plugins section from the left sidebar, and click on the Create button (looks like +). This will take you to the plugin creation form. And there, you may fill in the necessary details.
Plugin Creation Form Fields: When creating a new plugin, you will need to provide specific information about how the plugin should interact with the external service. Here are the key fields you will encounter:
Name: This is the Tool name you assign to the plugin. Choose a meaningful name that reflects the purpose or function of the plugin.
Description: This field is for the Tool description, where you briefly explain the plugin’s functionality and purpose. This description will be displayed under the plugin’s name in the menu.
Custom Headers:
If your API requires specific headers (e.g., for authentication or content types), you can specify them here. Headers should be written in JSON format. For example:
{"X-api-key": "1234567890"}
.
Schema: The schema defines the structure of the requests that the plugin will make to the external service. Here, you can specify the request format, including parameters, body, and expected response formats.
Saving and Using Your Plugin
After filling out all required fields, click Save. The newly created plugin will now appear in the Plugins Menu, where you can toggle it on or off as needed.
By creating custom plugins, you can greatly enhance your assistant's ability to connect to various services, making it more versatile and tailored to your specific needs. For further customization and advanced options, check out other parts of ChatLabs documentation.