Anunzi IA Documentation
Ir a Anunzi IAAyuda al Cliente
  • Anunzi AI Calls API Documentation
    • Getting Started
    • 🔑Authentication & Security
  • Postman Collections
  • Postman Documentation
  • Assistants
    • 👨‍💼Assistants
      • 🔵Create Assistant
      • 🟣Update Assistant
      • 🟢Get Assistant
      • 🟢List Assistants
      • 🔴Delete Assistant
  • Calls
    • 📳Calls
      • 🔵Make Calls
      • 🔵Make SIP Trunk Call
      • 🟢List Calls
      • 🟢Get Call
      • Webhooks
      • Custom Variables
      • Dynamic Prompt Injection
      • Time Zones
  • Actions
    • 🪄Actions
      • 🔵Create Action
      • 🔵Initialize Custom Action
      • 🟣Update Action
      • 🔴Delete Action
      • 🟢Get Action
      • 🟢List Actions
      • 🔵Attach Action
      • 🔵Detach Action
  • Knowledge Bases
    • 📑Knowledge Bases
      • 🔵Create Knowledge Base
      • 🟢Get Knowledge Base
      • 🟣Update Knowledge Base
      • 🔴Delete Knowledge Base
      • 🔵Attach Knowledge Base
      • 🔵Detach Knowledge Base
  • Plataforma IA Generativa
    • Introducción a Anunzi IA
      • Cambiar el tema y el idioma
  • 📖TEXTO
    • Centro de Herramientas
    • Cómo crear una herramienta
    • Creador de Artículos
    • Cómo usar el Re-escritor
  • 🙋ASISTENTES
    • Crear categorías de chat
    • Crear Plantilla de Chat
    • Entrenamiento de chatbots
    • Cómo usar Asistentes IA
      • Usar comandos de voz
  • 🎨IMAGENES
    • Cómo usar el Creador de Imágenes
  • 🎶AUDIO
    • Pasar archivos de voz a texto (desgrabar)
    • Creador de Voz
    • Clonador de voz
  • Otras Funcionalidades
    • Programa de Afiliados
    • Equipos de trabajo
      • Administrar permisos del equipo
    • Cómo crear una Marca
  • Problemas Comunes
    • No funciona el enlace de confirmación
  • Actualizaciones
    • Novedades de la versión 7.4.2
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. Calls
  2. Calls

Custom Variables

Inject dynamically data into the prompt to personalize AI interactions.

ℹ️ Note: You can dynamically inject custom variables into your prompt to enhance contextual relevance.


Overview

Custom Variables allow you to dynamically inject data into your prompts, enhancing the capabilities and relevance of your AI Assistant. By integrating custom data fields via API requests, you can tailor the Assistant's responses to specific contexts, such as a user's role, company-specific information, or any dynamic business-related data.


Use Cases

✅ Personalization

  • Tailor responses based on user-specific information (e.g., name, role, preferences).

✅ Contextual Relevance

  • Provide responses that align with a specific business or operational context.

✅ Dynamic Content

  • Update the content of prompts based on changing variables to keep interactions fresh and adaptable.


How to Use Custom Variables

  1. Define Custom Variables

    • Identify key pieces of information that should be dynamically inserted into the assistant’s responses. Examples include user roles, company names, or specific settings.

  2. Add Variables to API Request

    • Incorporate these custom variables into your API request as a JSON object. This allows the Assistant to access and utilize this data in its responses.


Example API Request with Custom Variables

{
  "model_id": "1726573550709x928456706859452600",
  "phone": "+1234567890",
  "name": "David",
  "custom_variables": [
    {"key": "Company", "value": "Anunzi"},
    {"key": "Role", "value": "Sales Specialist"}
  ]
}
AnteriorWebhooksSiguienteDynamic Prompt Injection

Última actualización hace 3 meses

¿Te fue útil?

📳