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

Some SQL extra spaces combinations fail #10

Open
nmaguiar opened this issue Jan 12, 2025 · 0 comments
Open

Some SQL extra spaces combinations fail #10

nmaguiar opened this issue Jan 12, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nmaguiar
Copy link
Contributor

Describe the bug
When adding SQL, extra space combinations might produce syntax errors.

To Reproduce
Steps to reproduce the behavior:

  1. Setup your favorite LLM model with OAFP_MODEL
  2. Execute oafp data=“list of jupiter moons” in=llm getlist=true out=json > data.json”
  3. Execute oafp data.json out=ctable sql="select * order by diameter_km desc " (adapt, if necessary, to the results of the LLM as long as you get an extra space on the end of a order desc”
  4. See error

Expected behavior
It shouldn’t produce any errors.

Screenshots
n/a

Additional context
n/a

@nmaguiar nmaguiar added the bug Something isn't working label Jan 12, 2025
@nmaguiar nmaguiar self-assigned this Jan 12, 2025
nmaguiar added a commit to OpenAF/openaf that referenced this issue Jan 12, 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
Projects
Status: Backlog
Development

No branches or pull requests

1 participant