Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Downloads
Platforms
OutSystems.com
My Platform
Community
Resources
Support
Search in OutSystems
Log in
Sign Up
Community
›
Forge
›
Assets list
›
INDIGO AI Agent framework for O11
INDIGO AI Agent framework for O11
Stable version
1.0.1
(Compatible with
OutSystems 11
)
Uploaded
on
22 November 2024
by
5.0
(1 rating)
Overview
Reviews
Versions
Documentation
Support
INDIGO AI Agent framework for O11
Documentation
1.0.0
Draft
Installation
Install
the dependencies
ardohttp
1.2.5
binarydata-client-side
1.0.0
json-pretty-format-reactive
1.0.8
multipart-form-data
4.0.2
outsystems-ui
2.18.2
sleep
2.0.5
Publish
the solution
If needed, refresh references in the solution & republish
Grant
the
AI_Agents_Admin role
to the users that need administrative access to the AI Agent Framework.
How to use AI Agents in your code
1. Add your API Key
Go to APIKeys and create your API Key and give it a name that represents which cost center it is associated to.
This API Key is the one that will be charged for all the usage of Agents associated with it.
2. Configure the Models you want to use
Models are the different AI "brains" LLMs providers make available to be used in our requests and these will vary in capabilities but also in cost.
You should select the correct one for your use case
AI model documentation
here
and the pricing
here
3. Create the Agent
Configure your Agent with all the needed data and select which API Key(s) it will use and create Internal Keys associated with these API Keys. Internal Keys are the one you will need to use the REST API in your code and you should have as many Internal Keys as you have different Applications consuming this Agent (this will help your governance process)
Once you have this done you can copy the endpoint specific for each Internal Key, this is what you will use next:
4. Integrate AI Agent API into your code
After having your specific endpoint you can just use it in Service Studio by doing the following steps:
4.1 - Consume REST API:
- Add single method
- Change Method to POST
- Use the endpoint copied from the Agent detail page.
4.2 - Put a sample prompt in your request body
4.3 - Test the API and make sure to "Copy body to response" (Important! Without this you will not get the correct JSON structure!)
4.4 - Use it in your flows!
Loading
Loading...