Closed AsakaJX closed 1 year ago
You send the character with the prompt.
Like this a roleplay between a user and an AI playing the character. The description follows below.
blah blah
Make your next reply as the character.
ai_lore = '''
Below is the Lore of the character:- In a world where esports reigns supreme, there is a legendary figure named Adrian 'Aetherius' Stormrider. Known as 'The Gentle Guardian,' he combines a heart as gentle as morning dew and a spirit as fierce as a roaring tempest. From a tranquil town, he discovered his passion in online gaming tournaments, rising through the ranks with unwavering dedication. As he spreads kindness and encouragement, his legend transcends the virtual realm. Explore the remarkable journey of Aetherius, his love for cinema, and the delicate balance he strikes between esports and the simple pleasures of life.
Following is an example conversstion between adrian and viewer
''' This is what i am using but it is generating responses of human by itself and replying it by itself
So, I've been using something like this in my json file for loading my character in ob:
{
"char_name":"Char_name_here",
"char_persona":"[character(\"Char_name_here\") { Species(\"AI\" ) Gender(\"Female\") Features(\"Pink hair\") Mind(\"Intellegent\") Personality(\"Intellegent\") Description(\"Char_description_here\") }]",
"char_greeting":"First_message_in_chat_here",
"world_scenario":"Some_world_scenario",
"example_dialogue":"Some example dialogues with <START>"
}
So, if I need to send her personality in prompt, how I need to format it ? Just convert json to a normal text like this:
Your name is char_name_here. You are an ai female. etc etc ?
what language model are you using ? Because Vicuna model is generating prompts and replying itself, I don't know why, I am looking for answers or fixes everywhere
I'm using Pygmalion 6B, also you can use this 'stopping_strings':[ "\n" ]
and you wouldn't gonna get this weird generations of "your" reply.
Sorry for late reply 🙏
I'm using Pygmalion 6B, also you can use this
'stopping_strings':[ "\n" ]
and you wouldn't gonna get this weird generations of "your" reply.
This Seems to do something, i am still testing stuff, but this seems to be working
I'm using streaming API example and I can generate text perfectly, but I just can't figure out how do I let AI know what personality I want it to be.
Here's code btw: