Attach Knowledge Base
POST
https://api.anunzi.net/v2/knowledge_base/{knowledge_base_id}/attach
Attach a knowledge base to an AI assistant in your Anunzi environment. This allows the assistant to access predefined information when interacting with users.
Path Parameters
Parameter
Type
Required
Description
knowledge_base_id
string
Yes
The unique ID of the knowledge base to attach.
Body Parameters
Parameter
Type
Required
Description
model_id
string
Yes
The unique ID of the AI assistant to which the knowledge base will be attached.
Example Request (cURL)
Example Response (200 OK)
Response Fields
Field
Type
Description
body
string
Confirmation message that the knowledge base was attached.
knowledge_base_id
string
The unique identifier of the attached knowledge base.
model_id
string
The AI assistant ID to which the knowledge base is attached.
Status Codes
Code
Description
200
Knowledge base attached successfully.
400
Bad Request. Invalid or missing parameters.
Última actualización
¿Te fue útil?