Generative Service
The Generative Service API handles all integration with LLMs and generative content.
Last updated
Was this helpful?
The Generative Service API handles all integration with LLMs and generative content.
Last updated
Was this helpful?
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service
A valid uuid of an organization
A valid uuid of an environment
The UUID of the bot whose entities you are searching
Term being searched. This expects one optional String matching the name of an generativeService.
Current page, starting at 1
1
Size of the page
1
Criteria to order result, defaulted to updatedAt date. Possible fields include name, createdAt, updatedAt, createdBy and updatedBy.
Order direction(ASC/DESC), defaulted to DESC
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/quicksearch
A valid organization Uuid
A valid environment Uuid
A valid bot uuid to search
Term being searched
How many items will be returned in the list. Defaults to 6.
1
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/list-on-flow
A valid uuid of an organization
A valid uuid of an environment
The UUID of the bot whose entities you are searching
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service
A valid uuid of organization
A valid uuid of environment
A valid uuid of bot
Name of this Generative Service.
An optional description of this Generative Service.
Actual prompt to be executed during AI generation when executing this service.
AI Model to be used in this Generative Service.
AI's temperature value for execution of this Generative Service.
Maximum tokens to be used during a single execution of this Generative Service.
AI's topP value for execution of this Generative Service.
AI's presence penalty value for execution of this Generative Service.
AI's frequency penalty value for execution of this Generative Service.
Name of the variable in $hiddenContext this service will store it's result.
Wether this execution should blacklist specific words.
A blacklist of comma-separated terms to be excluded from this service's generation.
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/{uuid}
A valid uuid of an organization
A valid uuid of an environment
The UUID of the bot whose entity you are searching belong to
The generativeService's uuid
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/{uuid}
A valid uuid of an organization
A valid uuid of an environment
The UUID of the bot whose entity you are searching belong to
The generativeService's uuid
Name of this Generative Service.
An optional description of this Generative Service.
Actual prompt to be executed during AI generation when executing this service.
AI Model to be used in this Generative Service.
AI's temperature value for execution of this Generative Service.
Maximum tokens to be used during a single execution of this Generative Service.
AI's topP value for execution of this Generative Service.
AI's presence penalty value for execution of this Generative Service.
AI's frequency penalty value for execution of this Generative Service.
Name of the variable in $hiddenContext this service will store it's result.
Wether this execution should blacklist specific words.
A blacklist of comma-separated terms to be excluded from this service's generation.
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/{uuid}
A valid uuid of organization
A valid uuid of environment
A valid uuid of bot
The generativeService's uuid
No body
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/generative-service/simulate
A valid uuid of organization
A valid uuid of environment
A valid uuid of bot
Name of this Generative Service.
An optional description of this Generative Service.
Actual prompt to be executed during AI generation when executing this service.
AI Model to be used in this Generative Service.
AI's temperature value for execution of this Generative Service.
Maximum tokens to be used during a single execution of this Generative Service.
AI's topP value for execution of this Generative Service.
AI's presence penalty value for execution of this Generative Service.
AI's frequency penalty value for execution of this Generative Service.
Name of the variable in $hiddenContext this service will store it's result.
Wether this execution should blacklist specific words.
A blacklist of comma-separated terms to be excluded from this service's generation.
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/answer/enhance
A valid uuid of organization
A valid uuid of environment
A valid uuid of bot
Either the context, if enhancementType is GENERATE_CONTENT, or the previously existing answer otherwise.
Tone to be applied into the answer. Used only if enhancementType is 'TONE_CHANGE' or 'GENERATE_CONTENT'
Language of this bot.
It is the channel type from the answer
Discerns which task will be performed to enhance this task.
GENERATE_CONTENT
, IMPROVE_WRITING
, SHORTEN
, EXTEND
, FIX_GRAMMAR
, TONE_CHANGE
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/answer/availability
A valid uuid of organization
A valid uuid of environment
A valid uuid of bot