Next

How to Detect the Sentiment in Articles with a Single Line of Code

One AI lets you detect the sentiment in articles automatically. Find out how the media refer to a specific topic, or let users navigate by sentiment. Sentiment can be positive, negative, or... neutral. Tip: try it together with the Emotions Skill.
Use Language Skill

Sentiment

Learn the implied sentiment of a given text
With Text Input

Articles

Analyze articles to detect sentiment and more
import oneai oneai.api_key = "CLICK_TO_GET_YOUR_API_KEY" pipeline = oneai.Pipeline(steps=[ oneai.skills.Sentiment(), ]) output = pipeline.run("your_input_here") print(output)
Copy
import OneAI from 'oneai'; const oneai = new OneAI({apiKey: 'CLICK_TO_GET_YOUR_API_KEY'}); const pipeline = new oneai.Pipeline( oneai.skills.(), ); const output = await pipeline.run('your_input_here'); console.log(output);
Copy
curl -X POST \ 'https://api.oneai.com/api/v0/pipeline' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'api-key: CLICK_TO_GET_YOUR_API_KEY' \ -d '{ "input": "your_input_here", "steps": [{ "skill": "Sentiment" }] }'
Copy
Get Started
Trusted by Innovative Companies
daily.dev logokai logoTUNED logoGetEllipsis logoNLX logoanima logoclipmaker logoGummySearch logo

Add it to Your Product in Minutes

One AI Language Studio
01.
Build & Test your Language AI Pipeline in the Playground
Pipeline API Call
02.
Use the pipeline in your code
One AI Language Studio
03.
Let your users enjoy products that understand language

Connect it to the Tools you use

GCP logoAzure logoAWS logoGmail logoSalesforce logoHubspot logoSlack logoZoom logoZapier logo
See Documentation

Redeem Your 1M Free Words

Add Language AI to your product now
1,000,000 words monthly, no credit card required
Sign Up Now
Check us out on
TechCrunch logoGeektime logoTheMarker logoTechCrunch logo
Python
Javascript
cURL
import oneai oneai.api_key = "CLICK_TO_GET_YOUR_API_KEY" pipeline = oneai.Pipeline(steps=[ oneai.skills.Transcribe(), ]) output = pipeline.run("your_input_here") print(output)
Copy
import OneAI from 'oneai'; const oneai = new OneAI({apiKey: 'CLICK_TO_GET_YOUR_API_KEY'}); const pipeline = new oneai.Pipeline( oneai.skills.transcribe(), ); const output = await pipeline.run('your_input_here'); console.log(output);
Copy
curl -X POST \ 'https://api.oneai.com/api/v0/pipeline' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'api-key: CLICK_TO_GET_YOUR_API_KEY' \ -d '{ "input": "your_input_here", "steps": [{ "skill": "transcribe" }] }'
Copy