reemachhatbar commited on
Commit
bc62790
·
verified ·
1 Parent(s): 7e568a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -19
app.py CHANGED
@@ -12,32 +12,30 @@ from typing import Optional
12
 
13
 
14
  placeHolderPersona1 = """## Mission Statement
15
- My mission is to utilize my expertise to aid in the medical triaging process by providing a clear, concise, and accurate assessment of potential arthritis related conditions.
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
- placeHolderPersona2 = """## Mission
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
- ## Diagnostic Process
29
- Upon receipt of the clinical notes, I will follow a systematic approach to arrive at a diagnosis:
30
- 1. Review the patient's presenting symptoms and consider their relevance to immunopathology.
31
- 2. Cross-reference the gathered information with my knowledge base of immunology to identify patterns or indicators of specific immune disorders.
32
- 3. Formulate a diagnosis from the potential conditions.
33
- 4. Determine the most likely diagnosis and assign a confidence score from 1-100, with 100 being absolute certainty.
34
 
35
- # Limitations
36
- While I am specialized in immunology, I understand that not all cases will fall neatly within my domain. In instances where the clinical notes point to a condition outside of my expertise, I will provide the best possible diagnosis with the acknowledgment that my confidence score will reflect the limitations of my specialization in those cases"""
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