We’re excited to announce a major upgrade to our platform! Our customers can now seamlessly integrate AI capabilities, including ChatGPT, Hugging Face, and their own local models or custom AI endpoints, directly into their API endpoints, database queries, and integrations.
This enhancement allows you to embed advanced AI-driven insights into your workflows, enabling data transformation, enrichment, and analytics at every step. Whether you’re leveraging pre-trained AI models like ChatGPT or deploying your own AI solutions, our platform gives you the tools to harness the full potential of artificial intelligence.
How Does It Work?
Our platform already supports Pre- and Post Scripts for actions and integration steps. This is where the magic happens. You can now enhance these scripts with AI calls to:
- Analyze data from an API endpoint
- Enrich database query results
- Predict outcomes using custom AI models
- Transform or validate data before it moves to the next step
Let’s explore how these capabilities work in practice.
Prebuilt AI: ChatGPT and Hugging Face Integration
With prebuilt AI endpoints like ChatGPT and Hugging Face models, integrating intelligence into your workflows is effortless.
Example: Analyzing API Data with ChatGPT
Imagine you’re working with log data from a monitoring API. Using a Post Script, you can send the log data to ChatGPT for analysis and retrieve actionable insights.
var logData = await httpGet("https://api.example.com/logs", "{\"Headers\":{\"Authorization\":\"Bearer token\"}}");
var insights = await callAI("chatgpt", JSON.stringify({
"prompt": "Analyze the following log data for patterns and anomalies:\n" + logData,
"max_tokens": 200
}));
log(insights);
This approach allows you to integrate powerful natural language processing (NLP) capabilities into your existing workflows without additional infrastructure.
Bring Your Own AI: Local Models and Customer Endpoints
For customers who have their own AI models or endpoints, the platform offers the flexibility to register and use them seamlessly.
Example: Using a Local Sentiment Analysis Model
Suppose you have a TensorFlow model running on your hardware. You can register this model as a custom AI endpoint and use it in a Pre Script:
registerAIEndpoint("localSentiment", {
"url": "http://localhost:5000/predict",
"headers": { "Authorization": "Bearer yourToken" }
});
var inputData = { "text": "This new feature is amazing!" };
var sentiment = await callAI("localSentiment", JSON.stringify(inputData));
log("Sentiment: " + sentiment);
This feature is perfect for customers who need to keep sensitive data on-premise or have proprietary models tailored to their business needs.
Relevant Use Cases
The possibilities with AI in your integrations are limitless, but here are some practical examples to get you started:
1. Data Analytics from an API Endpoint
Transform raw data into actionable insights. For instance, fetch customer feedback from an endpoint, analyze sentiment using ChatGPT, and log key trends for your team.
2. Enrich Database Query Results
Run a query to retrieve customer data, then use Hugging Face models to summarize key information or predict customer churn likelihood.
3. Automate Decision-Making
Integrate AI-powered decision-making into your workflows. For example, based on product inventory levels retrieved from an API, use AI to determine optimal reordering quantities.
4. Predictive Maintenance
Monitor sensor data from IoT devices, send it to an AI model for anomaly detection, and automatically trigger alerts or actions in response.
Why This Matters
Integrating AI into your workflows enables you to:
- Reduce Manual Effort: Automate data analysis, validation, and decision-making.
- Enhance Insights: Extract deeper insights from your data with pre-trained and custom AI models.
- Stay Competitive: Leverage cutting-edge AI technologies to optimize operations and improve customer experiences.
By empowering you to combine AI with your API endpoints, database queries, and integrations, our platform brings the next level of intelligence to your business processes.
Get Started Today
Adding AI to your integrations is simple. Whether you’re leveraging ChatGPT, Hugging Face, or your own AI models, you can start today by configuring Pre- and Post Scripts in your workflows.
Check out our documentation for step-by-step guides or contact our support team for assistance.
The Future of Integration is Here
This is just the beginning. We’re committed to continually enhancing our platform with more AI capabilities, improved scalability, and new features to help you achieve your goals.
We can’t wait to see how you use these new capabilities to transform your workflows. Try it out and let us know what you think!
Have questions or want to learn more? Drop us a message or explore our blog for more insights.