Skip to content

AI question

AI question hands the conversation to a language model agent: it talks with the caller until one of its skills fires, then leaves through that skill’s output. It opens in a large window with five tabs.

Every text setting of this brick takes variables and contact fields, such as {{contact.first_name}}. Number, switch and list settings do not. See Variables.

Open questions, problem descriptions in the caller’s own words, and answers from a knowledge base. For fixed answers, use Question. Concepts and a step-by-step setup: AI conversations and knowledge base.

TabSettingWhat it doesDefault
PromptsRoleWho the agent is and what it must achieve—
PromptsRestrictionsPrefilled with the answer language, the current date and time from {{system.time.rfc3339}} and a request for concise answersPrefilled
PromptsInitial phraseWhat the agent says first—
SkillsSkillsFunctions the agent can call; each becomes an output. end_dialog runs when the caller has all their answersend_dialog
Skills+A new skill: Skill name, Description, Parameters (name, description, Required parameter); Advanced adds Type and Allowed values; JSON edits the definition—
Skills✨Generates skills with AI—
Knowledge baseText or RAG enabledFree text, or search in uploaded documents—
Knowledge baseDocuments Manager.txt or .csv up to 5 MB, up to 50 documents, split into Chunks or LinesChunks of 1,000 characters
Knowledge baseSimilarity threshold, Number of documentsWhat goes into the context0.7, 5
FallbacksCountersHow many times the same problem may repeat before the agent leaves3
ConfigurationLLMEEA providers only, Provider, Model, TemperatureTemperature 0.7
ConfigurationSpeech to text, Text to speechRecognition and voice for this brickScenario defaults
ConfigurationDialog → Context modeAI Agent only or Full scenario dialogue (also sees what was said earlier in the call)—

Prompts hold up to 25,000 characters each and accept variables. Providers: Azure OpenAI, Claude (Anthropic), Google Gemini, Mistral AI, OpenAI. Captured skill values are available as {{ai_agent.function.result}}.

AI question: prompts

AI question: skills

Creating a skill

AI question: fallbacks

AI question: speech to text

AI question: dialog context mode

OutputWhen
One per skillThe agent called that skill
ErrorA fallback counter ran out on an error
EmptyThe caller stayed silent more often than the counter allows
IncompleteThe call broke off

A support line: Role You are the first-line support agent of an internet provider …; skill create_ticket with parameters problem and address; knowledge base with RAG on the provider’s FAQ. create_ticket → HTTP request to the ticketing system → Text-to-speech with the ticket number.

  • Write the Role as detailed, logical and structured as possible: goal, steps, what to do when the caller goes off topic.
  • Describe each skill and parameter so the model knows when to call it; mark what is required.
  • Choose Full scenario dialogue when earlier answers in the call matter to the agent.
  • With EEA providers only on, data stays in the European Economic Area.

AI conversations and knowledge base, Question, Global settings