Skip to content

Instantly share code, notes, and snippets.

{
"workspace_id": "car-dashboard-en",
"name": "Car Dashboard - Sample",
"created": "2017-03-20T21:24:41.498Z",
"intents": [
{
"intent": "about_VA",
"created": "2017-03-14T02:02:16.290Z",
"updated": "2017-03-14T02:02:16.290Z",
"examples": [
{
"name": "food-coach-workspace",
"created": "2016-10-06T20:12:30.709Z",
"intents": [{
"intent": "help",
"created": "2016-10-06T20:12:30.709Z",
"examples": [{
"text": "help",
"created": "2016-10-06T20:12:30.709Z"
}, {
{
"name": "testecho OW",
"created": "2017-06-26T09:51:41.080Z",
"intents": [
{
"intent": "hello",
"created": "2017-06-26T09:57:30.209Z",
"updated": "2017-06-26T10:01:01.372Z",
"examples": [
{
{
"name": "StressBotv1",
"created": "2017-08-18T17:09:03.316Z",
"intents": [{
"intent": "playmusic",
"created": "2017-08-18T17:09:03.316Z",
"updated": "2017-08-18T17:09:03.316Z",
"examples": [{
"text": "id like music",
"created": "2017-08-18T17:09:03.316Z",
{
"Food Coach Workspace": {
"url": "https://gist.githubusercontent.com/snippet-java/33726ec7420a968644b7a88b19e146bf/raw/food-coach.json",
"desc": "A conversation coach for meal monitoring - ensure one eats."
},
"Stress Bot Workspace": {
"url": "https://gist.githubusercontent.com/snippet-java/f4efcd51c644e22b59ed041f1f53fd71/raw/stress-bot.json",
"desc": "A simple joyful bot to handle stress."
},
"Simple Scripted Workspace": {
{
"name":"test-workspace",
"created":"2017-06-21T02:30:04.819Z",
"intents":[
{
"intent":"appreciate",
"created":"2017-06-21T02:31:48.179Z",
"updated":"2017-06-21T02:32:08.170Z",
"examples":[
{
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0'
repositories {
mavenCentral()
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<html>
<title>Test Form</title>
<body align="center">
<h1>Please fill out the form</h1>
<form method="post">
{{inputs}}
<br /><br />
<input type="submit" value="Submit" />
</form>
</body>
<html>
<head>
<title>Test Form</title>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<script>
$(function() {
var url = window.location.href.substr(window.location.href.lastIndexOf('/') + 1);
url = url.substr(0, url.indexOf('.')) + '.json';
$('#submit').click(function() {
var data = {};