Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.27 KB

Voiceflow API Nim Example

Set up your Voiceflow project with Nim in a matter of minutes. Nim is a statically typed compiled systems programming language.

This example lets you chat with your project via the terminal.

Documentation

For additional information about the Voiceflow API, visit the documentation.

Setup

  1. If you do not yet have Nim installed, install it from here.

  2. Replace 'YOUR_API_KEY_HERE' in src/voiceflow.nim with your Dialog Manager API Key. You can find it under the integrations tab:

  3. Run nimble run to compile and run the app.

Example

What it might look like in action:

$ nimble run

> What is your name?: tyler
what can I do for you?
...
> Say something: send email
who is the recipient?
...
> Say something: [email protected]
what is the title of your email?
...
> Say something: How was your day?
sending the email for [email protected] called "How was your day?". Is that correct?
...
> Say something: yes
successfully sent the email for [email protected] called "How was your day?"
The end!