Skip to content

Trainer AI is an LLM assistant agent with the goal of helping you workout more efficiently, and spend less time preparing workout sets, and analyzing data. You talk to it like a personal coach, and it records your efforts, and lays plans for you to reach your goals.

License

Notifications You must be signed in to change notification settings

CogitoNTNU/TrainerAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Trainer AI

Table of Contents
  1. About
  2. Getting Started
  3. Usage
  4. Team
  5. License

About

Trainer AI is an LLM assistant agent with the goal of helping you workout more efficiently, and spend less time preparing workout sets, and analyzing data. You talk to it like a personal coach, and it records your efforts, and lays plans for you to reach your goals.


Getting started

Prerequisites

  • You require Docker to be installed on your machine.
  • You require an API key for OpenAI & LangSmith - OpenAI requires you to pay. Get a key from Cogito CTO if you're a member. - Langsmith doesn't require payment.

Installation

Create a .env file inside the folder 'AI_System' Add the api keys: OPENAI_API_KEY = "" LANGSMITH_API_KEY = ""

cd into the AI_system folder. Make sure there's a compose.yaml file there. Run this in your terminal (Granted you have Docker on your system)

Docker compose up --build

Usage

The UI is accessible at https://localhost:3000


Architecture

We're using 4 backend services. Mongodb server - Running on port 27017 - providing storage for chatlogs Timeseries analysis - Running a python flask server, using tensorflow LLM service - Running a python flask server, using langchain Main endpoint : Nodejs - Providing static file hosting for the user interface, as well as rerouting to other services via API calls.

Why do you route everything via Node, instead of calling the flask servers directly?

1: CORS 2: Node is better suited for exposing directly to web.


Team

Leader(s):

Team members:


License

Distributed under the MIT License. See LICENSE for more information.


Credits

Template by @JonRodtang for @CogitoNTNU

(back to top)

About

Trainer AI is an LLM assistant agent with the goal of helping you workout more efficiently, and spend less time preparing workout sets, and analyzing data. You talk to it like a personal coach, and it records your efforts, and lays plans for you to reach your goals.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published