Describe the bug
When adding SQL, extra space combinations might produce syntax errors.
To Reproduce
Steps to reproduce the behavior:
- Setup your favorite LLM model with OAFP_MODEL
- Execute
oafp data=“list of jupiter moons” in=llm getlist=true out=json > data.json”
- 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”
- See error
Expected behavior
It shouldn’t produce any errors.
Screenshots
n/a
Additional context
n/a
Describe the bug
When adding SQL, extra space combinations might produce syntax errors.
To Reproduce
Steps to reproduce the behavior:
oafp data=“list of jupiter moons” in=llm getlist=true out=json > data.json”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”Expected behavior
It shouldn’t produce any errors.
Screenshots
n/a
Additional context
n/a