Edit Agent
Modify a given Agent
to utilize the provided configuration.
Fields not included in the request body will not be modified.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the agent to edit
Body
Instructions that your agent references when generating responses. Note that we do not guarantee that the system will follow these instructions exactly.
8000
Instructions on how the agent should respond when there are no relevant retrievals that can be used to answer a query.
8000
The prompt to an LLM which determines whether retrieved chunks are relevant to a given query and filters out irrelevant chunks.
8000
These queries will show up as suggestions in the Contextual UI when users load the agent. We recommend including common queries that users will ask, as well as complex queries so users understand the types of complex queries the system can handle. The max length of all the suggested queries is 1000.
The following advanced parameters are experimental and subject to change.
IDs of the datastore to associate with the agent.
The model ID to use for generation. Tuned models can only be used for the agents on which they were tuned. If no model is specified, the default model is used. Set to default
to switch from a tuned model to the default model.
Response
The response is of type object
.
Was this page helpful?