Yuvrajspd09 commited on
Commit
f4eba6c
Β·
verified Β·
1 Parent(s): 9988675

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -8
README.md CHANGED
@@ -27,7 +27,7 @@ MedCall AI is a tool that helps analyze patient calls. It figures out the caller
27
  ## What’s Inside?
28
  ```
29
  β”œβ”€β”€ app.py # Main application (UI)
30
- β”œβ”€β”€ medcall_ai/
31
  β”‚ β”œβ”€β”€ ai_response.py # Call summarization
32
  β”‚ β”œβ”€β”€ intent_classifier.py # Intent detection
33
  β”‚ β”œβ”€β”€ sentiment.py # Sentiment analysis
@@ -65,7 +65,7 @@ streamlit run app.py
65
  ### Example Usage
66
  #### Summarizing a Call
67
  ```python
68
- from medcall_ai.ai_response import generate_call_summary
69
 
70
  sample_text = "I need an appointment as soon as possible."
71
  summary = generate_call_summary(sample_text)
@@ -74,7 +74,7 @@ print(f"Summary: {summary}")
74
 
75
  #### Detecting Intent
76
  ```python
77
- from medcall_ai.intent_classifier import classify_intent
78
 
79
  sample_text = "I want to book an appointment."
80
  intent = classify_intent(sample_text)
@@ -83,7 +83,7 @@ print(f"Intent: {intent}")
83
 
84
  #### Checking Sentiment
85
  ```python
86
- from medcall_ai.sentiment import analyze_sentiment
87
 
88
  sample_text = "I have been feeling really sick."
89
  sentiment = analyze_sentiment(sample_text)
@@ -92,7 +92,7 @@ print(f"Sentiment: {sentiment}")
92
 
93
  #### Logging Calls
94
  ```python
95
- from medcall_ai.db_handler import log_call
96
 
97
  log_call("I need an appointment", "appointment", "Low", "Neutral", "You can book an appointment online.")
98
  ```
@@ -103,6 +103,3 @@ If you’d like to improve this project, feel free to fork it, make changes, and
103
  ## License
104
  This project is open-source under the MIT License.
105
 
106
-
107
-
108
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
27
  ## What’s Inside?
28
  ```
29
  β”œβ”€β”€ app.py # Main application (UI)
30
+ β”œβ”€β”€ vocca_ai/
31
  β”‚ β”œβ”€β”€ ai_response.py # Call summarization
32
  β”‚ β”œβ”€β”€ intent_classifier.py # Intent detection
33
  β”‚ β”œβ”€β”€ sentiment.py # Sentiment analysis
 
65
  ### Example Usage
66
  #### Summarizing a Call
67
  ```python
68
+ from vocca_ai.ai_response import generate_call_summary
69
 
70
  sample_text = "I need an appointment as soon as possible."
71
  summary = generate_call_summary(sample_text)
 
74
 
75
  #### Detecting Intent
76
  ```python
77
+ from vocca_ai.intent_classifier import classify_intent
78
 
79
  sample_text = "I want to book an appointment."
80
  intent = classify_intent(sample_text)
 
83
 
84
  #### Checking Sentiment
85
  ```python
86
+ from vocca_ai.sentiment import analyze_sentiment
87
 
88
  sample_text = "I have been feeling really sick."
89
  sentiment = analyze_sentiment(sample_text)
 
92
 
93
  #### Logging Calls
94
  ```python
95
+ from vocca_ai.db_handler import log_call
96
 
97
  log_call("I need an appointment", "appointment", "Low", "Neutral", "You can book an appointment online.")
98
  ```
 
103
  ## License
104
  This project is open-source under the MIT License.
105