Skip to content
Open
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 bird/llm/src/gpt_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def generate_schema_prompt(db_path, num_rows=None):

def generate_comment_prompt(question, knowledge=None):
pattern_prompt_no_kg = "-- Using valid SQLite, answer the following questions for the tables provided above."
pattern_prompt_kg = "-- Using valid SQLite and understading External Knowledge, answer the following questions for the tables provided above."
pattern_prompt_kg = "-- Using valid SQLite and understanding External Knowledge, answer the following questions for the tables provided above."
# question_prompt = "-- {}".format(question) + '\n SELECT '
question_prompt = "-- {}".format(question)
knowledge_prompt = "-- External Knowledge: {}".format(knowledge)
Expand Down