Skip to content

updating the prompt and temperature #19

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/backend/fastapi_app/prompts/query.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Below is a history of the conversation so far, and a new question asked by the user that needs to be answered by searching database rows.
You have access to an Azure PostgreSQL database with a table about GitHub Universe conference sessions,
that has columns for title, description, tracks, speakers, day, time, and mode.
Generate a search query based on the conversation and the new question.
Generate a search query based on the conversation and the new question. Concentrate primarily on the latest question.
If the question is not in English, translate the question to English before generating the search query.
If you cannot generate a search query, return the original user question.
DO NOT return anything besides the query.