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

Fix: Natural Language Search Error on Complex Queries #735

Open
Tracked by #723
elliotxx opened this issue Jan 16, 2025 · 0 comments
Open
Tracked by #723

Fix: Natural Language Search Error on Complex Queries #735

elliotxx opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working priority/important-longterm P2 Important over the long term,but may not be staffed and/or may need multiple releases to complete
Milestone

Comments

@elliotxx
Copy link
Collaborator

elliotxx commented Jan 16, 2025

What would you like to be added?

Natural language search returns 500 error when handling complex queries. Simple queries (e.g., 'What are the resources containing demo?') work fine, but complex queries (e.g., 'Which pods are in error state') trigger server errors.

image

Why is this needed?

This fix is crucial for improving user experience. The current error impacts the core functionality of using natural language for resource queries, especially for state-related searches.

Required improvements:

  1. Enhance natural language processing robustness
  2. Improve error handling mechanism
  3. Support more complex query patterns
  4. Add comprehensive test cases

Steps to reproduce:

  1. Go to search page
  2. Try query 'Which pods are in error state'
  3. Observe 500 error response

Expected behavior:

  • Should return a list of pods in error state
  • Should handle complex state queries gracefully
@elliotxx elliotxx added area/ai AI-related Feature area/search bug Something isn't working priority/important-soon P1 Must be staffed and worked on either currently,or very soon,ideally in time for the next release labels Jan 16, 2025
@elliotxx elliotxx added this to the v0.7.0 milestone Jan 16, 2025
@elliotxx elliotxx self-assigned this Jan 16, 2025
@github-actions github-actions bot mentioned this issue Jan 16, 2025
38 tasks
@elliotxx elliotxx added priority/important-longterm P2 Important over the long term,but may not be staffed and/or may need multiple releases to complete and removed priority/important-soon P1 Must be staffed and worked on either currently,or very soon,ideally in time for the next release area/search area/ai AI-related Feature labels Jan 20, 2025
@elliotxx elliotxx removed their assignment Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority/important-longterm P2 Important over the long term,but may not be staffed and/or may need multiple releases to complete
Projects
None yet
Development

No branches or pull requests

1 participant