@rodrigojuarez/rj-test-console
React component for testing out different queries against the Snips AI SDK.
Last updated 2 years ago by rodrigojuarez .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rodrigojuarez/rj-test-console 
SYNC missed versions from official npm registry.

rj-test-console

React component for testing out different queries against the Snips AI SDK

Installation

npm install -s @rodrigojuarez/rj-test-console

Usage

Import the component

import { TestConsole } from '@rodrigojuarez/rj-test-console';

Import the CSS

If your project has set up appropriate CSS loaders, just import the CSS

import '@rodrigojuarez/rj-test-console/dist/index.css';

Render

<TestConsole session="s%3ABXxkzdrbtZLnSMjuAZTBGHplmmd9qR0v.%2FjksFPLq7a0mHdFLKcW2LuQ4O28vjRuEoOl7rFptBVU" assistantId="proj_xvDawrBVG"></TestConsole>
TestConsole Props Type Description
assistantId string, required Assistant ID
session string, required Snips AI SDK session

Examples

Clone the repo first:

git@github.com:rodrijuarez/rj-test-console.git

Then run npm install (or yarn), and finally npm run start (or yarn), and edit the file src/App.js with your own session and assistantId

Current Tags

  • 0.1.5                                ...           latest (2 years ago)

4 Versions

  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |