#Is it possible to edit/update a knowledge base file or text for a conversational AI agent?

1 messages · Page 1 of 1 (latest)

neon cipherBOT
#
AI-generated Answer for shanec0278

Yes, you can update a knowledge base for a conversational AI agent. To do this, you need to use the PATCH method. First, detach the existing document by patching an empty array, like this:

{
  "conversation_config": {
    "agent": {
      "prompt": {
        "knowledge_base": []
      }
    }
  }
}

After detaching, you can re-upload and re-attach the updated document to the agent. This process allows you to keep the knowledge base current without creating a new agent each time.

exotic dew
#

can you make the change in the Conversational AI dashboard?