DEV Community

Cover image for What is Dasha AI?
Dasha
Dasha

Posted on

What is Dasha AI?

You’ve probably heard the terms “conversational AI” and “chatbot” being thrown around. Nowadays, it seems like everyone is getting into the chatbot game, but what is Dasha AI? What does it mean to be a conversational-AI-as-a-service?

In this article, I’ll explain all of this and more. I’ll also describe the Dasha AI Platform, how it operates, and give you a few examples of what you can do with Dasha.

What is Dasha AI?

Dasha is a conversational-AI-as-a-service platform that lets you embed realistic voice and text conversational capabilities into your apps or products. By creating a simple conversational AI app, you can create a conversational experience that is natural, intuitive, and engaging. Just like a human, Dasha can hold a conversation with you, ask questions, and help you and/or your company complete tasks that can be and should be automated.
To sound indistinguishable from a human, Dasha uses a set of machine learning (ML), natural language processing (NLP), text-to-speech (TTS), speech-to-text (STT).

What can you build with Dasha?

You could start off by building a simple insurance customer service app:

Embedded content: https://www.youtube.com/watch?v=46nyWBTSHgs

Or an automated receptionist for a hotel front desk:

Embedded content: https://www.youtube.com/watch?v=2Glp_HC-VHc&t=29s

OR you can integrate Dasha with an incident management platform to be able to resolve incidents on the go:

Embedded content: https://www.youtube.com/watch?v=TeJAFI993_0

Or build an app to qualify inbound leads and integrate it with Hubspot:

Embedded content: https://youtu.be/MjKQ2Zibqgk

How Dasha works

How Dasha works

Architecture overview

Architecture Overview

Dasha platform consists of 3 main parts:

  • Dasha Cloud
  • Dasha SDK
  • Dasha Studio

Dasha SDK

The Dasha SDK (software development kit) is an abstraction layer that lets you connect your locally stored conversational application to the Dasha AI as a service cloud platform where it is executed. It hides (abstracts) communication channels from you and, like other libraries, gives you a programmable Node.js interface that you can use every day.
We regularly update Dasha SDK so that the users have the best experience possible.

Dasha Cloud

Dasha Cloud provides conversational AI as a service. This means that you don’t need to be a data scientist to use machine learning when building Dasha conversational apps. For example with Dasha Cloud, your app uses an NLU based on neural networks that are trained with the data you provide, Speech To Text, Voice Activity Detectors, and many other things.
Here is a detailed overview of these cloud AI services.
We use GRPC for communication between SDK and the Dasha Cloud. Here are its advantages:

  • You can connect to Dasha from anywhere, from your PC, from a test environment, from another cloud.
  • You do not need to have the public IP address, DNS name, TLS Certificate, because the connection is initiated from your side. Dasha has DNS names, TLS Certificates.
  • It's easier to implement A/B testing and scaling of your application.
  • It's secure. You do not need to expose any HTTPS endpoints to the world.

Dasha Studio

Dasha Studio is a Visual Studio Code extension. It lets you build, train manage and deploy Dasha applications. Dasha apps are human-like voice interfaces for CX, support, sales,notifications, smart IVRs or voice interfaces for web and mobile applications and games.You can also add conversational capabilities to websites, games, mobile apps, voice assistants, smart devices, and more with only a few lines of code, from Visual Studio Code.
Since Dasha is an open technology you can write Dasha apps without using Dasha Studio but you will lose out on the syntax highlighting, visual graph editor and debugging tools. All code you write resides on your machine and is your intellectual property.
The language you'll be using to write your conversational AI apps is DashaScript which is the native language of the Dasha Cloud Platform.

DashaScript

DashaScript is an event-driven declarative programming language used to design complex real-world conversations that pass a limited Turing test. Automate call center conversations, recreate the Google Duplex demo in under 400 lines of code or create a no-code GUI for your users that translates into DashaScript code.
DashaScript program consists of nodes representing AI actions and transitions between nodes representing conversation events. The program written in DashaScript is called a script. The script is an integral part of your dashaapp that determines its behavior at runtime.

Files that comprise your Dasha conversational AI app

Take any Dasha app. You will see the /app folder - this is where your Dasha application resides.
In building Dasha apps in VSCode, you will mainly work with three files:

  • main.dsl is the Dasha Scripting Language file. DSL is a domain-specific language, derived from TypeScript and used for the exclusive purpose of describing a conversation. You can read more about it in our documentation.
  • data.json is the data set you provide to train the Dasha Cloud neural networks to recognize user intents and identify named entities. I'll discuss them in detail right below.
  • index.js is the server-side JavaScript file to which the Dasha SDK is imported and which launches the contents of the /app folder to the Dasha Cloud to be executed.

Join Dasha Developer Community and check Dasha out for yourself

Join us in the Dasha developer community for guidance on your exciting journey of conversational AI app creation. We share thoughts, ideas, problems, and solutions here. See what you can create!

Godspeed! :)

Top comments (0)