Skip to content

gptscript-ai/sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentiment-analysis

A GPTScript tool performing sentiment analysis of some given text or file

Setup

# Clone this repo
git clone https://github.com/gptscript-ai/sentiment-analysis.git
cd sentiment-analysis

# Set up the venv
python3 -m venv .venv
source .venv/bin/activate

# Install the packages
pip3 install -r requirements.txt

Usage

Get sentiment from a string

gptscript sentiments.gpt --content "this is the best movie I have ever watched"

Get sentiment from a text file

gptscript sentiments.gpt --file files/tv-not-worth-it.txt

Get sentiment from a pdf file

gptscript sentiments.gpt --file files/great-phone.pdf

About

A GPTScript tool for perform sentinment analysis of some given text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages