restlessronin / llm_chat_phx

An LLM chat interface modeled on ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llm_chat_phx

LLM Chat is an Elixir Phoenix LiveView application providing an AI-driven chat interface. Users can engage in multi-turn conversations with LLMs and manage chat history. The UI is styled with DaisyUI, and is closely modeled on the Chat GPT UX.

Google OAuth 2.0 is supported via elixir-auth-google. Persistence currently uses postgresdb, although the intent is to eventually support cassandra/scylladb as well.

This app has been built with significant support from Claude 3 Opus and ChatGPT 4o. Other than the HTML/CSS markup and some of the associated JS (which has been eyeballed but not examined in detail), every single line of code has been human curated (by me 😇).

Sample docker-compose deployment using the dc-web-infra repository as the base. See the llm_chat subfolder for deployment details.

About

An LLM chat interface modeled on ChatGPT

License:Apache License 2.0


Languages

Language:Elixir 64.3%Language:HTML 20.6%Language:JavaScript 11.0%Language:Dockerfile 3.0%Language:Shell 0.8%Language:CSS 0.2%Language:Batchfile 0.1%