|
|
|
|
|
by BoorishBears
1101 days ago
|
|
You don't need to directly run the query it returns, you can use that query as a sub-query on a known safe set of data and let it fail if someone manages to prompt inject their way into looking at other tables/columns. That way you can support natural language to query without sending dozens of functions (which will eat up the context window) |
|
If OpenAI doesn't know that, then I don't know what to say, they haven't spent enough time writing documentation for general users.