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

Descriptive message in syntax error #269

Open
pelikhan opened this issue Dec 23, 2024 · 0 comments
Open

Descriptive message in syntax error #269

pelikhan opened this issue Dec 23, 2024 · 0 comments

Comments

@pelikhan
Copy link

Is your feature request related to a problem? Please describe.

The GroqSyntaxError provides the location of the error but not explain the reason of the error. In order to create a GROQ expression generator with AI, it would help to also return a helpful error message so that the AI can refine the expression in a loop.

Describe the solution you'd like
A descriptive error message in GroqSyntaxError

Additional context
It is very common for LLM to hallucinate and we typically need a feedback loop to generate code correctly. In the case of generating groq expression, a better expression message would help the "search"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant