Skip to content

patterns-ai-core/blog-post-classifier-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-post-classifier-demo

This tiny script utilizes the Langchain.rb Assistant and Tools to classify a blog post found in a text file.

Usage

  1. git clone https://github.com/patterns-ai-core/blog-post-classifier-demo.git
  2. bundle install
  3. cp .env.example .env and fill it out with your OPENAI_API_KEY.
  4. ruby classifier.rb --file=blog_post.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages