Developing in Workspace
Creating a workspace project that works with OSCOVA is extremely easy now that Oryzer Studio
comes with all essential nodes for OSCOVA bot development.
Every workspace project for OSCOVA must have the root Oscova Bot
node. This is the node that is parsed by OscovaBot.ImportWorkspace("PATH_TO_WORKSPACE_FILE")
.
Note
Syn Oryzer Studio is now the default Integrated Development Environment for both Workspace and SIML development.
Creating a Dialog
To create a new Dialog for Oscova Bot do the following:
- Search (by pressing CTRL+F) and type
Oscova
- Drag the
Oscova Bot
node to Workspace graph - Search
Dialog
and drag theDialog
node to workspace graph. - Name the dialog anything you like.
- Connect the dialog to the
Oscova Bot
node.
:video videos/workspace/create-dialog.mp4
Adding an Intent
To create an Intent you'll need to connect the intent to a Dialog node and provide one or even a list of expressions that will be matched against user query. If an expression is similar to user query the intent will be called/invoked.
- Connect an
Intent
node to aDialog
node - Name an the Intent
greet_intent
- Connect either an
Expression List
or anExpression
node to it - Specify example user query.
:video videos/workspace/create-intent.mp4
Creating a Response
The Response Node enables an Intent, Event and or an Action to generate a response when an expression is matched, an event or an Action is called.
- Connect a
Response
node to theIntent
node - Add a
Text Message
node - Provide a list of values as response
:video videos/workspace/create-response.mp4
SIML Support
SIML Development in Oryzer Studio is supported via the SIML Document Node. The SIML Document Node provides an SIML editor that's very similar to what you've had in Syn Bot Studio.
To add an SIML code to Workspace project:
- Simply add and connect an
SIML Document
node to the mainOscova Bot
node.
:video videos/workspace/siml-document.mp4