Skip to content

aspil/mAICookbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mAICookbook

mAICookbook is a personal cookbook assistant designed to help you explore Greek recipes interactively. The project uses a simple Server-Client architecture.

The server is a FastAPI service that hosts a simple RAG system built with LlamaIndex and Meltemi, a powerful Greek LLM. The knowledge base of the RAG system is powered by a Greek Recipes Dataset, providing a rich collection of traditional and modern Greek recipes.

The client is a simple Streamlit chatbot UI that allows users to interact with the RAG system and explore recipes.

Disclaimer: The server requires a machine with at least 8GB GPU VRAM in order to run the models successfully.

Setup and Installation

  1. Clone the repository
git clone https://github.com/infosciassoc/Meltemi-Workshop-Team-02.git
cd mAICookbook
  1. Create a virtual environment using conda
conda create -n maicookbook python=3.11
  1. Install Dependencies
pip install -r requirements.txt
  1. Set up Environment Variables

Create a .env file in the project root and add the following:

API_BASE=<your-meltemi-api-url>
API_KEY=<your-meltemi-api-key>
  1. Run the FastAPI server
uvicorn server:app --reload
  1. Run the Streamlit UI
streamlit run app.py

Usage

  1. Open the Streamlit app in your browser at http://localhost:8501.
  2. Start a conversation with the chatbot
  3. You can see previous conversations in the sidebar on the left side.

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%