Coder Social home page Coder Social logo

cookbook's Introduction

๐Ÿณ Cooking Assistant Bot

This project aims to utilize computer vision models like YOLO within a Rasa bot to create an experience for users to obtain their desired recipes. It is runnable on CPU. Also, it is accessible in a discord server. Feel free to join and test the bot.

Running as a dicord Bot

Use the following instructions to run the bot as a discord bot in three different terminals:

Terminal 1(running discord client):

export DISCORD_TOKEN=<Dicord Bot Token>
python3 run discord_bot.py

Terminal 2(train the new version of rasa model, and running the server):

rasa train
rasa run --enable-api --credentials credentials.yml --cors "*"

Terminal 3(running actions server):

rasa run actions

Customizing vision model

In discord_bot.py you can change the vision part of the application. It uses Roboflow APIs to integrate with vision models.

You can change it to your custom model:

rf = Roboflow(api_key="API_KEY")
project = rf.workspace().project("MODEL_PREFIX")
model = project.version('VERSION_CODE').model

Customizing Recipes

You can also change the list of recipes. You don't to struggle with the suggestions or handling the instructions. In assets > modified_data.csv, you can find recipes and instructions. You can modify the file as you want. You can use other csv files, you just need to have three columns, including recipe, instructions, ingredients.

cookbook's People

Contributors

nimaiji avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.