Wit.ai
wit_aiWit.ai is a natural language processing platform that enables developers to build applications and devices that understand human language.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Wit.ai AppWIT_AI_CREATE_APPAcciónTool to create a new app in wit.ai. use when you need to programmatically initialize an application before training or importing data.
WIT_AI_CREATE_APPAcciónTool to create a new app in wit.ai. use when you need to programmatically initialize an application before training or importing data.
Parámetros de entrada
langstringObligatorioLocale code for the application
namestringObligatorioName of the new Wit.ai application
privatebooleanWhether the app is private. Defaults to true
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Wit.ai TraitWIT_AI_CREATE_TRAITAcciónTool to create a new trait in wit.ai. use when defining custom entity attribute matching behavior.
WIT_AI_CREATE_TRAITAcciónTool to create a new trait in wit.ai. use when defining custom entity attribute matching behavior.
Parámetros de entrada
namestringObligatorioUnique name for the trait to create.
valuesobject[]ObligatorioList of trait values; must include at least one value.
lookupsstring[]Lookup strategies to use (e.g., ['free_text']).
mutually_exclusivebooleanIf true, only one value can match per message.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete AppWIT_AI_DELETE_APPAcciónTool to delete a specific app from wit.ai. use when you need to remove an existing app by its id after confirming its existence.
WIT_AI_DELETE_APPAcciónTool to delete a specific app from wit.ai. use when you need to remove an existing app by its id after confirming its existence.
Parámetros de entrada
app_idstringObligatorioThe unique identifier of the app to delete
access_tokenstringOptional access token to use for this request. If provided, this will override the default token.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get App DetailsWIT_AI_GET_APPAcciónTool to retrieve metadata and settings of a wit.ai app. use when you need to fetch complete app details by app id after authenticating.
WIT_AI_GET_APPAcciónTool to retrieve metadata and settings of a wit.ai app. use when you need to fetch complete app details by app id after authenticating.
Parámetros de entrada
app_idstringObligatorioID of the Wit.ai app to retrieve
access_tokenstringApp-specific access token; if provided, overrides default Authorization header
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Intent DetailsWIT_AI_GET_INTENTAcciónTool to retrieve details of a specific intent. use when you need full intent metadata given its id.
WIT_AI_GET_INTENTAcciónTool to retrieve details of a specific intent. use when you need full intent metadata given its id.
Parámetros de entrada
intent_idstringObligatorioID of the intent to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get IntentsWIT_AI_GET_INTENTSAcciónTool to list all intents in a wit.ai app. use after authenticating to retrieve defined intents.
WIT_AI_GET_INTENTSAcciónTool to list all intents in a wit.ai app. use after authenticating to retrieve defined intents.
Parámetros de entrada
limitintegerMaximum number of intents to return (default: 100, max: 200)
offsetintegerNumber of items to skip before starting to collect the result set (default: 0)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wit.ai Get MessageWIT_AI_GET_MESSAGEAcciónTool to analyze a text message and extract its intent, entities, and traits. use when you need structured meaning from user input.
WIT_AI_GET_MESSAGEAcciónTool to analyze a text message and extract its intent, entities, and traits. use when you need structured meaning from user input.
Parámetros de entrada
nintegerMaximum number of outcomes to return (default is 1)
qstringObligatorioText message to analyze for intent and entities
contextstringJSON-stringified context object for conversation
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Trait DetailsWIT_AI_GET_TRAITAcciónTool to retrieve details of a specific trait. use when you have the trait id and need its full metadata.
WIT_AI_GET_TRAITAcciónTool to retrieve details of a specific trait. use when you have the trait id and need its full metadata.
Parámetros de entrada
trait_idstringObligatorioUnique identifier of the trait to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TraitsWIT_AI_GET_TRAITSAcciónTool to list all traits in a wit.ai app. use after authenticating to retrieve defined traits.
WIT_AI_GET_TRAITSAcciónTool to list all traits in a wit.ai app. use after authenticating to retrieve defined traits.
Parámetros de entrada
vstringAPI version to use, as a date (YYYYMMDD) or '20230215' for the current supported version. Defaults to latest stable if omitted.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Wit.ai AppWIT_AI_WIT_AI_PUT_APPAcciónTool to update an existing wit.ai app. use when you need to modify app settings after creation.
WIT_AI_WIT_AI_PUT_APPAcciónTool to update an existing wit.ai app. use when you need to modify app settings after creation.
Parámetros de entrada
bodyobjectObligatorioFields and values to update on the app
app_idstringObligatorioThe unique identifier of the app to update
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not