Skip to content

Commit

Permalink
release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsrolf committed Oct 19, 2023
1 parent 24012fa commit de8259f
Show file tree
Hide file tree
Showing 41 changed files with 54 additions and 447 deletions.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,14 @@ RUN pip install -e .
WORKDIR /app

# Add build files
COPY minichain-ui/build /app/minichain-ui/build
COPY minichain-ui/ /app/minichain-ui/
WORKDIR /app/minichain-ui
RUN npm ci
RUN apt-get install -y tidy
RUN npm run build
# remove everything but the build folder
RUN find . -maxdepth 1 ! -name 'build' ! -name '.' -exec rm -rf {} +
WORKDIR /app

# Start minichain api
CMD ["python", "-m", "minichain.api", "--build-dir", "/app/minichain-ui/build"]
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!-- # minichain -->
![`minichain`](logo.png)

`{mini: ⛓}` is a framework for LLM powered agents with structured data, and many tools for them. It consists of three components
# minichain
<img src='minichain-vscode/logo.png' width="100px">

Minichain is a framework for LLM powered agents with structured data, and many tools for them. It consists of three components
- the [python `minichain` package](#python-package) to build agents that run on the host
- a [webui that can be started in docker](#web-ui)
- a [vscode extension that wraps the ui and connects to a backend](#vscode-extension)
Expand Down Expand Up @@ -78,8 +79,8 @@ If you want to use the UI (either via browser or with the VSCode extension), run
cp .env.example .env # add your openai, replicate and serp API keys.
docker pull nielsrolf/minichain:latest
docker run -v $(pwd):$(pwd) \
-w $(pwd) -p 8745:8745 \
--env-file .env.example \
-w $(pwd) -p 20000-21000:20000-21000 -p 8745:8745 \
--env-file .env \
nielsrolf/minichain # optionally: --gpus all
```
You can then open minichain on [`http://localhost:8745/index.html`](http://localhost:8745/index.html). You will need the token printed in the beginning of the startup to connect.
Expand Down
15 changes: 0 additions & 15 deletions minichain-ui/build/asset-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion minichain-ui/build/config.js

This file was deleted.

Binary file removed minichain-ui/build/favicon.ico
Binary file not shown.
29 changes: 0 additions & 29 deletions minichain-ui/build/index.html

This file was deleted.

Binary file removed minichain-ui/build/logo192.png
Binary file not shown.
Binary file removed minichain-ui/build/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions minichain-ui/build/manifest.json

This file was deleted.

61 changes: 0 additions & 61 deletions minichain-ui/build/plotly-latest.min.js

This file was deleted.

3 changes: 0 additions & 3 deletions minichain-ui/build/robots.txt

This file was deleted.

2 changes: 0 additions & 2 deletions minichain-ui/build/static/css/main.418cbaf6.css

This file was deleted.

1 change: 0 additions & 1 deletion minichain-ui/build/static/css/main.418cbaf6.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions minichain-ui/build/static/js/787.5d785460.chunk.js

This file was deleted.

Loading

0 comments on commit de8259f

Please sign in to comment.