Skip to content

Eblack17/chromapages-assistant

Repository files navigation

Chromapages AI Assistant

A containerized AI chatbot built with LangChain and Google's Gemini AI model, designed to provide information about Chromapages' web design and development services.

Features

  • RAG (Retrieval Augmented Generation) implementation
  • Real-time chat interface
  • Knowledge base integration
  • Containerized deployment
  • GitHub Actions automation

Tech Stack

  • Python 3.12
  • Flask
  • LangChain
  • Google Gemini AI
  • Docker
  • GitHub Actions

Container Usage

You can pull and run the container directly from GitHub Container Registry:

docker pull ghcr.io/[your-username]/chromapages-assistant:latest
docker run -p 8080:8080 -e GOOGLE_API_KEY=your_api_key ghcr.io/[your-username]/chromapages-assistant:latest

Or build it locally:

docker build -t chromapages-assistant .
docker run -p 8080:8080 -e GOOGLE_API_KEY=your_api_key chromapages-assistant

Environment Variables

  • GOOGLE_API_KEY: Your Google AI API key
  • PORT: Port to run the server on (default: 8080)

Development Setup

  1. Clone the repository:
git clone https://github.com/[your-username]/chromapages-assistant.git
cd chromapages-assistant
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your API key
  1. Run the application:
python app.py

Deployment

The application is automatically built and deployed to GitHub Container Registry on push to the main branch. You can find the latest container image at:

ghcr.io/[your-username]/chromapages-assistant:latest

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages