Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndoolan360/go-chatbot-ui
A frontend for AI chatbots completed as a part of a Kaluza firebreak week.
https://github.com/ndoolan360/go-chatbot-ui
beercss chatbot htmx hyperscript websockets
Last synced: 2 days ago
JSON representation
A frontend for AI chatbots completed as a part of a Kaluza firebreak week.
- Host: GitHub
- URL: https://github.com/ndoolan360/go-chatbot-ui
- Owner: NDoolan360
- Created: 2024-04-19T08:51:43.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T12:11:53.000Z (9 months ago)
- Last Synced: 2024-11-17T16:23:01.918Z (2 months ago)
- Topics: beercss, chatbot, htmx, hyperscript, websockets
- Language: Go
- Homepage:
- Size: 450 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Chatbot UI
![screenshot of the Chatbot UI](./screenshot.png)
## Purpose
This project was completed as a part of a firebreak week I participated in at Kaluza. đĨ
The purpose of this project was to integrate it with an AI model trained on BigQuery schemas to be able to ask it questions about database tables and ultimately improve data visibility across the engineering teams.
An alternate suggestion was to have it integrate with a model trained on post-mortems from incidents and have the chatbot act as a way to assist with diagnosing and triaging incidents.Sadly, the AI models were not able to be completed within the constraints of the firebreak so all it does at the moment is return the question in reverse. âŠī¸
## Features
- Minimal Material based UI
- Websocket based conversation with server using htmx websocket extension
- Messages rendered with markdown## Usage
### Development
1. Install Go. [(mac-OS)][brew-install-go] - [(other)][go-website]
2. Run the entry program.
```shell
go run go-chatbot-ui.go
// Server listening on port: http://localhost:3000
```## Extertnal Components
- [Htmx][htmx] - Big Sky Software
- [Htmx Websockets][htmx-ws] - Big Sky Software
- [Hyperscript][hyperscript] - Big Sky Software
- [Beer CSS][beer-css] - Beer CSS
- [md-block][md-block] - Lea Verou[brew-install-go]: https://formulae.brew.sh/formula/go
[go-website]: https://go.dev/doc/install
[htmx]: https://github.com/bigskysoftware/htmx
[htmx-ws]: https://htmx.org/extensions/web-sockets/
[hyperscript]: https://github.com/bigskysoftware/_hyperscript
[beer-css]: https://github.com/beercss/beercss
[md-block]: https://md-block.verou.me/