diff --git a/website/comprehensive-demo.html b/website/comprehensive-demo.html index 010e8a3fb..5538216aa 100644 --- a/website/comprehensive-demo.html +++ b/website/comprehensive-demo.html @@ -3,34 +3,52 @@
- Experience all the core features of our enterprise-grade AI system: - emotion detection, voice transcription, text summarization, batch processing, - and real-time monitoring. + Experience the full power of our AI platform with SAMO Whisper for voice transcription, + SAMO T5 for text summarization, and SAMO DeBERTa v3 Large for emotion detection.
- Our flagship feature with >90% F1 score. Analyze text and detect emotions with high accuracy. -
+ Enter text to see our AI pipeline in action +
Analyzing emotions...
- Convert speech to text with emotion analysis using OpenAI Whisper integration. -
Click to start recording
Record audio to see transcription here...
Processing audio...
- Process multiple texts efficiently with optimized batch processing capabilities. -
Processing batch...
- Generate intelligent summaries while preserving emotional context. -
Enter text to see summary here...
Generating summary...
- Live system metrics and performance monitoring dashboard. -
Initializing AI models...
- Enterprise-grade security with rate limiting, input sanitization, and threat detection. -
Test rate limiting by making rapid requests:
{ - "Content-Security-Policy": "default-src 'self'", - "X-Frame-Options": "DENY", - "X-Content-Type-Options": "nosniff", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "strict-origin-when-cross-origin" -}
+
Rate limiting, input sanitization, CORS protection, and API key authentication.
Simple REST API with comprehensive documentation and examples for all frameworks.
Prometheus metrics, health checks, and comprehensive logging for observability.
Integration guides for backend, frontend, UX, and data science teams.
- Comprehensive implementation with enterprise-grade quality and security -
Lines of Code Added
Test Lines
Code Review Issues Fixed
Security Validated
- Test our comprehensive AI platform with emotion detection, voice transcription, and text summarization +
+ Experience the full power of our comprehensive demo with real-time emotion detection, voice transcription, and text summarization
SAMO Whisper
SAMO T5
SAMO DeBERTa v3 Large
+ Try all features with real-time processing +
- Comprehensive integration guides for Backend, Frontend, Data Science, and UX teams with live API endpoints -
import requests -from typing import BinaryIO, IO - -class SAMO_API_Client: - def __init__(self, base_url="https://api.example.com"): - # Replace 'https://api.example.com' with your actual deployment URL - self.base_url = base_url - self.session = requests.Session() - - def analyze_emotion(self, text: str) -> dict: - try: - response = self.session.post( - f"{self.base_url}/predict", - json={"text": text}, - headers={"Content-Type": "application/json"}, - timeout=10 - ) - response.raise_for_status() - return response.json() - except requests.exceptions.RequestException as e: - return {"error": str(e)} - - def transcribe_voice(self, audio_file: BinaryIO | IO[bytes]) -> dict: - if not hasattr(audio_file, "read"): - return {"error": "audio_file must be a binary file-like object (supports .read())"} - files = {"audio_file": audio_file} - try: - response = self.session.post( - f"{self.base_url}/transcribe/voice", - files=files, - timeout=30 - ) - response.raise_for_status() - return response.json() - except requests.exceptions.RequestException as e: - return {"error": str(e)} - -# Example usage -client = SAMO_API_Client() -emotions = client.analyze_emotion("I'm excited!") -# Returns: [{"emotion": "excitement", "confidence": 0.92}]
async function analyzeEmotion(text) { - const response = await fetch( - 'https://samo-unified-api-frrnetyhfa-uc.a.run.app/analyze/journal', - { - method: 'POST', - headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ text, generate_summary: false }) - } - ); - return await response.json(); -} - -// Example usage -const analysis = await analyzeEmotion("This is amazing!"); -console.log(analysis.emotion_analysis?.emotions);
import pandas as pd -import requests - -def analyze_dataset(texts: list) -> pd.DataFrame: - results = [] - for text in texts: - analysis = requests.post( - "https://samo-unified-api-frrnetyhfa-uc.a.run.app/analyze/journal", - json={"text": text, "generate_summary": False} - ).json() - results.append({ - 'text': text, - 'emotions': analysis.get('emotion_analysis', {}).get('emotions', {}) - }) - return pd.DataFrame(results)
// React Native / Flutter -const analyzeUserFeedback = async (feedback) => { - try { - const response = await fetch( - 'https://samo-unified-api-frrnetyhfa-uc.a.run.app/analyze/journal', - { - method: 'POST', - headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ text: feedback, generate_summary: false }) - } - ); - const analysis = await response.json(); - return analysis; - } catch (error) { - console.error('Error:', error); - } -};
- All endpoints are live and ready for production integration +
+ Production endpoints are live at: https://samo-unified-api-optimized-frrnetyhfa-uc.a.run.app
https://samo-unified-api-optimized-frrnetyhfa-uc.a.run.app
- Complete guides and resources for successful integration -
Complete API reference with examples
Step-by-step deployment instructions
Open source project on GitHub
© 2025 SAMO-DL. All rights reserved.
Built with ❤️ for the developer community