EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0
https://gptgirlfriend.online
2.58k stars 437 forks source link

Question: how to switch between personalities? #25

Open dep opened 1 year ago

dep commented 1 year ago

I've added a new personality, the instructions were very helpful. How do I switch between them? lucas, sacha, etc?

billyjbryant commented 1 year ago

The code for doing this is in src/api.py

See: https://github.com/EniasCailliau/GirlfriendGPT/blob/ceb98ac20005761c50a63174e44d8e24a87e1755/src/api.py#L26

billyjbryant commented 1 year ago

This ideally should be something you could use an environment variable for in the GirlFriendAIConfig class.

Yagasaki7K commented 1 year ago

This issue has been solved here: https://github.com/EniasCailliau/GirlfriendGPT/issues/9