Code examples for Dasha features, integrations and use cases.
Every example is supposed to be independent and simplified as much as possible due to demonstrate some particular feature or use case.
Standalone services
Examples
- DSL Interrupt exiting dialogue
- DSL Handle voicemail, answering machine and operator messages
- DSL Complex logic in digression
- DSL Slotfilling
- DSL Warm Transfer
Features
- NLU Intents (simple)
- NLU Intents
- NLU Entities (simple)
- NLU Entities
- NLU Sentence Types
- NLU Full example
- NLG phrasemaps
- Random phrase
- Repeat phrase
- Passing args to the phrase
- DSL Blocks
- DSL Context and local variables, digression properties
- DSL NLU control
- DSL NLG control
- DSL Events
- DSL Digressions
- Simple
- Shared
- Preprocessor
- DSL forwarding
- DSL Multi file
- DSL Common libraries
- Answering machine detection
- Pinging user
- What to do, if we don't understand
- DSL HTTP requests
- DSL External functions
- Voice over IP
- SDK overview
- SDK start single call
- SDK conversation data
- input
- output
- audio record
- transcription
- SDK run conversations from csv
- SDK concurrency
- SDK conversation config
- Audio
- Noise volume
- Call records
- SDK conversation channels
- SDK Text To Speech
- pre-recorded
- emotions control
- voice cloning
- Calling application from model
- Isolation between application
- Using groups for isolation
- Web SDK
Integrations
- Join Zoom Conference By Phone
- Use Dasha application in AWS Lambda
- Create in-browser chat with several users
- Use External NLU and Dialogue Model
- Use Dasha as voice provider for existing text chat
- DB
- CSV file
- Postgresql
- Mongo
- MySQL
- HTTP
- Calling HTTP API from your application
- HTTP Server with Dasha
- Chat with Dasha on HTTP
- Talk to Dasha with HTTP
- Storage
- Storing call records
- Storing call transcription
- Monitoring
- Prometheus
- Logging data
Profiling
- Sample profile file