Frequently Asked Questions¶
Alan AI Studio¶
How can I test my scripts in Alan AI Studio?¶
How can I test my scripts in Alan AI Studio?
You can test your scripts with the Debugging Chat in the right pane of Alan AI Studio. Prior to testing, be sure to save your changes using the Save Changes button.
Can I edit and delete predefined scripts added to my Alan AI Studio project?¶
Can I edit and delete predefined scripts added to my Alan AI Studio project?
Yes, after you add predefined scripts to your project, you can edit or delete them as you’d like.
How many projects can I have in my Alan AI Studio account?¶
How many projects can I have in my Alan AI Studio account?
You can create as many projects as you need in your Alan AI Studio account.
Is there a limit on the number of users who can access the AI assistant?¶
Is there a limit on the number of users who can access the AI assistant?
There is no limitation on the number of users interacting with the AI assistant.
However, you can intentionally make the AI assistant available to a limited group of users with the cohorts functionality, for example, in a staged rollout scenario.
What is the QR code used for in Alan AI Studio?¶
What is the QR code used for in Alan AI Studio?
With the QR code, you can test an app integrated with Alan on your mobile device. Download and install Alan AI Playground on your iOS or Android device, scan the QR code with the device camera and tap the Alan AI button in the app to start testing it.
Integration and implementation¶
What platforms does Alan integrate with?¶
What platforms does Alan integrate with?
Alan integrates with any iOS, Android or web app. It also integrates with cross-platform apps like Flutter, Ionic and React Native.
How can I test my new Alan project on mobile?¶
How can I test my new Alan project on mobile?
There are two ways to test your Alan AI Studio project on the mobile platform:
With Alan Playground: In Alan AI Studio, go to the Playground section — here you will see the QR code. In Alan AI Playground, click Scan QR Code, scan the QR code of the project with the device camera and test your AI assistant on the device.
Using your app UI: if your app already has the Alan AI button, you can use it to test a new Alan AI Studio project. Launch the app on mobile, tap the Alan AI button and hold it for 8 seconds. In Alan AI Studio, go to the Playground section and scan the QR code with the device camera. You can now test your AI assistant project.
Can I change Alan’s voice to female voice?¶
Can I change Alan’s voice to female voice?
You can change Alan’s voice in Alan AI Studio. Alan AI lets you select the voice type: male or female, and the regional accent for all languages you want to use in your AI assistant.
Can I define my own entities in Alan AI?¶
Can I define my own entities in Alan AI?
In Alan AI, users can define their own entities from either discrete sets of data (for example, days of the week), regular expressions or through custom slots with fuzzy matching where entities can be constructed around ‘hard-to-pronounce’ words or phrases.
What extra permissions do Alan AI apps need?¶
What extra permissions do Alan AI apps need?
Apps that use Alan AI only need the user to grant microphone access to work.
How do I activate the AI assistant?¶
How do I activate the AI assistant?
To start interacting with Alan, you can do one of the following:
Tap the assistant button in the app
On iOS and Android platforms, use the wake word to activate the assistant. Make sure the wake word option is enabled for your assistant project.
Use the activate() method of the Alan client API to activate the Alan AI button programmatically.
How do I stop voice interaction?¶
How do I stop voice interaction?
To stop interacting with Alan AI, you can do one of the following:
Tap the assistant button in the app
Say one of the following phrases to deactivate the Alan AI button with voice:
Thank you Alan
Alan thank you
Use the deactivate() method of the Alan client API to deactivate the Alan button programmatically.
Can I customize the ‘Hey Alan’ wake word?¶
Can I customize the ‘Hey Alan’ wake word?
Yes, you can use a custom wake word for your AI assistant. Please contact the Alan AI team for details.
Does the microphone usage with Alan AI drain the battery faster?¶
Does the microphone usage with Alan AI drain the battery faster?
Battery consumption with Alan AI from the microphone is minimal. The Alan AI SDKs have default settings that turn the microphone off automatically after a brief period of inactivity; however, the microphone timeout can be increased or decreased based on developer preferences in Alan AI Studio.
What if I migrate my data from one service to another?¶
What if I migrate my data from one service to another?
Your data can be hosted anywhere, you will still be able to work with Alan AI.
How to pass POST parameters from Alan AI Studio?¶
How to pass POST parameters from Alan AI Studio?
Does Alan AI Studio have different instances for Development, QA and Production?¶
Does Alan AI Studio have different instances for Development, QA and Production?
Alan AI Studio has three separate instances for you to use in any project: Development, Testing and Production.
Is there an activation phrase?¶
Is there an activation phrase?
Yes, the default activation phrases are
Hey, Alan and
OK, Alan. Make sure the wake word option is enabled for your assistant project.
How is it better than Dialogflow?¶
How is it better than Dialogflow?
How much does it cost to get started?¶
How much does it cost to get started?
See Plans & Pricing for details.
Can I use any database or backend?¶
Can I use any database or backend?
Yes, any database or backend can be used.
I saw the infrastructure scheme of the Alan AI Platform. What parts do I have to deploy?¶
I saw the infrastructure scheme of the Alan AI Platform. What parts do I have to deploy?
You only need an app or device to run Alan AI.
What does ‘p’ mean in Alan AI Studio example scripts?¶
What does ‘p’ mean in Alan AI Studio example scripts?
This is a name of the variable that references an object you can use to call Alan AI Studio SDK methods. It also contains data for a user voice session and other contextual information. You can use any name for this variable.
This object has:
Slot values for intents, for example:
intent("$(A cat|dog|pig)", p => p.play("You say " + p.A.value)).
play: a method to playback voice responses.
state: an object for storing context data.
userData: an object for storing user data during the current dialog session.
auth: an object that accepts configuration from the client (mobile or web). Typically, it can be used for passing authorization data for external services.
You can return a
valuefrom the current context by calling
How do I catch unrecognized voice commands?¶
How do I catch unrecognized voice commands?
To see the list of user’s utterances that your AI assistant failed to understand and match to the voice commands in your script, do either of the following:
Open Alan AI Studio logs and click the Unrecognized filter option.
Go to the Analytics view and check the Interactions widget. Make sure the Unrecognized filter is on.
If you want to catch the utterance as the user pronounces it, you can use the Record intent audio option. In Alan AI Studio, go to the Integrations section and in the button settings section, enable this option. With this option enabled, you will see the play icon to next to an unrecognized command in Alan AI Studio logs. Click this icon to listen to the intent audio.
Can I integrate Alan AI with WordPress?¶
Can I integrate Alan AI with WordPress?
Alan AI can be integrated with any project built with the supported languages and frameworks. The backend of your app does not matter since integration is accomplished mostly on the frontend side.
I get an error when downloading Alan AI SDK files¶
I get an error when downloading Alan AI SDK files
Check the Internet connection to your device and your computer.
Can I start my app with Alan AI using Siri or Google Assistant?¶
Can I start my app with Alan AI using Siri or Google Assistant?
To start your voice-enabled app through Siri or Google Assistant, use the native Apple or Google functionality. Summon Siri or Google Assistant on your device and say:
Launch <your app name> (for Siri) or
Open <your app name> (for Google Assistant). For details, see Siri documentation and Google Assistant documentation.
How to pass parameters from iOS to Alan AI Studio?¶
How to pass parameters from iOS to Alan AI Studio?
You can do this in a few ways:
When you are creating a connection, you can pass a JSON object.
You can call a JS function with parameters.
We have functionality to set the visual context using the SDK.
I get permissions errors on iOS. What should I do?¶
I get permissions errors on iOS. What should I do?
In iOS, the user must explicitly grant permission for an app to access the device microphone and camera. The
Info.plist file of the app must contain
NSCameraUsageDescription keys with string values explaining how the app uses this data.
To add these keys, go to Info > Custom iOS Target Properties, add the Privacy - Microphone Usage Description and Privacy - Camera Usage Description permissions to the list and provide the descriptions for them. For details, see iOS Developer documentation.
How do I allow the microphone usage for a website viewed locally?¶
How do I allow the microphone usage for a website viewed locally?
If you add the Alan AI button to a webpage or website viewed locally, for example, for debugging purposes, the browser will require you to allow microphone access every time you activate the button. To allow microphone access permanently, in Safari, go to Safari > Preferences > Websites, select Microphone and change the microphone permission to Allow.
Security and privacy¶
Does Alan AI record my conversations?¶
Does Alan AI record my conversations?
Alan AI does not record or store your conversations audio data. Alan AI does store the Speech to Text commands and responses from your app’s usage, which is entirely private to you and inaccessible to Alan AI’s employees and any third-party engines.
Does Alan AI encrypt data?¶
Does Alan AI encrypt data?
The client app and Alan AI Cloud exchange data on an encrypted HTTPS/TLS channel. The Alan AI Platform supports the latest recommended secure cipher suites to encrypt all traffic in transit, including the TLS 1.2 protocol, and SHA2 signatures.
The Alan AI SDKs store no data on the local device. The Alan AI Cloud stores analytics and performance data in files and databases. This data is encrypted using AES-256 encryption and can be further enhanced with enterprise private keys.
Alan AI technologies¶
What is SLU?¶
What is SLU?
Spoken Language Understanding (SLU) is a voice processing technology designed to work with the error-prone output of Automatic Speech Recognition (ASR) instead of written text, like chatbots.
What is the Domain Language Model?¶
What is the Domain Language Model?
The Domain Language Model is a unique procedure Alan AI uses for training our Speech Recognition software to better recognize the specialized language of your app, dynamically adapting to your users’ conversational style.
What is an intent?¶
What is an intent?
An intent is a voice command the user says to receive a voice response or perform some action in an app.
What is an entity?¶
What is an entity?
An entity is a specific part of speech or text holding data such as name or height. Each entity is part of an intent and conveys a set of information to the developer, for example, date, location and so on.
What is a context?¶
What is a context?
A context is the situation in which a conversation occurs. Contexts are a cornerstone in Alan’s conversational design as they dictate the flow of the conversation, much like in the real world, where different contexts may provide different meanings to the same sentence. In Alan AI Studio, developers can create unique context functions to specify the steps of the dialog and create interactive multi-stage conversations.
What is an interaction?¶
What is an interaction?
An interaction is a user’s utterance associated with an AI assistant’s reply.
What is a user?¶
What is a user?
A unique user is a device from which the user connects to the AI assistant in your app. That is, if the user initiates several dialog sessions from the same device, he or she will still be considered a unique user.