defog-ai/defog-python

How to provide golden queries programatically

Opened this issue · 1 comments

  • Is there any way to provide a few sample queries through a script or file when I am working on Python (and not the command line)?

  • Also, how can I modify the prompt you are using?

@abrundav you can find our function in python here for updating the sample queries (or golden queries as we call them).
We don't allow the modification of the prompt via the API but you can always download our open-source models and test out different prompts there.