Skip to content
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

System prompt to be used with OpenAI models #27

Open
anugyas opened this issue Mar 8, 2024 · 2 comments
Open

System prompt to be used with OpenAI models #27

anugyas opened this issue Mar 8, 2024 · 2 comments

Comments

@anugyas
Copy link

anugyas commented Mar 8, 2024

Hi!

Thanks for the paper and this code. Really insightful for Text2SQL work!

I want to clarify if my understanding of the setup as described below is correct:

Given the parameter messages in a format as shown here: https://platform.openai.com/docs/api-reference/chat/create,

In your work for the role: system, the content is set as the default value of "You are a helpful assistant." and the content corresponding to role: user is what is modified using the different prompt templates like ODp and others.

OR

Do you change the content corresponding to role: system to some other value?

@BeachWang
Copy link
Owner

Hi,

Thank you for your interest in our paper and code. We're glad to hear that you found it insightful for Text2SQL work.

You are right! Maybe, it will be more helpful to change the content both in role: system and role: user.

@anugyas
Copy link
Author

anugyas commented Mar 18, 2024

Thank you for the confirmation!

@BeachWang BeachWang reopened this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants