CKit icon

CKit

Interact with Chatbot Kit API

Actions17

Intent → Advisor

AI-generated

Summary

Register an advisor prompt and reference for a chatbot, or forward intent selection/execution data.

Inputs

  • reference — Reference to the advisor
  • advisorPrompt — Text to llm prompt

Output shape

Array of StdMessage objects, type determined by input.type.

When input.type is 'queryAdvisor', returns StdMessage 'queryAdvisor' with chatbotName and reference. When 'intentSelected', returns StdMessage 'intentSelected' with refCliente, mainUuid, intent, uuidIntentRun. When 'executeAction', returns StdMessage 'executeAction' with empty payload.

Examples

Example 1: Register a new advisor

Set reference to a unique identifier and advisorPrompt to the desired LLM instruction text.

Links

Discussion