patch https://api.codegpt.co/api/v1/agent//documents
This endpoint is used to upload and train the document like knowledge base for the agents. To do this, you need the agent's ID
and organization ID
. However, due to documentation constraints in README, it is not possible to test it from this platform.
The file should be in JPEG/PNG/WEBP format with a limit of 5MB.