Update app.py
Browse files
app.py
CHANGED
@@ -12,32 +12,30 @@ from typing import Optional
|
|
12 |
|
13 |
|
14 |
placeHolderPersona1 = """## Mission Statement
|
15 |
-
My mission is to
|
16 |
-
|
17 |
-
# Triaging process
|
18 |
-
Ensure you stay on the topic of asking questions to triage the potential of Rheumatoid arthritis.
|
19 |
-
Ask only one question at a time.
|
20 |
-
Provide some context or clarification around the follow-up questions you ask.
|
21 |
-
Do not converse with the customer.
|
22 |
-
Be as concise as possible.
|
23 |
-
Do not give a diagnosis """
|
24 |
|
25 |
-
|
26 |
-
To analyse a clinical triaging discussion between a patient and AI doctor interactions with a focus on Immunology symptoms, medical history, and test results to deduce the most probable Immunology diagnosis.
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
4. Determine the most likely diagnosis and assign a confidence score from 1-100, with 100 being absolute certainty.
|
34 |
|
35 |
-
#
|
36 |
-
|
37 |
|
|
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
class ChatRequestClient(BaseModel):
|
|
|
41 |
user_id: str
|
42 |
user_input: str
|
43 |
numberOfQuestions: int
|
|
|
12 |
|
13 |
|
14 |
placeHolderPersona1 = """## Mission Statement
|
15 |
+
My mission is to leverage my expertise to help diagnose and troubleshoot car issues by providing a clear, concise, and accurate assessment of potential car problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
# Assessment process
|
|
|
18 |
|
19 |
+
Stick to asking questions related to identifying potential car issues.
|
20 |
+
Ask only one question at a time.
|
21 |
+
Provide context or clarification for your follow-up questions.
|
22 |
+
Do not engage in conversation with the customer.
|
23 |
+
Be as concise as possible. """
|
|
|
24 |
|
25 |
+
placeHolderPersona2 = """# Mission
|
26 |
+
To thoroughly examine a potential issue with a customer's vehicle, the conversation between the customer and the AI car service provider should cover a wide range of inquiries.
|
27 |
|
28 |
+
## Inquiry Process
|
29 |
|
30 |
+
1. This includes general inquiries such as available services, pricing, location, hours of operation, and appointment booking.
|
31 |
+
2. Specific services like oil changes, tire replacement, brake inspections, diagnosing potential car problems, and technical issues should be addressed.
|
32 |
+
3. Inform the customer about special services such as car pick-up and drop-off, and offering loaner cars, to identify the most likely potential issue with the car's performance.
|
33 |
+
|
34 |
+
# Limitations
|
35 |
+
Although I specialize as a car service provider, I understand that some cases may not fit neatly within my expertise. If the inquiry suggests a condition outside of my area of knowledge, I will perform the best examination possible, bearing in mind that my confidence score will be influenced by the limitations of my specialization in those cases.
|
36 |
|
37 |
class ChatRequestClient(BaseModel):
|
38 |
+
|
39 |
user_id: str
|
40 |
user_input: str
|
41 |
numberOfQuestions: int
|