Tisane
tisaneTisane API is a natural language processing tool that detects problematic content, extracts topics, and performs aspect-based sentiment analysis across 27 languages.
Acciones disponibles (6)
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.
Analyze TextTISANE_ANALYZE_TEXTAcciónTool to analyze input text for detailed nlu insights. use after preparing text when you need to detect sentiment, entities, topics, and other linguistic features.
TISANE_ANALYZE_TEXTAcciónTool to analyze input text for detailed nlu insights. use after preparing text when you need to detect sentiment, entities, topics, and other linguistic features.
Parámetros de entrada
contentstringObligatorioText content to be analyzed
languagestringObligatorioIETF BCP-47 language tag for the input text
settingsobjectOptional analysis settings. Empty dict for defaults (see Tisane API Configuration Guide).
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
Calculate Semantic SimilarityTISANE_CALCULATE_SIMILARITYAcciónTool to calculate semantic similarity between two text fragments. use when you need a numeric similarity score (0-1) for two texts.
TISANE_CALCULATE_SIMILARITYAcciónTool to calculate semantic similarity between two text fragments. use when you need a numeric similarity score (0-1) for two texts.
Parámetros de entrada
content1stringObligatorioFirst text fragment to compare.
content2stringObligatorioSecond text fragment to compare.
settingsobjectAdditional settings for similarity calculation, leave empty for defaults.
language1stringObligatorioIETF language code for content1 (e.g., 'en').
language2stringObligatorioIETF language code for content2 (e.g., 'en').
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
Detect LanguageTISANE_DETECT_LANGUAGEAcciónTool to detect the language of the provided text. use when you need to identify the language code.
TISANE_DETECT_LANGUAGEAcciónTool to detect the language of the provided text. use when you need to identify the language code.
Parámetros de entrada
textstringObligatorioThe text whose language needs to be detected.
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
Extract TextTISANE_EXTRACT_TEXTAcciónTool to extract raw text from markup content. use when cleaning html, css, js, or json to get pure decoded text. use after confirming the input is utf-8 text; this does not process binary content.
TISANE_EXTRACT_TEXTAcciónTool to extract raw text from markup content. use when cleaning html, css, js, or json to get pure decoded text. use after confirming the input is utf-8 text; this does not process binary content.
Parámetros de entrada
contentstringObligatorioThe markup (HTML, CSS, JS, JSON) to strip and decode into plain text. Must be UTF-8 text; binary content is not supported.
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 Supported LanguagesTISANE_GET_SUPPORTED_LANGUAGESAcciónTool to list all languages supported by the api. use when needing to discover available languages for text analysis or processing. call before submitting text to ensure support.
TISANE_GET_SUPPORTED_LANGUAGESAcciónTool to list all languages supported by the api. use when needing to discover available languages for text analysis or processing. call before submitting text to ensure support.
Parámetros de entrada
Sin parámetros.
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
Transform TextTISANE_TRANSFORM_TEXTAcciónTool to translate or paraphrase text. use when you need to convert content between languages or paraphrase within the same language.
TISANE_TRANSFORM_TEXTAcciónTool to translate or paraphrase text. use when you need to convert content between languages or paraphrase within the same language.
Parámetros de entrada
tostringObligatorioTarget language IETF tag. If same as source, text will be paraphrased.
fromstringObligatorioSource language IETF tag. Use '*' or 'lang1|lang2' to auto-detect.
contentstringObligatorioText content to transform (UTF-8).
settingsobjectOptional translation settings (see Tisane API Configuration).
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