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)
Example Response (200 OK)
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.
Última actualización
¿Te fue útil?