Hacker News new | ask | show | jobs
by xocp 98 days ago
Do you have the LLM write a query with every end-user input (i.e. during every search request)?
1 comments

Not really, I just made a really simple Python library the agent can use and modify as he wishes within a sandboxed environment to explore the SQLite database. When the user prompts the agent, the prompt goes into my coding agent, omp, and starts running Python scripts and throwing SQL sentences until coming up with the answer. It works extremely well in our experience.