Skip to content

Named Entity Recognition

Function Description

TIP

Call the Kingsware AI interface to extract entities such as organizations, names, and places from sentences, supporting the simultaneous parsing of multiple sentences

Named Entity Recognition

Configuration Item Description

General

Command Input

  • Textstring: Enter the text content, which should not exceed 512 characters. The text format must be ["Text1","Text2",...]

Command Output

  • Response Header InformationString: Return the response header information

  • Response Body InformationString: Return the response body information

  • Error InformationString: Return the error information

Advanced

  • Response Header Typearray of string: When a long connection is created between the server and the client, necessary settings must be made for the HTTP response header's connection, default is ['Connection']

  • DelayBefore(milliseconds)Integer: The waiting time before instruction execution

  • Timeout (milliseconds)Integer: Maximum wait time (milliseconds)

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None