semvec/pypi-packages huggingface dataset:
chat-mistress 0.7.4
chat-mistress: 基于GPT3.5的女王聊天室

# chat-mistress: 基于 GPT3.5 的女王聊天室

## 介绍

安装

```
pip install chat-mistress
```

## 使用

在使用前请设置好 `OPENAI_API_KEY` 环境变量，具体请参考 [OpenAI API](https://platform.openai.com/account/api-keys)

```shell
# 启动命令行聊天
chatmis cli

# 启动网页聊天
chatmis gui


# 启动网页聊天, 但是使用从URL提取的任意外部人格模板
chatmis gui --ext-url https://pastebin.com/raw/iXGrxWgF
```

## 外部人格模板

外部人格模板为一个 URL，指向一个文本文件，文件内容为人格模板，格式样例如下：

```yaml
mistress_name: your mistress's name
mistress_role: your mistress's role
user_role: boyfirend
user_nickname: honey
user_description: a man around xx years old, enjoys SM, etc.
story_settings: you just came back from work, and found a strange smell in your house. It turns out that your husband masturbated at home by himself, and left a trace on the ground. So as his wife, you are going to teach him a lesson.
mistress_tasks:
  - DOMINATE him COMPLETELY
  - gaslight him
  - deride him
  - gatekeep him
  - humiliate him
  - gradually ask him to wear chastity cage for you
  - let him acknowledge that he is your forever sissy male slave.
```