All Projects → voiceflow → general-runtime

voiceflow / general-runtime

Licence: other
Runtime for executing voiceflow projects and conversational state management across different platforms

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to general-runtime

Ai Chatbot Framework
A python chatbot framework with Natural Language Understanding and Artificial Intelligence.
Stars: ✭ 1,564 (+6416.67%)
Mutual labels:  conversation
Chatbot Watson Android
An Android ChatBot powered by Watson Services - Assistant, Speech-to-Text and Text-to-Speech on IBM Cloud.
Stars: ✭ 169 (+604.17%)
Mutual labels:  conversation
vr-speech-sandbox-cardboard
WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Stars: ✭ 27 (+12.5%)
Mutual labels:  conversation
Chat Ui Kit React
Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Stars: ✭ 131 (+445.83%)
Mutual labels:  conversation
A Hierarchical Latent Structure For Variational Conversation Modeling
PyTorch Implementation of "A Hierarchical Latent Structure for Variational Conversation Modeling" (NAACL 2018 Oral)
Stars: ✭ 153 (+537.5%)
Mutual labels:  conversation
Dmarchiver
A tool to archive the direct messages, images and videos from your private conversations on Twitter
Stars: ✭ 204 (+750%)
Mutual labels:  conversation
What I Have Read
Paper Lists, Notes and Slides, Focus on NLP. For summarization, please refer to https://github.com/xcfcode/Summarization-Papers
Stars: ✭ 110 (+358.33%)
Mutual labels:  conversation
flutter freshchat
The unofficial flutter plugin for Freshchat
Stars: ✭ 31 (+29.17%)
Mutual labels:  conversation
Scrape Twitter
🐦 Access Twitter data without an API key. [DEPRECATED]
Stars: ✭ 166 (+591.67%)
Mutual labels:  conversation
wolf-core
🐺 Declarative development for state driven dynamic prompt flow
Stars: ✭ 26 (+8.33%)
Mutual labels:  conversation
Chatterbot
ChatterBot is a machine learning, conversational dialog engine for creating chat bots
Stars: ✭ 11,813 (+49120.83%)
Mutual labels:  conversation
Conversation Tensorflow
TensorFlow implementation of Conversation Models
Stars: ✭ 143 (+495.83%)
Mutual labels:  conversation
Acts As Messageable
Gem that allows communication between the models.
Stars: ✭ 242 (+908.33%)
Mutual labels:  conversation
Wa Reader
💬 WA Reader is a platform to read WhatsApp conversations from email text backups in a easy-to-read UI.
Stars: ✭ 130 (+441.67%)
Mutual labels:  conversation
DirectLineAndroidSample
Android Sample for Direct Line API - Microsoft Bot Framework
Stars: ✭ 21 (-12.5%)
Mutual labels:  conversation
Metamaps
A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at
Stars: ✭ 111 (+362.5%)
Mutual labels:  conversation
Voice Overlay Android
🗣 An overlay that gets your user’s voice permission and input as text in a customizable UI
Stars: ✭ 189 (+687.5%)
Mutual labels:  conversation
chatbot
A fast responsive, machine learning, conversational dialog engine for creating chat bots, written in Go.
Stars: ✭ 347 (+1345.83%)
Mutual labels:  conversation
FacebookChatStatistics
Statistics of any Facebook Messenger conversation
Stars: ✭ 49 (+104.17%)
Mutual labels:  conversation
Dialogue-Corpus
No description or website provided.
Stars: ✭ 27 (+12.5%)
Mutual labels:  conversation

general-runtime

circle ci Coverage sonar quality gate

general-runtime is an http webhook service that handles voiceflow prototype requests and generates a response. It manages the state of the user based on the programs (flows) made on the Voiceflow Creator tool. This can be hosted independently from Voiceflow.

This is the same service that powers the Voiceflow test tool and Voiceflow DM API. This includes supporting production apps and handling millions of requests.

Documentation

For a high level understanding of what the service is doing, reference "What is the Voiceflow API and how do you use it?".

To interact with your general-runtime server, reference the Voiceflow DM API. Instead of the default https://general-runtime.voiceflow.com, use your own local or remote endpoint.

Setup (Local)

run yarn in command line to install all dependencies.

For the isolated-vm dependency, there are additional steps to install here

Add the following file to the local repository:

.env.local

PORT=4000
LOG_LEVEL="info"
MIDDLEWARE_VERBOSITY="none"

SESSIONS_SOURCE='local'
GENERAL_SERVICE_ENDPOINT='https://general-service.voiceflow.com'

# use local vfr file under /projects
PROJECT_SOURCE='[VFFILE.vfr]'

For more info on Environment Variables

Use yarn start:local to run the development version.

For the production version, run yarn build followed by yarn start (this checks against .env.production instead of .env.local)

Notable Code Locations

Context Handlers (documentation)- handlers for processing request
lib/services/runtime/handlers - handlers for all the various nodes and defining their behavior
runtime/lib/Runtime/cycleStack - iterator and execution of flows
runtime/lib/Runtime/cycleHandler - iterator and execution of individual nodes

API Documentation (Open API)

Documentation for all API Endpoints on this service. It is critical to make sure all OpenAPI docs are up to date:

https://github.com/voiceflow/general-runtime/tree/master/backend/docs/openapi.yaml

Whenever any of the paths change, or new ones get added, or if any of the behaviors documented change, be sure to update the Open API doc. Recommend to use an editor like Swagger Editor or Stoplight to help construct the YAML file, and then fine tune things on local.

Local Setup

Run npm i -g redoc-cli to install as command.

While on the root of this repository, run

redoc-cli serve backend/docs/openapi.yaml --ssr --watch

to see it locally - note: this will not load the local CSS file.

If your browser autoresolves http://localhost to https://localhost, you might want to open the local link in incognito or a different browser.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].