Skip to content

Commit f2236c1

Browse files
committed
Merge branch 'main' into dev
2 parents 5ca1dac + 26fd6ef commit f2236c1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ These are some features that are currently planned for Nisaba.
3535
- Default responses sent to users will be able to be customized.
3636
- For example: `I will think about that and be back with you shortly.`
3737
- Some default responses will be able to be toggled.
38-
- Conversations will be able to be saved and loaded at a later time.
39-
- This will likely be in the form of `!save` and `!load` commands.
4038
- Support for other chat platforms, such as Discord, will eventually be added.
4139
- For now, focus is being put on making things work properly within IRC.
4240

@@ -279,6 +277,14 @@ These commands should be prefixed with the bot's name, optionally followed by a
279277
- `Nisaba, !options precise`
280278
- **!system [message]**: Attaches a system prompt to the next message that Nisaba sends to the llamafile endpoint, affecting how responses are generated.
281279
- `Nisaba, !system You will respond using 100 words or less.`
280+
- **!profile [path]**: Sets a custom config directory, which should be a subfolder within a folder named `profiles` in the binary's path.
281+
- For example, you can place a `systemprompt.txt` and `options.json` file into a `/profiles/test` folder.
282+
- `Nisaba, !profile test`
283+
- To return to the default config directory, simply use `!profile` with no arguments.
284+
- **!save [number]**: Creates a save file which is a copy of the current conversation history, optionally with a specified numerical value.
285+
- `Nisaba, !save`
286+
- **!load [number]**: Overwrites the current conversation history with a saved history file, optionally with a specified numerical value.
287+
- `Nisaba, !load`
282288

283289
</details>
284290

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN go get github.com/thoj/go-ircevent && \
1414
go build -o nisaba .
1515

1616
# Download llamafile
17-
RUN curl -L -o /app/llamafile https://github.com/Mozilla-Ocho/llamafile/releases/download/0.7.1/llamafile-0.7.1 && \
17+
RUN curl -L -o /app/llamafile https://github.com/Mozilla-Ocho/llamafile/releases/download/0.8.1/llamafile-0.8.1 && \
1818
chmod +x /app/llamafile
1919

2020
# Start from a fresh base image to reduce size

0 commit comments

Comments
 (0)