Skip to content

louisjoety/ethical-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethical Assistant

Table of Contents

Installation

Prerequisites

  • Python 3.8+
  • An API key for Gemini (Google Generative AI)

Steps

  1. Clone the repository:

    git clone https://github.com/your-username/ethical-assistant.git
    cd ethical-assistant
  2. Set up a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  4. Install the required Python libraries:

    pip install -r requirements.txt
  5. Create a .streamlit/secrets.toml file in the root directory of your project, and add your Gemini API key:

    GEMINI_API_KEY = "your_api_key_here"

Usage

Run the Streamlit app:

streamlit run Home.py

Open the URL shown in your browser (usually http://localhost:8501).

Type your questions about ethical shopping or brands in the chat interface and get responses generated by Gemini.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for bug fixes and improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Personalised loyalty platform that promotes ethical brand awareness using predictive analytics, interactive dashboards, and privacy-first consent mechanisms to enhance user engagement.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages