• v0.35.1 ed3eb5123e

    neph1 released this 2024-10-05 13:01:56 -04:00 | 130 commits to master since this release

    Edit: I've updated the release to contain a few fixes.

    This is the biggest update to LlamaTale for a long time.

    Highlights are:

    Traders - Enabling Tale's shop system
    Automatically equip and dress generated NPCs based on occupation
    Optional removal of model specific templates (ie, allow usage of backends chat templates)
    A bunch of fixes as per usual

    Traders

    Tale already had a working shop system. This update allows traders being set up with inventory and using the correct template. A whole list of new commands are used, which I'll add a wiki page for. Traders have things to sell, and will sometimes buy things as well.
    Will still need some improvements to the economic system to work well (note to self).

    Occupation parsing

    An npc's occupation is now parsed for generated npcs (and optional for loaded ones). This will automatically give them some relevant weapons or equipment and clothing. To make a previously generated npc use the feature (such as a loaded companion), add 'parse_occupation=True' to the json file.
    They will also get relevant skills and spells (yes, spells have been rewritten to be used by npcs now too)

    Template optional

    To accomodate to the 'modern' feature of backends automatically selecting the correct template

    USER_START: '### Instruction:\n'
    USER_END: '### Response:\n'
    

    have been removed from llm_config.yaml. Any mentions of USER_START in the prompt will be removed when parsing.
    You may still add them back if you for some reason want them, and it will use that template instead.

    A big shoutout to ko-fi supporter OtterDemon for the donations during a fairly slow summer season.

    Upcoming changes

    There is still some work to do to fully take advantage of the new occupation features. I haven't specifically told the LLM to generate occupations (or what occupations to use).
    I should make the npcs actually wear and wield the items they receive.
    As mentioned, improve the economic system, or use it more.
    Do an overhaul to the prompts. They were made in a different era with 2k to 4k prompts and are very brief. I think they could be more expansive to make better use of modern LLM's.
    Update wiki articles. Some are outdated, and some new entries are needed.

    What's Changed

    Full Changelog: https://github.com/neph1/LlamaTale/compare/v0.34.0...v0.35.1