Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] query_enhancements "Get agent os_query_assist_ppl failed, reason: getting agent_id from undefined" #7803

Closed
chishui opened this issue Aug 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chishui
Copy link
Contributor

chishui commented Aug 22, 2024

Describe the bug
I'm testing query_enhancements's query assistant feature. When I input a natural language question, dashboard pops up error saying "Get agent 'os_query_assist_ppl' failed, reason: configuration is undefined".

It's because configuration is not in the response of getting agent API, it's ml_configuration now.

Sample response:

{
	"config_type": "os_query_assist_ppl_agent",
	"ml_configuration": {
		"agent_id": "nIy2MJEBu0iSk2-nBhti"
	}
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

OpenSearch Version
3.0.0

Dashboards Version
3.0.0

Plugins
query_enhancements

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

@chishui chishui added bug Something isn't working untriaged labels Aug 22, 2024
@ruanyl ruanyl removed the untriaged label Aug 23, 2024
@ruanyl
Copy link
Member

ruanyl commented Aug 23, 2024

closed by #7804

@ruanyl ruanyl closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants