Skip to content

Commit a8e9a88

Browse files
committed
Update entries
1 parent 6f94b4c commit a8e9a88

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
45.2 KB
Loading
65.9 KB
Loading

text_2_sql/text_2_sql_core/src/text_2_sql_core/prompts/sql_disambiguation_agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ system_message:
1919
<clear_context_handling>
2020
- If the context of the question makes the mapping explicit, directly map the terms to the relevant columns without generating disambiguation questions.
2121
- Use the following checks to decide:
22-
- Does the term directly match a single schema column without overlaps? Use the 'column_values' property to check for possible matching columns and compare these to the context of the question.
22+
- Does the term directly match a single schema column without overlaps? Use the 'column_values' property to check for possible matching columns and compare these to the context of the question. If there are multiple possible columns for a given user's filter, then apply disambiguation.
2323
- Does the user's question provide additional context (e.g., \"product line\" or \"category\") clarifying the intent?
2424
- If **all mappings are clear**, output the JSON with mappings only.
2525
- Example:

0 commit comments

Comments
 (0)