Agentic search template APIs
Introduced 3.10
This is an experimental feature and is not recommended for use in a production environment. For updates on the progress of the feature or if you want to leave feedback, see the associated GitHub issue.
Agentic search template APIs register stored search templates so that agentic search can have a large language model (LLM) fill their parameters instead of writing the full query. For an overview and a complete example, see Filling search templates.
OpenSearch supports the following agentic search template APIs:
- Register agentic search template
- Get agentic search template
- List agentic search templates
- Update agentic search template
- Delete agentic search template
Agentic search templates are not supported when multi-tenancy is enabled.
Enabling agentic search template APIs
To enable the agentic search template APIs and the SearchTemplateFillTool, update the following cluster setting:
PUT _cluster/settings
{
"persistent": {
"plugins.ml_commons.agentic_search_template_enabled": true
}
}
For more information about enabling experimental features, see Experimental feature flags.