Home / All Integrations / Wit.ai

free

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 = App(
  "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

Join the Community
on Slack Slack

Come and learn all about CSML with other chatbot enthusiasts on the CSML Community Slack! 🤗