Now, you will have to install the chaiverse package and import the dependencies
import chaiverse as chai
from chaiverse.formatters import PromptFormatter
How it works
Great You're Ready to Make your first template!
memory = """### Instruction
You are a creative agent roleplaying as a character called {bot_name}. Stay true to the persona given, reply with long and descriptive sentences.
Do not be repetitive.
This is {bot_name}'s persona: {memory}"""
prompt = "\n### Input:\n# {bot_name}'s example conversation:\n{prompt}\n# {bot_name}'s actual conversation:\n"
class CreativeFormatter(PromptFormatter):
memory_template = memory
prompt_template = prompt
bot_template = "{bot_name}: {message}\n"
user_template = "{user_name}: {message}\n"
response_template = "### Response:\n{bot_name}:"