askai - Ask AI

Get answer from am AI based on predefined templates or a custom prompt. Will be charged per used tokens. Predefined prompts are: - Summarize Text - Make Longer - Make Shorter - Check Spelling and Grammar - Change Tone - Simplify - Translate - Explain This - Find Action Items - Continue Writing - Anonymize Text - Improve Writing - Custom

text
Type
string
Required
required
Text that will be send to the AI
Example:
Explain nocode software development to a six year old kid.
temperature
Type
number
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
Maximum: 2
maxTokens
Type
number
The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length. Most models have a context length of 2048 tokens(except for the newest models, which support 4096). 1 token ~= 4 chararcters in english, 1 token ~= 3/4 words
Example:
16
model
Type
string
AI model to be used. Defaults to gpt-3.5-turbo
Possible values are: gpt-3.5-turbo, gpt-4
Example:
gpt-4
systemMessage
Type
string
Provide an optional system message to use.
Example:
Antworte immer auf deutsch
promptTemplate
Type
string
Required
required
AI model to be used.
Possible values are: Summarize, Make Longer, Make Shorter, Check Spelling and Grammar, Change Tone, Simplify, Translate, Explain This, Find Action Items, Continue Writing, Anonymize Text, Add Details, Improve Writing, Custom
Example:
Custom
params
Type
object
Example:
{
  "customPrompt": "Make the text longer up to 50 words. %TEXT%.",
  "translationLanguage": "deutsch",
  "tone": "friendly"
}
customPrompt
Type
string
Custom prompt to use. This field is only used if prompt is custom. Inlcude %TEXT% as a placeholder in your custom prompt to access the value provided in text.
Example:
Make the text longer up to 50 words. %TEXT%.
translationLanguage
Type
string
Language to translate your text to. This field is only used if prompt is Translate.
Example:
deutsch
tone
Type
string
Language to translate your text to. This field is only used if prompt is Translate.
Example:
friendly

Available on

Postman
Make
Zapier
N8N
Airtable
SeaTable
Bubble
Power Automate
Workato
SAP Build