<aside>
Welcome to the Copyl AI Gateway! This service allows you to integrate your own AI models or utilize preconfigured AI APIs (e.g., OpenAI, Hugging Face) directly within your integrations. You can call AI endpoints, register your own, and use them seamlessly in your Integrations and Action scripts.
</aside>
Copyl Brainstorm is a cloud-agnostic ML/AI service layer designed to integrate seamlessly with the Copyl Integration Platform (CIP). It enables advanced analytics, anomaly detection, trend forecasting, and intelligent automation based on sensor data, API logs, and business events.
Copyl Brainstorm helps organizations make faster, smarter, and more proactive decisions using their own data flows.
Brainstorm can be hosted fully by Copyl, distributed across multiple cloud providers, deployed as fog computing nodes closer to devices, or installed entirely on-premises behind your firewall.
Model | Description | Ideal For |
---|---|---|
Hosted | Fully managed by Copyl, including JobQueue and Neuron Agents | SaaS customers |
Distributed | JobQueue hosted by Copyl, Neuron Agents deployed on customer’s choice of AWS, Azure, or GCP | Hybrid cloud customers |
Fog Compute | Neuron Agents running on edge devices or private clouds | Industrial IoT, low-latency applications |
On-Premises | Entire Brainstorm stack deployed inside the customer's infrastructure | Highly regulated sectors (finance, healthcare, defense) |
Brainstorm’s architecture separates job coordination and model execution, enabling dynamic scaling and resilience even in network-constrained environments.
Brainstorm consists of key building blocks:
text-classification
sequence-classification
zero-shot-classification
summarization
token-classification
Your Integrations is having data from the Trigger that you want to transform with AI, or analyze it and send the result to another data storage.
Your Integration App for Contract Management always run an AI analysis on the uploaded contract to make sure it complies with all your policies.
Scripting Support in Integrations
You can start using predefined endpoints such as chatgpt
without additional setup.
Example JavaScript that you can add to your Integration or Action:
var prompt = "Summarize this text: The quick brown fox jumps over the lazy dog.";
var response = await callAI("chatgpt", JSON.stringify({
prompt: prompt,
max_tokens: 100
}));
log(response);
If you have your own AI model or service, you can register it for use in JINT scripts.
Send a POST request to the AI Gateway to register your endpoint.
Endpoint:
POST <https://api.copyl.com/**Brainstorm**/AIGateway/register>
Request Body:
{
"name": "myCustomAI",
"url": "<https://your-ai-service.com/api>"
}
Response:
{
"success": true,
"message": "Endpoint registered successfully."
}
After registering, you can use the endpoint in your Copyl Integration and Action scripts.
Example Script: