Release Notes
- What's new
- Known issues
- Troubleshooting
- License reference
Get Started
Environments
Large Language Models (LLMs)
Webchats
Tutorials
API's reference
- watsonx Orchestrate Developer Edition APIs
Legal notices
Default Agent Settings
Update Orchestrate Settings
PATCH
/
default-agent-settings
Copy
Ask AI
curl --request PATCH \
--url http://localhost/api/v1/default-agent-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"settings": {
"model_settings": {
"base_llm": {
"model_name": "<string>",
"model_id": "<string>",
"model_params": {},
"guardrails": {
"hap": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
},
"social_bias": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
},
"pii": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
}
},
"system_prompt": "<string>",
"prompt_templates": {
"chat_template": "<string>",
"chat_template_params": {}
}
},
"embeddings": {
"model_name": "<string>",
"model_id": "<string>"
},
"is_base_llm_enabled": true
},
"router_settings": {
"router_type": "unified",
"model_name": "<string>",
"model_id": "<string>",
"model_params": {},
"routing_prompt": "<string>",
"router_config": {
"continue_journey_on_none": true,
"confidence_threshold": 123,
"confidence_method": "perplexity"
}
},
"user_settings": {
"confirm_routing": true,
"clear_watsonx_assistant_context": false,
"clientside_shortlisting": false
},
"slot_filling_settings": {
"slot_filler_type": "unified",
"model_name": "<string>",
"model_id": "<string>",
"model_params": {}
}
}
}'
Copy
Ask AI
"<any>"
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type any
.
Copy
Ask AI
curl --request PATCH \
--url http://localhost/api/v1/default-agent-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"settings": {
"model_settings": {
"base_llm": {
"model_name": "<string>",
"model_id": "<string>",
"model_params": {},
"guardrails": {
"hap": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
},
"social_bias": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
},
"pii": {
"input": {
"enabled": true,
"threshold": 123
},
"output": {
"enabled": true,
"threshold": 123
},
"mask": {
"remove_entity_value": true
}
}
},
"system_prompt": "<string>",
"prompt_templates": {
"chat_template": "<string>",
"chat_template_params": {}
}
},
"embeddings": {
"model_name": "<string>",
"model_id": "<string>"
},
"is_base_llm_enabled": true
},
"router_settings": {
"router_type": "unified",
"model_name": "<string>",
"model_id": "<string>",
"model_params": {},
"routing_prompt": "<string>",
"router_config": {
"continue_journey_on_none": true,
"confidence_threshold": 123,
"confidence_method": "perplexity"
}
},
"user_settings": {
"confirm_routing": true,
"clear_watsonx_assistant_context": false,
"clientside_shortlisting": false
},
"slot_filling_settings": {
"slot_filler_type": "unified",
"model_name": "<string>",
"model_id": "<string>",
"model_params": {}
}
}
}'
Copy
Ask AI
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.