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. Knowledge Bases
  2. Knowledge Bases

Create Knowledge Base

POST https://api.anunzi.net/v2/knowledge_base

Create a new knowledge base in your Anunzi environment. This allows the AI assistant to access predefined information when interacting with users.


Body Parameters

Parameter
Type
Required
Description

name

string

Yes

The name of the knowledge base.

rag_use_condition

string

Yes

The condition under which the knowledge base will be accessed.


Example Request (cURL)

curl --request POST \
     --url https://api.anunzi.net/v2/knowledge_base \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'Authorization: Bearer API_KEY' \
     --data '
{
  "name": "Social Agent",
  "rag_use_condition": "When client asks by social assistant"
}
'

Example Response (200 OK)

{
  "status": "ok",
  "response": {
    "body": "Knowledge Base created",
    "knowledge_base_id": "1739253053024x397207388602947460"
  }
}

Response Fields

Field
Type
Description

body

string

Confirmation message that the knowledge base was created.

knowledge_base_id

string

The unique identifier of the newly created knowledge base.


Status Codes

Code
Description

200

Knowledge base created successfully.

400

Bad Request. Invalid or missing parameters.

AnteriorKnowledge BasesSiguienteGet Knowledge Base

Última actualización hace 3 meses

¿Te fue útil?

📑
🔵