Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/groundedsage/clj-chatbot-ui
An open source Clojure chat UI for interacting with LLM's
https://github.com/groundedsage/clj-chatbot-ui
ai chatbot clojure clojurescript datahike electric gpt llm
Last synced: 2 months ago
JSON representation
An open source Clojure chat UI for interacting with LLM's
- Host: GitHub
- URL: https://github.com/groundedsage/clj-chatbot-ui
- Owner: groundedsage
- License: mit
- Created: 2023-09-20T15:55:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:57:57.000Z (5 months ago)
- Last Synced: 2024-11-01T00:24:31.790Z (2 months ago)
- Topics: ai, chatbot, clojure, clojurescript, datahike, electric, gpt, llm
- Language: Clojure
- Homepage:
- Size: 162 KB
- Stars: 17
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clj chatbot ui
This is a clone of [chatbot-ui](https://github.com/mckaywrigley/chatbot-ui) built in [electric](https://github.com/hyperfiddle/electric) and [datahike](https://github.com/replikativ/datahike).
I have made some minor modifications to the UI and UX and will do a full redesign once all the base issues are resolved.
## Run the application
`npm install` to install Tailwind and other javasscript dependencies
`npm run build:tailwind:dev` to build the css watch and build
Entities are collected from `config.edn`
Add this as a file to get started.```clojure
{:all-entities-image "bot.svg"
:entities [{:name "Chatbot"
:image "bot.svg"
:prompt ""}]}
```Dev build:
* Shell: `clj -A:dev -X dev/-main`, or repl: `(dev/-main)`
* http://localhost:8080
* Electric root function: [src/electric_starter_app/main.cljc](src/electric_starter_app/main.cljc)
* Hot code reloading works: edit -> save -> see app reload in browserProd build:
```shell
clj -X:build:prod build-client
clj -M:prod -m prod
```