Skip to content

Engage with Large Language Models using our Golang-powered application, integrated with the Groq-API for efficient communication

Notifications You must be signed in to change notification settings

kaimg/ChatBotGo

Repository files navigation

LLM-Golang

Welcome to the LLM-Golang project! This web application allows users to interact with a large language model (LLM) through a user-friendly interface. It features GitHub OAuth for authentication, a responsive UI built with Bootstrap and HTMX, and seamless integration with a remote PostgreSQL database hosted on Neon Console.


Features

  • User Authentication: Secure login via GitHub OAuth.
  • Prompt Submission: Easily submit prompts to an LLM and view responses.
  • Profile Management: Manage user profiles with avatar, email, and username display.
  • Database Integration: Store user information, prompts, and responses in a PostgreSQL database.
  • Dockerized Setup: Fully containerized for consistent and reliable deployment.
  • Secure Configuration: Use environment variables and Docker Secrets to manage sensitive data.

Prerequisites

Before you begin, ensure you have the following:

  • Docker and Docker Compose installed on your machine.
  • Access to a PostgreSQL database (e.g., Neon Console).
  • A GitHub OAuth App for authentication:

Setup Instructions

1. Clone the Repository

git clone https://github.com/kaimg/LLM-Golang.git
cd LLM-Golang

2. Configure Environment Variables

Set up your environment variables and Docker Secrets as needed for your setup.

3. Start the Application

Use Docker Compose to build and run the application:

docker-compose up --build

Screenshots

Home Page

Home Page

Profile Page

Profile Page


About

Engage with Large Language Models using our Golang-powered application, integrated with the Groq-API for efficient communication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published