-
Notifications
You must be signed in to change notification settings - Fork 85
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
Can we ensure the ai to not use any other data not in the context? #30
Comments
Prompt engineering for large language models is challenging. It involves providing clear context, specifying desired outcomes, and filtering unwanted outputs. Finding the perfect formula takes experimentation – playing with keywords, sentence structures, and prompt lengths. I hope someone in the community can share their prompts that successfully tackled similar scenarios. In the meantime, this document helped me understand some best practices for prompt engineering |
We have done these experiments on other artificial intelligence models, but it would be great if anyone who has solved similar situations could share their prompt formats :) |
We are trying to make a sql query generator with chat complation.
prompt:
Show me the customers
history:
It gives me cool sql commands but some table names are not logical names (like crnt_tbl for current table). AI tries to access tables that do not exist in the schema, causing the query to not work.
I want it to only use existing table names in the schema. How can I set this up?
The text was updated successfully, but these errors were encountered: