https://github.com/hulunote/hulunote
Powerful prompt engineering development platform by Hulunote
https://github.com/hulunote/hulunote
clojure clojurescript datascript gpt llm webapp
Last synced: about 1 month ago
JSON representation
Powerful prompt engineering development platform by Hulunote
- Host: GitHub
- URL: https://github.com/hulunote/hulunote
- Owner: hulunote
- Created: 2024-03-19T05:31:20.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-16T14:07:34.000Z (2 months ago)
- Last Synced: 2025-02-16T14:37:32.580Z (2 months ago)
- Topics: clojure, clojurescript, datascript, gpt, llm, webapp
- Language: Clojure
- Homepage: https://www.hulunote.com
- Size: 1.04 MB
- Stars: 45
- Watchers: 5
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hulunote: Powerful prompt engineering development platform

## Feature
* Datalog help LLM Prompt Engineering, to achieve explainability of AI
* Use datomic/datascript or cozodb
* Hippocampus for AI, with Embedded Datalog
* Embedding datalog knowledge into LLM enhances LLM's logical reasoning capabilities
* Build powerful prompt database(datomic db) from https://github.com/xlisp/prompt-engineering-design## technical framework
* clojure and clojurescript
* datascript + rum
* instaparse
* ring
* clj-http
* re-frame## develop
* Missing dependency
```
$ lein localrepo install jsr173-ri-1.0.jar com.bea.xml/jsr173-ri 1.0```
* db environment
```bash> psql
CREATE DATABASE functor_api;$ psql -d functor_api -Upostgres < ./sql/init.sql
$ for sql in `find . -name "*.sql" | grep -v init.sql | sort `; do psql -d functor_api -Upostgres < $sql ; done```
* backend
```bash
$ cp config/config.clj.default config/config.clj$ clojure -A:cider:run
```
* frontend
```bash
$ yarn$ clojure -A:cider:cljs:shadow watch hulunote
```