Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,471 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Stats Activity Graph CI Status License

📖 Project Overview

EmpathicAI Companion demonstrates how to fine-tune an open-source LLM on therapeutic dialogues, build an Elasticsearch-backed RAG pipeline, and run a simple agentic loop via

✨ Features

  • Fine-Tuning: One-epoch demo training of gpt2 on custom dialogue data via Hugging Face’s Trainer API.
  • RAG Pipeline: Index and retrieve context snippets with Elasticsearch, then condition your LLM’s output.
  • Agentic Loop: FastAPI service that retrieves, generates, and suggests follow-up actions.
  • Containerized: Docker & Docker-Compose setup for both Elasticsearch and the FastAPI

🚀 Getting Started

Prerequisites

  • macOS/Linux with Bash
  • Docker & Docker-Compose
  • Python 3.10+
  • GitHub account with SSH key configured

Installation

git clone git@github.com:maddykws/empathicai-companion.git  # clone repo  
cd empathicai-companion                                       # enter directory  
cp .env.example .env                                          # copy env template  
docker-compose up --build -d       

About

Fine-tunes an open-source LLM on a small dataset of therapeutic dialogues. Implements a Retrieval-Augmented Generation (RAG) pipeline using Elasticsearch. Provides an agentic loop: user query → retrieval → LLM response → action suggestions → follow-up retrieval

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages