Skip to content

Coder-X15/AutoGreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Olivia - AutoGreen's Agent 🍃

Powered by Google's Gemini 1.5 Flash LLM, Olivia is a chatbot that helps you manage your greenhouse like anything.

Introducing Olivia, the intelligent greenhouse manager. 🤖

Backed by a Supabase database and decorated by a beautiful React-based frontend, Olivia is all you need to take care of your greenhouse ⚡

Capabilities:

  • Natural conversation with users 💬
  • Ability to command greenhouse IoT systems to water regions accordingly upon command 💧
  • Fetch reports of regions upon command 💹
  • Fallback on irrelevant requests ❌

Setup

Database Tables:

  • Run the following in the SQL Editor after starting a new project in Supabase:
create table public.greenhouse (
  section varchar(5) primary key,
  is_watered boolean not null default false,
  last_watered timestamp default current_timestamp
);

insert into public.greenhouse(section) values (0),(1),(2),(3);

Agent

  • git clone https://github.com/Coder-X15/AutoGreen -b agent
  • cd AutoGreen (NB: make sure to either rename this or clone the frontend to a different location in order to avoid conflict)
  • Add a .env file containing the following to the repo root:
GEMINI_API_KEY= <YOUR_GEMINI_API_KEY>
SUPABASE_URL = <YOUR_SUPABASE_URL>
SUPABASE_KEY = <YOUR_SUPABASE_ANON_KEY>
  • virtualenv ./venv/ && ./venv/bin/activate && pip install -r requirements.txt - on Linux (the Windows command is supposed to be similar tbh, but you can put them in a single line like this)
  • python app.py

About

Greenhouse automation using LLMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages