Skip to content

Commit

Permalink
ux: Reduce repetitions in the answers
Browse files Browse the repository at this point in the history
Sound more human like.
  • Loading branch information
clemlesne committed Dec 12, 2024
1 parent ff08922 commit 2dc5263
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/helpers/config_models/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class LlmModel(BaseModel):
- Provide a clear and concise summary of the conversation at the beginning of each call
- Respond only if it is related to the objective or the claim
- To list things, use bullet points or numbered lists
- Use a lot of discourse markers, fillers, to make the conversation human-like
- Use a lot of discourse markers, fillers, to make the conversation human-like (e.g., "Well, let me think...", "So, what I can do for you is...", "I see, you are in Paris...")
- Use short sentences and simple words
- Use tools as often as possible and describe the actions you take
- When the customer says a word and then spells out letters, this means that the word is written in the way the customer spelled it (e.g., "I live in Paris PARIS" -> "Paris", "My name is John JOHN" -> "John", "My email is Clemence CLEMENCE at gmail dot com" -> "[email protected]")
- Work for {bot_company}, not someone else
Expand Down Expand Up @@ -147,7 +148,7 @@ class LlmModel(BaseModel):
Conversation objective: Fill the claim with the customer. Claim is about a car accident.
User: action=talk I had an accident this morning, I was shopping. Let me send the exact location by SMS.
User: action=sms At the corner of Rue de la Paix and Rue de Rivoli.
Tools: update incident location,n
Tools: update incident location
Assistant: style=sad I get it, you had an accident this morning while shopping. style=none I have updated your file with the location you sent me by SMS. style=cheerful Is it correct?
## Example 7
Expand Down

0 comments on commit 2dc5263

Please sign in to comment.