New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@directus-labs/ai-text-extraction-operation

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@directus-labs/ai-text-extraction-operation - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

package.json

@@ -5,3 +5,3 @@ {

"icon": "extension",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -33,4 +33,8 @@ "keywords": [

"request": {
"methods": ["POST"],
"urls": ["https://api.clarifai.com/v2/**"]
"methods": [
"POST"
],
"urls": [
"https://api.clarifai.com/v2/**"
]
}

@@ -37,0 +41,0 @@ }

@@ -5,8 +5,6 @@ # AI Text Extraction Operation

![The AI Text Extraction operation, showing available options.](docs/options.png)
![Sample output](https://raw.githubusercontent.com/directus-labs/extension-ai-text-extraction-operation/main/docs/options.png)
This operation requires two options to be set - first a personal access token from [Clarifai](https://www.clarifai.com) (you can find this in your personal settings under [Security](https://clarifai.com/settings/security)), and a link to the image file. It will return a JSON object, with all the found text into a single merged string and a list of regions where the texts were found.
![Sample output](docs/sample-output.png)
You can use the operation to then save the result to a file description or item, or run further automation on the output.

@@ -73,2 +71,2 @@

Use the AI Text Extraction operation, setting the File URL to `https://your-directus-project-url/assets/{{ $last.file_field_name }}`, being sure to provide your specific Directus Project URL and file field name.
Use the AI Text Extraction operation, setting the File URL to `https://your-directus-project-url/assets/{{ $last.file_field_name }}`, being sure to provide your specific Directus Project URL and file field name.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc