5 ms·
Could you share more about the prompt you use to get GPT-4 to return a query from the user's question? This is fed into postgres full text search?
by paulkon 3y ago
Could you share more about the prompt you use to get GPT-4 to return a query from the user's question? This is fed into postgres full text search?
- nnechm 3y agoI am using openai's latest functions api, so you can get it to return arguments that will ensure that you get a json, it works pretty well most of the time. The json would then be used to fetch a report from a database.