Home / All Integrations / Wit.ai

Connect Wit.ai to your chatbot

Use NLP from wit.ai in CSML chatbots


This app lets you connect your CSML chatbot with wit.ai.

To use this app, you need to have a Wit app on wit.ai, and the corresponding access token, which can be found in your Wit app's settings (https://wit.ai/apps/$YOUR_APP_ID/settings).

Methods

analyze

This method returns the extracted meaning from a sentence.

do data = Fn(
  "witai",
  method = "analyze"
  params = {
    "text": "Hello, how are you?", // The sentence to parse.
  }
)

Response:

{
  "success": true,
  "response": {
    "text": "Hello how are you ?",
    "intents"[{
      "id": "2759796990942181",
      "name": "greet",
      "confidence": 1,
    }],
    "entities": {
      "greetWord:greetWord": [{
        "id": "181772170302403",
        "name": "greetWord",
        "role": "greetWord",
        "start": 0,
        "end": 5,
        "body": "Hello",
        "confidence": 1,
        "entities": [],
        "value": "Hello",
        "type": "value"
      }],
    },
    "traits": {}
  }
}

Discover similar integrations:

Amazon Comprehend
Amazon Lex
Clevy Comprehension API
Dialogflow
Hugging Face
Lettria
Rasa
SAP Conversational AI (Recast.ai)
IBM Watson

Many more integrations are coming!

If you have a cool integration in mind, drop us an email on contact@csml.dev and tell us all about it!

Many of our 49 currently available integrations come directly from your suggestions!

Join the Community
on Slack Slack

Come and learn all about CSML with other chatbot enthusiasts on the Slack CSML Community! ūü§ó