Skip to content

Instantly share code, notes, and snippets.

Stepan Parunashvili stopachka

Block or report user

Report or block stopachka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View risp-2.0.rs
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
use std::rc::Rc;
/*
Types
*/
View risp-1.2.rs
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
/*
Types
*/
#[derive(Clone)]
View risp-1.1.rs
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
/*
Types
*/
#[derive(Clone)]
View risp-1.0.rs
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
/*
Types
*/
#[derive(Clone)]
View repro
API="https://api.wit.ai"
TOKEN=""
curl -X DELETE \
"$API/entities/Conversation" \
-H "authorization: Bearer $TOKEN"
curl -X POST \
"$API/entities" \
-H "authorization: Bearer $TOKEN" \
@stopachka
stopachka / steps.md
Created Sep 21, 2017
import-samples
View steps.md

2. Import all entities and samples on a new app

Here is a quick script, that gives all the samples, can go ahead and create the entities needed, alongside the samples on a new app:

const _ = require('lodash');
const fetch = require('node-fetch');
const samples = require('./samples');
const TOKEN = 'CHANGE_ME';
You can’t perform that action at this time.