Comments (1)
Hi, @RohanSM123 ,
both methods can be used for sending data to the voice script.
You can use visualState
to pass the current state of the app to the voice script. visualState
can be helpful if you need to know the app state to adjust the logic in the dialog flow, for example, filter out some voice commands, give responses applicable to this state and so on.
The projectAPI
method has a more general usage. It can help if you need to pass any data to the voice script or perform some actions (call functions, set variable values) without a voice command.
from alan-sdk-web.
Related Issues (17)
- Option to fix the position of alan button on web page. HOT 2
- Navigator error HOT 1
- Alan Button Not Visible HOT 1
- Wakeword not working. HOT 2
- Is there a way to share my voice script within the Studio with someone else? Some kind of ID to be added to the URL or similar? HOT 1
- I do not need the text panel with words. Can I remove it (and how) to leave only the button? HOT 1
- Python support for voice scripts? HOT 1
- Multiple instances of Alan is opening while running HOT 2
- Feature request: Typescript type definition HOT 1
- Defining context() in studio editor fails instantaneously. HOT 2
- Preview Logo Image Link HOT 1
- Onclick show and hide alan btn HOT 1
- Send a command from client to script without voice
- How to capture the speech-to-text results? HOT 1
- microphone is not allowed in this document HOT 1
- Console displaying Alan AI api key.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alan-sdk-web.