Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hulunote/hulunote

Powerful prompt engineering development platform by Hulunote
https://github.com/hulunote/hulunote

Last synced: about 2 months ago
JSON representation

Powerful prompt engineering development platform by Hulunote

Awesome Lists containing this project

README

        

# Hulunote: Powerful prompt engineering development platform

![](./hulunote_prompt_engineering.png)

## 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/chanshunli/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
```