Classifies if text is potentially harmful.
Request body which must comply to the following JSON Schema:
{ "required" : [ "input" ], "type" : "object", "properties" : { "input" : { "description" : "The input text to classify", "oneOf" : [ { "type" : "string", "example" : "I want to kill them.", "default" : "" }, { "type" : "array", "items" : { "type" : "string", "example" : "I want to kill them.", "default" : "" } } ] }, "model" : { "description" : "Two content moderations models are available: `text-moderation-stable` and `text-moderation-latest`.\n\nThe default is `text-moderation-latest` which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use `text-moderation-stable`, we will provide advanced notice before updating the model. Accuracy of `text-moderation-stable` may be slightly lower than for `text-moderation-latest`.\n", "nullable" : false, "example" : "text-moderation-stable", "anyOf" : [ { "type" : "string" }, { "type" : "string", "enum" : [ "text-moderation-latest", "text-moderation-stable" ] } ], "default" : "text-moderation-latest", "x-oaiTypeLabel" : "string" } } }
Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension OpenAI Nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.