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