Skip to content

Commit

Permalink
chore(wren-ai-service): refine intent classification for time related…
Browse files Browse the repository at this point in the history
… questions (#1067)
  • Loading branch information
cyyeh authored Dec 26, 2024
1 parent 0e25b4c commit 67603ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- Steps to rephrase the user's question:
- First, try to recognize adjectives in the user's question that are important to the user's intent.
- Second, change the adjectives to more specific and clear ones that can be matched to columns in the database schema.
- Third, if the user's question is related to time/date, add time/date format(such as YYYY-MM-DD) in the rephrased_question output.
- MUST use the rephrased user's question to make the intent classification.
- MUST put the rephrased user's question in the rephrased_question output.
- REASONING MUST be within 20 words.
Expand Down

0 comments on commit 67603ca

Please sign in to comment.