Phildram1 commited on
Commit
12e6ba7
Β·
verified Β·
1 Parent(s): d4f699b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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 Amazon Connect BYOC best practices. The configuration includes:
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 AWS Support or your carrier's technical team for deployment assistance.
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 Amazon Connect BYOC deployments.
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
- # πŸ”’ Amazon Connect BYOC - AI-Powered Configuration Validator
527
  ### Intelligent SBC Analysis & Troubleshooting
528
 
529
- **For Amazon Connect Customers Using Bring Your Own Carrier (BYOC)**
530
 
531
- Validate your SBC configuration and get AI-powered troubleshooting recommendations before connecting to Amazon Connect.
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():