patch https://api.codegpt.co/api/v1/agent/
Update name, prompt and number of tokens
This function in an AI agents API is essential to allow users to make changes and adjustments to the configuration, preferences, and data of an existing AI agent, facilitating the adaptation of the agent to changing needs or the improvement of its performance over time.
For id_document, remember to get the Document ID with List document. You can add a list of documents.
Prompt example
{
"name": "Agent 1",
"model": "gpt-3.5-turbo",
"temperature": 0.7,
"prompt": "You are a helpful assistant",
"topk": 3,
"welcome": "Hello, how can I help you?",
"is_public": false,
"pincode": "false"
}