Skip to content

This tool is to estimate recipe title and category with OpenAI

Notifications You must be signed in to change notification settings

akingo55/recipe-extractor-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipe-extractor-ruby

This tool estimates recipe titles and categories with OpenAI, which gets recipe descriptions from the particular notion database, and then estimates the title and category, and updates the notion pages.

Install

rbenv install $(cat .ruby-version)
bundle install

Configuration

export OPENAI_APY_KEY=xxx
export NOTION_API_TOKEN=xxx
export NOTION_DATABASE_ID=xxx
export OPENAI_MODEL_NAME=gpt-4-turbo-preview

You need to create Notion's integration to get NOTION_API_TOKEN.

How to run

ruby main.rb

Result

You can see like this:

image

About

This tool is to estimate recipe title and category with OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages