Link Search Menu Expand Document Documentation Menu

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:

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.

350 characters left

Have a question? .

Want to contribute? or .