|
38 | 38 |
|
39 | 39 | ### Component Diagram |
40 | 40 |
|
41 | | -  |
| 41 | +<img src="./readme/daigrams/Component-daigram.png" alt="Component Diagram" width="600"/> |
42 | 42 |
|
43 | 43 | ### ER Diagram |
44 | 44 |
|
@@ -124,78 +124,10 @@ php artisan test |
124 | 124 |
|
125 | 125 | The AI Agent is like a smart digital assistant that understands what customers want when they send messages or make voice calls to book appointments. It acts like a knowledgeable employee who can instantly help customers 24/7. |
126 | 126 |
|
127 | | -### How It Works: Step by Step |
128 | | - |
129 | | -**1. Customer Input (What Goes In)** |
130 | | - - Text Messages: "I want a haircut tomorrow at 3pm" |
131 | | - - Voice Calls: Customer speaks their request over the phone |
132 | | - - Questions: "What services do you offer?" or "What are your hours?" |
133 | | - |
134 | | -**2. Understanding Phase (What the AI Thinks About)** |
135 | | - - What does this customer want? |
136 | | - - Are they trying to book an appointment? |
137 | | - - Are they asking a question about services? |
138 | | - - Do they want to cancel or reschedule? |
139 | | - - What specific details did they mention? |
140 | | - - Which service? (haircut, facial, massage) |
141 | | - - What date? (tomorrow, Monday, next week) |
142 | | - - What time? (3pm, morning, afternoon) |
143 | | - |
144 | | -**3. Decision Making (What the AI Decides)** |
145 | | - - If it's a booking request: |
146 | | - - Check if the requested service exists |
147 | | - - See if the time slot is available |
148 | | - - Find the right staff member |
149 | | - - Create the appointment |
150 | | - - If it's a question: |
151 | | - - Look up business information (hours, services, prices) |
152 | | - - Provide helpful answers using the business details |
153 | | - - If something is unclear: |
154 | | - - Ask follow-up questions to get missing information |
155 | | - |
156 | | -**4. Taking Action (What the AI Does)** |
157 | | - - For Bookings: |
158 | | - - Creates the appointment in the system |
159 | | - - Assigns the right staff member |
160 | | - - Blocks the time slot so no one else can book it |
161 | | - - For Questions: |
162 | | - - Gathers the relevant business information |
163 | | - - Prepares a helpful response |
164 | | - |
165 | | -**5. Response Generation (What the AI Says Back)** |
166 | | - - The AI creates personalized responses that match the business's style: |
167 | | - - **Booking Confirmation:** |
168 | | - > "Great! I've booked your haircut with Sarah for tomorrow at 3:00 PM. We're excited to see you! 💇♂️" |
169 | | - - **Information Response:** |
170 | | - > "We offer haircuts ($25), beard trims ($15), and styling ($35). Our hours are 9 AM - 6 PM, Monday through Saturday. What would you like to book?" |
171 | | - - **Problem Response:** |
172 | | - > "I'm sorry, 3 PM tomorrow is already taken. How about 2:30 PM or 4:00 PM instead?" |
173 | | - |
174 | | ---- |
175 | | - |
176 | | -### Real Example: Customer Journey |
177 | | - |
178 | | -**Customer sends:** |
179 | | -> "Book me for a facial next Tuesday at 11am" |
180 | | -
|
181 | | -**AI Understands:** This is a booking request for facial service, Tuesday, 11:00 AM |
182 | | -**AI Checks:** Is facial service available? Is Tuesday 11 AM free? Who can do facials? |
183 | | -**AI Finds:** Facial service exists, time is available, Sarah can do it |
184 | | -**AI Books:** Creates appointment: Tuesday 11 AM, Facial with Sarah |
185 | | -**AI Responds:** |
186 | | -> "Perfect! Your facial is booked with Sarah for Tuesday at 11:00 AM. Can't wait to help you relax and rejuvenate! ✨" |
187 | | -
|
188 | | ---- |
| 127 | + |
189 | 128 |
|
190 | 129 | ### Why This Matters for Businesses |
191 | | - |
192 | | -- **24/7 Availability:** Customers can book anytime, even when the business is closed |
193 | | -- **Instant Responses:** No waiting on hold or for callbacks |
194 | | -- **Fewer Mistakes:** AI doesn't forget details or double-book appointments |
195 | | -- **Better Customer Experience:** Friendly, consistent service every time |
196 | | -- **Time Savings:** Staff can focus on providing services instead of answering phones |
197 | | - |
198 | | -The AI Agent essentially acts like having a perfect receptionist who never sleeps, never gets confused, and always knows exactly what services are available and when. |
| 130 | +  |
199 | 131 |
|
200 | 132 | <!-- Deployment --> |
201 | 133 | <img src="./readme/title7.svg"/> |
|
0 commit comments