← Tools Reference

Wit.ai

Wit.ai integration (AI, Developer Tools). Imported from open-connector.

API key19 toolshttps://api.wit.ai
GET
wit_ai_analyze_message
Analyze a text message and return the intents, entities, and traits inferred by Wit.ai.

/message

5 parameters
ParamTypeRequiredDescription
textstringrequiredUser text sent to Wit.ai for analysis.
topNintegeroptionalMaximum number of top candidates to request from Wit.ai.
tagstringoptionalSpecific Wit.ai app version tag to query.
contextobjectoptionalContext object used by Wit.ai for locale, timezone, and other hints.
dynamicEntitiesobjectoptionalDynamic entities injected into the request for one-off disambiguation.
GET
wit_ai_detect_language
Detect the most likely locales for a text message using Wit.ai language identification.

/language

2 parameters
ParamTypeRequiredDescription
textstringrequiredUser text sent to Wit.ai for analysis.
topNintegeroptionalMaximum number of top candidates to request from Wit.ai.
GET
wit_ai_list_apps
List the Wit.ai apps accessible by the current bearer token.

/apps

2 parameters
ParamTypeRequiredDescription
limitintegerrequiredMaximum number of apps to return.
offsetintegeroptionalNumber of records to skip before collecting results.
GET
wit_ai_get_app
Retrieve details and training status for a specific Wit.ai app.

/apps/{appId}

1 parameter
ParamTypeRequiredDescription
appIdstringrequiredWit.ai app ID.
GET
wit_ai_list_intents
List all intents defined in the current Wit.ai app.

/intents

2 parameters
ParamTypeRequiredDescription
limitintegeroptionalMaximum number of intents to return.
offsetintegeroptionalNumber of records to skip before collecting results.
POST
wit_ai_create_intent
Create a new Wit.ai intent for labeling user messages.

/intents

1 parameter
ParamTypeRequiredDescription
namestringrequiredIntent name.
GET
wit_ai_get_intent
Retrieve a Wit.ai intent together with the entity bindings it uses.

/intents/{intentName}

1 parameter
ParamTypeRequiredDescription
intentNamestringrequiredIntent name.
GET
wit_ai_list_entities
List all entities defined in the current Wit.ai app.

/entities

POST
wit_ai_create_entity
Create a new Wit.ai entity with optional lookups and keywords.

/entities

4 parameters
ParamTypeRequiredDescription
namestringrequiredEntity name or ID.
rolesarrayrequiredRoles to create for the entity. At least one role is required.
lookupsarrayoptionalLookup strategies enabled for the entity.
keywordsarrayoptionalInitial keywords and synonyms for keyword-based entities.
GET
wit_ai_get_entity
Retrieve a Wit.ai entity including its roles, lookups, and keywords.

/entities/{entityName}

1 parameter
ParamTypeRequiredDescription
entityNamestringrequiredEntity name or ID.
PUT
wit_ai_update_entity
Update a Wit.ai entity by sending the desired end-state definition for its schema and keywords.

/entities/{entityName}

5 parameters
ParamTypeRequiredDescription
entityNamestringrequiredEntity name or ID.
namestringrequiredEntity name or ID.
rolesarrayrequiredFinal list of roles for the entity. At least one role is required.
lookupsarrayoptionalLookup strategies enabled for the entity.
keywordsarrayoptionalFinal list of keywords and synonyms for the entity.
POST
wit_ai_add_entity_keyword
Add a keyword and optional synonyms to an existing Wit.ai entity.

/entities/{entityName}/keywords

3 parameters
ParamTypeRequiredDescription
entityNamestringrequiredEntity name or ID.
keywordstringrequiredKeyword value.
synonymsarrayoptionalSynonyms for the new keyword.
POST
wit_ai_add_keyword_synonym
Add a synonym to a specific keyword on a Wit.ai entity.

/entities/{entityName}/keywords/{keyword}/synonyms

3 parameters
ParamTypeRequiredDescription
entityNamestringrequiredEntity name or ID.
keywordstringrequiredKeyword value.
synonymstringrequiredSynonym value.
GET
wit_ai_list_traits
List all traits defined in the current Wit.ai app.

/traits

GET
wit_ai_get_trait
Retrieve a Wit.ai trait together with its configured values.

/traits/{traitName}

1 parameter
ParamTypeRequiredDescription
traitNamestringrequiredTrait name or ID.
POST
wit_ai_add_trait_value
Add a canonical value to an existing Wit.ai trait.

/traits/{traitName}/values

2 parameters
ParamTypeRequiredDescription
traitNamestringrequiredTrait name or ID.
valuestringrequiredCanonical value.
GET
wit_ai_list_utterances
List validated utterances already stored in the current Wit.ai app.

/utterances

5 parameters
ParamTypeRequiredDescription
limitintegerrequiredMaximum number of utterances to return.
offsetintegeroptionalNumber of records to skip before collecting results.
intentsarrayoptionalOptional list of intents used to filter returned utterances.
traitsarrayoptionalOptional list of traits used to filter returned utterances.
entitiesarrayoptionalOptional list of entities used to filter returned utterances.
POST
wit_ai_create_utterances
Asynchronously enqueue validated utterances for training in Wit.ai.

/utterances

1 parameter
ParamTypeRequiredDescription
utterancesarrayrequiredUtterances to enqueue for training.
DELETE
wit_ai_delete_utterances
Asynchronously delete validated utterances from the current Wit.ai app.

/utterances

1 parameter
ParamTypeRequiredDescription
utterancesarrayrequiredValidated utterances to delete asynchronously.