-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification on the use of hard-written output field prompt in TextToSQLAnswer Signature #1178
Comments
Hi @backslash112 , the description is attached with the field within the prompt. For instance, in the
which turns into the prompt:
The description is certainly not necessary if the signature instruction covers your task requirements, but can often help in guiding the model on how to treat the corresponding Input and OutputFields. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am reading the
text-to-sql
example from theexamples/
folder, and I have a question regarding theTextToSQLAnswer
class. I noticed that the sql output field uses a hard-written prompt in its description:My question is: Does the content of the desc parameter matter in this case? Is it used as a prompt for the model to generate the SQL query, or is it just a human-readable description?
Thanks!
The text was updated successfully, but these errors were encountered: