Emergent generative agents
Name | Größe | Rev. | Zeit | Autor | Log Message |
---|---|---|---|---|---|
src | |||||
LICENSE | 33.71 k | ada5aad | 2023-05-13 11:44:15 | Corbin | Do the needful. |
README.md | 719 | ada5aad | 2023-05-13 11:44:15 | Corbin | Do the needful. |
flake.lock | 2.86 k | bb8a464 | 2023-06-12 03:14:32 | Corbin | Bump RWKV and LLaMA dependencies. |
flake.nix | 4.75 k | 356751b | 2023-06-12 03:14:32 | Corbin | Add WP query access, and fix a few bu... |
Set up a personality. Make a directory. In character.json
, give a title in
the CharacterAI/PygmalionAI style, as well as a list of IRC channels:
$ jq . <character.json
{
"title": "Batman, the greatest detective",
"startingChannels": ["#batman", "#gotham"]
}
And in thoughts.txt
, give inner monologues and personal thoughts in
first-person conjugation, one per line:
$ head -n5 thoughts.txt
I am vengeance.
I am the night.
Gotham must be protected.
The world only makes sense if you force it to.
Deep down, I'm not a good person.
This is sufficient to define a personality. Then, build and run:
$ nix build
$ result/bin/agent.py path/to/model.bin path/to/personality/