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
Convert Videos To AI Agents With Our GPT AgentMaker
Trusted by

Add it to Your Product in Minutes

One AI Language Studio
01.
Test your Language AI pipeline with your Articles in the Studio
Pipeline API Call
02.
Use the Sentiment pipeline in your code
One AI Language Studio
03.
Enjoy AI-powered Sentiment for Articles in your apps & workflows

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