Skip to content

Hack the Act! is a RAG-based chatbot designed to demystify the European Union AI Act

Notifications You must be signed in to change notification settings

gianluigilopardo/hacktheact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack the Act!

Hack the Act! is a chatbot designed to demystify the European Union AI Act.

Overview

This project employs a Retrieval-Augmented Generation (RAG) approach to deliver an interactive chatbot that answers questions about the EU AI Act. It leverages NVIDIA's AI endpoints for both the language model and embeddings:

Powered by Langchain and deployed via Streamlit for an easy-to-use web interface.

Setup

  1. Clone the repository:
    git clone https://github.com/gianluigilopardo/hacktheact.git
    cd hacktheact
  2. Install the dependencies:
    pip install -r requirements.txt
  3. Set up environment variables: Create a .streamlit/secrets.toml file in the root directory with the following variables:
    [api_keys]
    NVIDIA_API_KEY=your_nvidia_api_key
    
    Replace your_nvidia_api_key with your actual API keys. You can request a free NVIDIA API key at https://build.nvidia.com/.

Usage

Run the Streamlit app:

streamlit run main.py

About

Hack the Act! is a RAG-based chatbot designed to demystify the European Union AI Act

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages