Skip to content

VAP3-537: Update multilingual guide, add multilingual assistant example #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,184 changes: 1,184 additions & 0 deletions fern/assistants/examples/multilingual-agent.mdx

Large diffs are not rendered by default.

526 changes: 508 additions & 18 deletions fern/customization/multilingual.mdx

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ navigation:
- page: Documentation agent
path: assistants/examples/docs-agent.mdx
icon: fa-light fa-microphone
- page: Multilingual agent
path: assistants/examples/multilingual-agent.mdx
icon: fa-light fa-globe

- section: Workflows
contents:
Expand All @@ -255,6 +258,9 @@ navigation:
- page: Order management
path: workflows/examples/ecommerce-order-management.mdx
icon: fa-light fa-shopping-cart
- page: Multilingual support
path: workflows/examples/multilingual-support.mdx
icon: fa-light fa-globe

- section: Best practices
contents:
Expand Down
16 changes: 16 additions & 0 deletions fern/guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ slug: guides
<br />
Create an outbound sales agent that can schedule appointments automatically
</Card>
<Card title="Multilingual Support Workflow" icon="globe" href="/workflows/examples/multilingual-support">
<div className='absolute top-4 right-4'>
<Icon icon="arrow-up-right-from-square" />
</div>
<div class="vapi-badge vapi-badge-workflow">Built with Workflows</div>
<br />
Build a structured multilingual support workflow with language selection and dedicated conversation paths
</Card>
<Card title="Dynamic Multilingual Agent" icon="language" href="/assistants/examples/multilingual-agent">
<div className='absolute top-4 right-4'>
<Icon icon="arrow-up-right-from-square" />
</div>
<div class="vapi-badge vapi-badge-assistant">Built with Assistants</div>
<br />
Build a dynamic agent with automatic language detection and real-time language switching
</Card>
<Card title="Docs Agent" icon="book-open" href="/assistants/examples/docs-agent">
<div className='absolute top-4 right-4'>
<Icon icon="arrow-up-right-from-square" />
Expand Down
4 changes: 2 additions & 2 deletions fern/providers/model/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: providers/model/openai

**What is OpenAI?**

OpenAI is a leading artificial intelligence research and deployment company dedicated to ensuring that artificial general intelligence (AGI) benefits all of humanity. Founded with the mission to create safe and highly capable AI systems, OpenAI has made significant strides in AI research, producing groundbreaking models like GPT-4, DALL-E, and Codex. These innovations have not only advanced the field of AI but also transformed various industries by providing powerful tools for natural language processing, image generation, and programming assistance.
OpenAI is a leading artificial intelligence research and deployment company dedicated to ensuring that artificial general intelligence (AGI) benefits all of humanity. Founded with the mission to create safe and highly capable AI systems, OpenAI has made significant strides in AI research, producing groundbreaking models like GPT-4o, DALL-E, and Codex. These innovations have not only advanced the field of AI but also transformed various industries by providing powerful tools for natural language processing, image generation, and programming assistance.

**The Evolution of AI Research:**

Expand All @@ -19,7 +19,7 @@ OpenAI offers a range of AI-driven products and services designed to meet divers

**GPT Models:**

- OpenAI’s Generative Pre-trained Transformer (GPT) models, including the latest GPT-4, are state-of-the-art in natural language processing. These models can generate human-like text, answer questions, summarize information, and perform various language tasks with high accuracy. GPT-4, in particular, represents a significant leap in AI capabilities, offering improved coherence, context understanding, and creativity.
- OpenAI’s Generative Pre-trained Transformer (GPT) models, including the latest GPT-4o, are state-of-the-art in natural language processing. These models can generate human-like text, answer questions, summarize information, and perform various language tasks with high accuracy. GPT-4o, in particular, represents a significant leap in AI capabilities, offering improved coherence, context understanding, and creativity.

**DALL-E:**

Expand Down
4 changes: 2 additions & 2 deletions fern/providers/voice/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: providers/voice/openai

**What is OpenAI?**

OpenAI is a leading artificial intelligence research and deployment company dedicated to ensuring that artificial general intelligence (AGI) benefits all of humanity. Founded with the mission to create safe and highly capable AI systems, OpenAI has made significant strides in AI research, producing groundbreaking models like GPT-4, DALL-E, and Codex. These innovations have not only advanced the field of AI but also transformed various industries by providing powerful tools for natural language processing, image generation, and programming assistance.
OpenAI is a leading artificial intelligence research and deployment company dedicated to ensuring that artificial general intelligence (AGI) benefits all of humanity. Founded with the mission to create safe and highly capable AI systems, OpenAI has made significant strides in AI research, producing groundbreaking models like GPT-4o, DALL-E, and Codex. These innovations have not only advanced the field of AI but also transformed various industries by providing powerful tools for natural language processing, image generation, and programming assistance.

**The Evolution of AI Research:**

Expand All @@ -19,7 +19,7 @@ OpenAI offers a range of AI-driven products and services designed to meet divers

**GPT Models:**

- OpenAI’s Generative Pre-trained Transformer (GPT) models, including the latest GPT-4, are state-of-the-art in natural language processing. These models can generate human-like text, answer questions, summarize information, and perform various language tasks with high accuracy. GPT-4, in particular, represents a significant leap in AI capabilities, offering improved coherence, context understanding, and creativity.
- OpenAI’s Generative Pre-trained Transformer (GPT) models, including the latest GPT-4o, are state-of-the-art in natural language processing. These models can generate human-like text, answer questions, summarize information, and perform various language tasks with high accuracy. GPT-4o, in particular, represents a significant leap in AI capabilities, offering improved coherence, context understanding, and creativity.

**DALL-E:**

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions fern/static/spreadsheets/multilingual-support/customers.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
customer_id,name,email,phone,preferred_language,region,account_status,support_tier
C001,Sarah Johnson,sarah.johnson@email.com,+1-555-0101,english,north_america,active,premium
C002,María González,maria.gonzalez@email.com,+34-600-123456,spanish,spain,active,standard
C003,Jean Dubois,jean.dubois@email.com,+33-1-23456789,french,france,active,premium
C004,Carlos Restrepo,carlos.restrepo@email.com,+52-55-12345678,spanish,mexico,active,standard
C005,Emily Chen,emily.chen@email.com,+1-555-0102,english,north_america,active,enterprise
C006,Sophie Martin,sophie.martin@email.com,+1-514-1234567,french,canada,active,premium
C007,Antonio Silva,antonio.silva@email.com,+34-91-2345678,spanish,spain,inactive,standard
C008,Michael Thompson,michael.thompson@email.com,+44-20-12345678,english,uk,active,standard
C009,Luisa Fernández,luisa.fernandez@email.com,+57-1-3456789,spanish,colombia,active,premium
C010,Pierre Leblanc,pierre.leblanc@email.com,+33-4-56789012,french,france,active,standard
C011,Jennifer Davis,jennifer.davis@email.com,+1-555-0103,english,north_america,active,standard
C012,Isabel Rodríguez,isabel.rodriguez@email.com,+52-33-45678901,spanish,mexico,suspended,standard
C013,François Moreau,francois.moreau@email.com,+1-418-5678901,french,canada,active,enterprise
C014,David Wilson,david.wilson@email.com,+1-555-0104,english,north_america,active,premium
C015,Carmen López,carmen.lopez@email.com,+34-93-6789012,spanish,spain,active,standard
11 changes: 11 additions & 0 deletions fern/static/spreadsheets/multilingual-support/products.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
product_id,name_en,name_es,name_fr,category,price_usd,description_en,description_es,description_fr,availability
P001,CloudSync Pro,CloudSync Pro,CloudSync Pro,cloud_storage,29.99,"Professional cloud storage with 1TB space and advanced sharing","Almacenamiento en la nube profesional con 1TB de espacio y compartición avanzada","Stockage cloud professionnel avec 1 To d'espace et partage avancé",available
P002,SecureVPN Enterprise,VPN Segura Empresarial,VPN Sécurisé Entreprise,security,49.99,"Enterprise-grade VPN with global servers and 24/7 support","VPN de nivel empresarial con servidores globales y soporte 24/7","VPN de niveau entreprise avec serveurs mondiaux et support 24h/24",available
P003,DataAnalytics Suite,Suite de Análisis de Datos,Suite d'Analyse de Données,analytics,99.99,"Complete data analytics platform with AI-powered insights","Plataforma completa de análisis de datos con insights impulsados por IA","Plateforme d'analyse de données complète avec des insights alimentés par l'IA",available
P004,Mobile App Builder,Constructor de Apps Móviles,Constructeur d'Apps Mobiles,development,79.99,"No-code mobile app development platform","Plataforma de desarrollo de aplicaciones móviles sin código","Plateforme de développement d'applications mobiles sans code",available
P005,Smart Backup Pro,Backup Inteligente Pro,Sauvegarde Intelligente Pro,backup,19.99,"Automated backup solution with intelligent scheduling","Solución de respaldo automatizada con programación inteligente","Solution de sauvegarde automatisée avec planification intelligente",available
P006,Team Collaboration Hub,Centro de Colaboración,Hub de Collaboration,collaboration,39.99,"All-in-one team collaboration platform","Plataforma de colaboración en equipo todo-en-uno","Plateforme de collaboration d'équipe tout-en-un",available
P007,AI Assistant Pro,Asistente IA Pro,Assistant IA Pro,ai,149.99,"Advanced AI assistant for business automation","Asistente de IA avanzado para automatización empresarial","Assistant IA avancé pour l'automatisation des entreprises",beta
P008,Network Monitor,Monitor de Red,Moniteur Réseau,monitoring,59.99,"Real-time network monitoring and alerting","Monitoreo de red en tiempo real y alertas","Surveillance réseau en temps réel et alertes",available
P009,Database Optimizer,Optimizador de Base de Datos,Optimiseur de Base de Données,database,89.99,"Database performance optimization tool","Herramienta de optimización de rendimiento de base de datos","Outil d'optimisation des performances de base de données",available
P010,Code Review Assistant,Asistente de Revisión de Código,Assistant de Révision de Code,development,69.99,"Automated code review with quality insights","Revisión automatizada de código con insights de calidad","Révision automatisée du code avec des insights qualité",coming_soon
13 changes: 13 additions & 0 deletions fern/static/spreadsheets/multilingual-support/support_articles.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
article_id,title_en,title_es,title_fr,category,language,content_summary_en,content_summary_es,content_summary_fr,tags
A001,How to Reset Your Password,Cómo Restablecer tu Contraseña,Comment Réinitialiser votre Mot de Passe,account,all,"Step-by-step guide to reset your account password","Guía paso a paso para restablecer la contraseña de tu cuenta","Guide étape par étape pour réinitialiser le mot de passe de votre compte","password,reset,login,account"
A002,CloudSync Setup Guide,Guía de Configuración CloudSync,Guide de Configuration CloudSync,cloud_storage,all,"Complete setup instructions for CloudSync Pro","Instrucciones completas de configuración para CloudSync Pro","Instructions de configuration complètes pour CloudSync Pro","cloudsync,setup,storage,sync"
A003,VPN Connection Issues,Problemas de Conexión VPN,Problèmes de Connexion VPN,security,all,"Troubleshoot common VPN connection problems","Solucionar problemas comunes de conexión VPN","Dépanner les problèmes de connexion VPN courants","vpn,connection,troubleshooting,network"
A004,Data Export Tutorial,Tutorial de Exportación de Datos,Tutoriel d'Exportation de Données,analytics,all,"How to export data from DataAnalytics Suite","Cómo exportar datos de la Suite de Análisis de Datos","Comment exporter des données de la Suite d'Analyse de Données","export,data,analytics,tutorial"
A005,Mobile App Publishing,Publicación de Apps Móviles,Publication d'Applications Mobiles,development,all,"Guide to publish your mobile app","Guía para publicar tu aplicación móvil","Guide pour publier votre application mobile","mobile,app,publishing,development"
A006,Backup Schedule Configuration,Configuración de Horario de Respaldo,Configuration de Planification de Sauvegarde,backup,all,"Set up automated backup schedules","Configurar horarios de respaldo automatizados","Configurer des planifications de sauvegarde automatisées","backup,schedule,automation,configuration"
A007,Team Permissions Management,Gestión de Permisos de Equipo,Gestion des Permissions d'Équipe,collaboration,all,"Manage team member permissions and roles","Gestionar permisos y roles de miembros del equipo","Gérer les permissions et rôles des membres de l'équipe","team,permissions,roles,management"
A008,Billing and Subscription Help,Ayuda de Facturación y Suscripción,Aide Facturation et Abonnement,billing,all,"Common billing questions and solutions","Preguntas comunes de facturación y soluciones","Questions de facturation courantes et solutions","billing,subscription,payment,invoice"
A009,API Integration Guide,Guía de Integración API,Guide d'Intégration API,development,all,"How to integrate with GlobalTech APIs","Cómo integrar con las APIs de GlobalTech","Comment intégrer avec les API GlobalTech","api,integration,development,documentation"
A010,Security Best Practices,Mejores Prácticas de Seguridad,Meilleures Pratiques de Sécurité,security,all,"Essential security guidelines for account protection","Pautas esenciales de seguridad para protección de cuenta","Directives de sécurité essentielles pour la protection de compte","security,best practices,protection,guidelines"
A011,Performance Optimization,Optimización de Rendimiento,Optimisation des Performances,performance,all,"Tips to improve system performance","Consejos para mejorar el rendimiento del sistema","Conseils pour améliorer les performances du système","performance,optimization,speed,efficiency"
A012,Troubleshooting Login Issues,Solución de Problemas de Inicio de Sesión,Dépannage des Problèmes de Connexion,account,all,"Fix common login and authentication problems","Solucionar problemas comunes de inicio de sesión y autenticación","Corriger les problèmes de connexion et d'authentification courants","login,authentication,troubleshooting,access"
Loading
Loading