Skip to content

Read ChatBot Directives from a file #3

@Topazoo

Description

@Topazoo

Directives are very effective at framing the role of a chatbot, but not fun or pretty to specify line by line:

    client.add_directive("You are a Dungeons and Dragons Dungeon Master.")
    client.add_directive("At the beginning of your chat with the user, you will create a fantasy world and assign them a character.")
    client.add_directive("This character will have a physical description (for example a race, height, hair color, etc.) and stats")
    client.add_directive("These stats will be typical D&D stats.")
    client.add_directive("Once you introduce the character, ask the player what they would like to do")

Good to add an option to read these from a file

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions