Skip to content

Babylon micro-farms project: LLM app serving as both educational assistant + autonomous API tool

Notifications You must be signed in to change notification settings

kingsleykimm/babylon_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babylon Micro-Farms Chatbot and API Tool

This repository contains a Babylon Micro-Farms intern and feasibility project on a multipurpose pipeline that can answer both general questions on science and hydroponic farming as well as query the Babylon API through natural language commands. On the RAG side, most of the code is built on top of Langchain's Chains and Prompt Engineering. The API Tool was built from scratch, and specifically engineered for the Babylon API.

To Reproduce

Install all needed packages in the requirements.txt at the root of the repo. Ensure streamlit is installed, then run the below commands from the repo to start a simple Streamlit app with the chatbot embedded.

cd assistant
streamlit run streamlit_runner.py

To run the terminal version:

cd assistant
python runner.py

Config and Codebase Info

/assistant will contains all of the working codebase, ignore demo and scrap as they contain previous iterations and quick demos. The chatbot.py file contains the combined chatbot and API tool, and all the different tools/components are in the utils folder.

About

Babylon micro-farms project: LLM app serving as both educational assistant + autonomous API tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages