Skip to content

Commit 28e12ae

Browse files
committed
fix: New claim tool is used too often by the bot
#403
1 parent 14c7ae8 commit 28e12ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/helpers/llm_tools.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ async def new_claim(
6969
self,
7070
) -> str:
7171
"""
72-
Use this if the customer wants to create a new claim.
72+
Use this if the customer wants to open a new claim.
7373
7474
# Behavior
7575
1. Old claim is stored but not accessible anymore
76-
2. Reset the Assistant claim
76+
2. Reset the conversation
7777
7878
# Rules
7979
- Approval from the customer must be explicitely given (e.g. 'I want to create a new claim')
8080
- This should be used only when the subject is totally different
8181
8282
# Usage examples
83+
- Customer is talking about a totally different subject and confirmed they was done with the previous one
8384
- Customer wants explicitely to create a new claim
84-
- Talking about a totally different subject
8585
"""
8686
# Launch post-call intelligence for the current call
8787
await self.post_callback(self.call)

0 commit comments

Comments
 (0)