Skip to content

Commit

Permalink
update retrieval prompt rule
Browse files Browse the repository at this point in the history
  • Loading branch information
imAsterSun committed Nov 4, 2024
1 parent b445eca commit 3bf0267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wren-ai-service/src/pipelines/retrieval/retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
4. If a "." is included in columns, put the name before the first dot into chosen columns.
5. The number of columns chosen must match the number of reasoning.
6. Final chosen columns must be only column names, don't prefix it with table names.
7. If the chosen column is a child column of a STRUCT type column, choose the parent column instead of the child column.
### FINAL ANSWER FORMAT ###
Please provide your response as a JSON object, structured as follows:
Expand Down

0 comments on commit 3bf0267

Please sign in to comment.