Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -217,7 +217,7 @@ def analyze_configuration(config_text):
|
|
| 217 |
|
| 218 |
**Status:** No critical issues detected
|
| 219 |
|
| 220 |
-
**Summary:** Your SBC configuration follows
|
| 221 |
- β
Proper codec negotiation (PCMU/PCMA/Opus)
|
| 222 |
- β
SRTP encryption enforced
|
| 223 |
- β
TLS 1.2+ for signaling security
|
|
@@ -232,7 +232,7 @@ def analyze_configuration(config_text):
|
|
| 232 |
2. Monitor call metrics for 24-48 hours
|
| 233 |
3. Review Amazon Connect contact flow integration
|
| 234 |
|
| 235 |
-
**Need Help?** Contact
|
| 236 |
"""
|
| 237 |
|
| 238 |
# Issues found - categorize by severity
|
|
@@ -314,7 +314,7 @@ def ai_troubleshoot(symptom_description, request: gr.Request):
|
|
| 314 |
print(f"DEBUG: Creating Anthropic client") # Debug
|
| 315 |
client = anthropic.Anthropic(api_key=api_key)
|
| 316 |
|
| 317 |
-
prompt = f"""You are an expert SBC (Session Border Controller) troubleshooting assistant for
|
| 318 |
|
| 319 |
A customer reports the following issue:
|
| 320 |
"{symptom_description}"
|
|
@@ -523,12 +523,12 @@ demo = gr.Blocks(theme=gr.themes.Soft(), title="Amazon Connect BYOC - AI-Powered
|
|
| 523 |
with demo:
|
| 524 |
|
| 525 |
gr.Markdown("""
|
| 526 |
-
# π
|
| 527 |
### Intelligent SBC Analysis & Troubleshooting
|
| 528 |
|
| 529 |
-
**For
|
| 530 |
|
| 531 |
-
Validate your SBC configuration and get AI-powered troubleshooting recommendations before connecting to
|
| 532 |
""")
|
| 533 |
|
| 534 |
with gr.Tabs():
|
|
|
|
| 217 |
|
| 218 |
**Status:** No critical issues detected
|
| 219 |
|
| 220 |
+
**Summary:** Your SBC configuration follows the service best practices. The configuration includes:
|
| 221 |
- β
Proper codec negotiation (PCMU/PCMA/Opus)
|
| 222 |
- β
SRTP encryption enforced
|
| 223 |
- β
TLS 1.2+ for signaling security
|
|
|
|
| 232 |
2. Monitor call metrics for 24-48 hours
|
| 233 |
3. Review Amazon Connect contact flow integration
|
| 234 |
|
| 235 |
+
**Need Help?** Contact Support or your carrier's technical team for deployment assistance.
|
| 236 |
"""
|
| 237 |
|
| 238 |
# Issues found - categorize by severity
|
|
|
|
| 314 |
print(f"DEBUG: Creating Anthropic client") # Debug
|
| 315 |
client = anthropic.Anthropic(api_key=api_key)
|
| 316 |
|
| 317 |
+
prompt = f"""You are an expert SBC (Session Border Controller) troubleshooting assistant for BYOC service deployments.
|
| 318 |
|
| 319 |
A customer reports the following issue:
|
| 320 |
"{symptom_description}"
|
|
|
|
| 523 |
with demo:
|
| 524 |
|
| 525 |
gr.Markdown("""
|
| 526 |
+
# π Bring Your Own Carrier BYOC - AI-Powered Configuration Validator
|
| 527 |
### Intelligent SBC Analysis & Troubleshooting
|
| 528 |
|
| 529 |
+
**For Customers Using Bring Your Own Carrier (BYOC)**
|
| 530 |
|
| 531 |
+
Validate your SBC configuration and get AI-powered troubleshooting recommendations before connecting to the service.
|
| 532 |
""")
|
| 533 |
|
| 534 |
with gr.Tabs():
|