nonebot-plugin-copywrite 0.2.3__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nonebot_plugin_copywrite-0.3.0/.github/workflows/pypi-publish.yml +36 -0
- nonebot_plugin_copywrite-0.3.0/.gitignore +176 -0
- nonebot_plugin_copywrite-0.2.3/README.md → nonebot_plugin_copywrite-0.3.0/PKG-INFO +74 -11
- nonebot_plugin_copywrite-0.2.3/PKG-INFO → nonebot_plugin_copywrite-0.3.0/README.md +60 -32
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/__init__.py +111 -230
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/chat.py +1 -9
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/copywrite/__init__.py +4 -4
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/copywrite/default.long.yaml +43 -11
- nonebot_plugin_copywrite-0.3.0/nonebot_plugin_copywrite/copywrite/default.short.yaml +80 -0
- nonebot_plugin_copywrite-0.3.0/nonebot_plugin_copywrite/copywrite/fran.long.yaml +30 -0
- nonebot_plugin_copywrite-0.3.0/nonebot_plugin_copywrite/copywrite/fran.short.yaml +32 -0
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/copywrite/life.checkpoint.long.yaml +22 -3
- nonebot_plugin_copywrite-0.3.0/nonebot_plugin_copywrite/copywrite/sujoke.short.yaml +8 -0
- nonebot_plugin_copywrite-0.3.0/pyproject.toml +19 -0
- nonebot_plugin_copywrite-0.3.0/uv.lock +786 -0
- nonebot_plugin_copywrite-0.2.3/nonebot_plugin_copywrite/copywrite/default.delete.yaml +0 -13
- nonebot_plugin_copywrite-0.2.3/nonebot_plugin_copywrite/copywrite/default.short.yaml +0 -43
- nonebot_plugin_copywrite-0.2.3/nonebot_plugin_copywrite/utils.py +0 -9
- nonebot_plugin_copywrite-0.2.3/pyproject.toml +0 -20
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/LICENSE +0 -0
- {nonebot_plugin_copywrite-0.2.3 → nonebot_plugin_copywrite-0.3.0}/nonebot_plugin_copywrite/config.py +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- '*'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
pypi-publish:
|
|
11
|
+
name: Upload release to PyPI
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@master
|
|
15
|
+
- name: Set up Python
|
|
16
|
+
uses: actions/setup-python@v1
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.x"
|
|
19
|
+
- name: Install pypa/build
|
|
20
|
+
run: >-
|
|
21
|
+
python -m
|
|
22
|
+
pip install
|
|
23
|
+
build
|
|
24
|
+
--user
|
|
25
|
+
- name: Build a binary wheel and a source tarball
|
|
26
|
+
run: >-
|
|
27
|
+
python -m
|
|
28
|
+
build
|
|
29
|
+
--sdist
|
|
30
|
+
--wheel
|
|
31
|
+
--outdir dist/
|
|
32
|
+
.
|
|
33
|
+
- name: Publish distribution to PyPI
|
|
34
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
35
|
+
with:
|
|
36
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
|
|
104
|
+
poetry.toml
|
|
105
|
+
|
|
106
|
+
# pdm
|
|
107
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
108
|
+
#pdm.lock
|
|
109
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
110
|
+
# in version control.
|
|
111
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
112
|
+
.pdm-python
|
|
113
|
+
|
|
114
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
115
|
+
__pypackages__/
|
|
116
|
+
|
|
117
|
+
# Celery stuff
|
|
118
|
+
celerybeat-schedule
|
|
119
|
+
celerybeat.pid
|
|
120
|
+
|
|
121
|
+
# SageMath parsed files
|
|
122
|
+
*.sage.py
|
|
123
|
+
|
|
124
|
+
# Environments
|
|
125
|
+
.env
|
|
126
|
+
.venv
|
|
127
|
+
env/
|
|
128
|
+
venv/
|
|
129
|
+
ENV/
|
|
130
|
+
env.bak/
|
|
131
|
+
venv.bak/
|
|
132
|
+
|
|
133
|
+
# Spyder project settings
|
|
134
|
+
.spyderproject
|
|
135
|
+
.spyproject
|
|
136
|
+
|
|
137
|
+
# Rope project settings
|
|
138
|
+
.ropeproject
|
|
139
|
+
|
|
140
|
+
# mkdocs documentation
|
|
141
|
+
/site
|
|
142
|
+
|
|
143
|
+
# mypy
|
|
144
|
+
.mypy_cache/
|
|
145
|
+
.dmypy.json
|
|
146
|
+
dmypy.json
|
|
147
|
+
|
|
148
|
+
# Pyre type checker
|
|
149
|
+
.pyre/
|
|
150
|
+
|
|
151
|
+
# pytype static type analyzer
|
|
152
|
+
.pytype/
|
|
153
|
+
|
|
154
|
+
# Cython debug symbols
|
|
155
|
+
cython_debug/
|
|
156
|
+
|
|
157
|
+
# ruff
|
|
158
|
+
.ruff_cache/
|
|
159
|
+
|
|
160
|
+
# LSP config files
|
|
161
|
+
pyrightconfig.json
|
|
162
|
+
|
|
163
|
+
# PyCharm
|
|
164
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
165
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
166
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
167
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
168
|
+
#.idea/
|
|
169
|
+
|
|
170
|
+
# VisualStudioCode
|
|
171
|
+
.vscode/*
|
|
172
|
+
!.vscode/settings.json
|
|
173
|
+
!.vscode/tasks.json
|
|
174
|
+
!.vscode/launch.json
|
|
175
|
+
!.vscode/extensions.json
|
|
176
|
+
!.vscode/*.code-snippets
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nonebot-plugin-copywrite
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Author-email: Yan <1964649083@qq.com>
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Python: <4.0,>=3.11
|
|
8
|
+
Requires-Dist: cairosvg<3,>=2.7.1
|
|
9
|
+
Requires-Dist: nonebot-adapter-onebot<3,>=2.4.6
|
|
10
|
+
Requires-Dist: nonebot2<3,>=2.4.0
|
|
11
|
+
Requires-Dist: openai<2,>=1.54.3
|
|
12
|
+
Requires-Dist: pyyaml<7,>=6.0.1
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
1
15
|
<div align="center">
|
|
2
16
|
<a href="https://v2.nonebot.dev/store"><img src="https://raw.githubusercontent.com/tkgs0/nbpt/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
|
|
3
17
|
<br>
|
|
@@ -25,9 +39,9 @@ _✨ NoneBot 定型文生成器 ✨_
|
|
|
25
39
|
<a href="https://onebot.adapters.nonebot.dev">
|
|
26
40
|
<img src="https://img.shields.io/badge/OneBot-11-black?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF////29vbr6+vAAAAk1hCcwAAAAR0Uk5T////AEAqqfQAAAKcSURBVHja7NrbctswDATQXfD//zlpO7FlmwAWIOnOtNaTM5JwDMa8E+PNFz7g3waJ24fviyDPgfhz8fHP39cBcBL9KoJbQUxjA2iYqHL3FAnvzhL4GtVNUcoSZe6eSHizBcK5LL7dBr2AUZlev1ARRHCljzRALIEog6H3U6bCIyqIZdAT0eBuJYaGiJaHSjmkYIZd+qSGWAQnIaz2OArVnX6vrItQvbhZJtVGB5qX9wKqCMkb9W7aexfCO/rwQRBzsDIsYx4AOz0nhAtWu7bqkEQBO0Pr+Ftjt5fFCUEbm0Sbgdu8WSgJ5NgH2iu46R/o1UcBXJsFusWF/QUaz3RwJMEgngfaGGdSxJkE/Yg4lOBryBiMwvAhZrVMUUvwqU7F05b5WLaUIN4M4hRocQQRnEedgsn7TZB3UCpRrIJwQfqvGwsg18EnI2uSVNC8t+0QmMXogvbPg/xk+Mnw/6kW/rraUlvqgmFreAA09xW5t0AFlHrQZ3CsgvZm0FbHNKyBmheBKIF2cCA8A600aHPmFtRB1XvMsJAiza7LpPog0UJwccKdzw8rdf8MyN2ePYF896LC5hTzdZqxb6VNXInaupARLDNBWgI8spq4T0Qb5H4vWfPmHo8OyB1ito+AysNNz0oglj1U955sjUN9d41LnrX2D/u7eRwxyOaOpfyevCWbTgDEoilsOnu7zsKhjRCsnD/QzhdkYLBLXjiK4f3UWmcx2M7PO21CKVTH84638NTplt6JIQH0ZwCNuiWAfvuLhdrcOYPVO9eW3A67l7hZtgaY9GZo9AFc6cryjoeFBIWeU+npnk/nLE0OxCHL1eQsc1IciehjpJv5mqCsjeopaH6r15/MrxNnVhu7tmcslay2gO2Z1QfcfX0JMACG41/u0RrI9QAAAABJRU5ErkJggg==" alt="onebot">
|
|
27
41
|
</a>
|
|
28
|
-
|
|
42
|
+
<a href="https://pypi.python.org/pypi/nonebot-plugin-copywrite" rel="nofollow">
|
|
29
43
|
<img alt="pypi download" src="https://img.shields.io/pypi/dm/nonebot-plugin-copywrite" style="max-width: 100%;">
|
|
30
|
-
</a>
|
|
44
|
+
</a>
|
|
31
45
|
|
|
32
46
|
</div>
|
|
33
47
|
|
|
@@ -57,7 +71,7 @@ __category__: 114514
|
|
|
57
71
|
|
|
58
72
|
#### 解释
|
|
59
73
|
|
|
60
|
-
-
|
|
74
|
+
- \_\_category\_\_: 定型文的分类
|
|
61
75
|
- examples: 例子
|
|
62
76
|
- addition: 附加内容,用以约束 LLM 可能的输出
|
|
63
77
|
- model: 使用的模型
|
|
@@ -66,19 +80,57 @@ __category__: 114514
|
|
|
66
80
|
|
|
67
81
|
### 文案
|
|
68
82
|
|
|
69
|
-
> /文案 [
|
|
70
|
-
|
|
83
|
+
> /文案 [Type] (Keywords)* [Topic]
|
|
84
|
+
|
|
85
|
+
生产电子垃圾。
|
|
86
|
+
|
|
87
|
+
| 参数 | 说明 |
|
|
88
|
+
| ---- | ---- |
|
|
89
|
+
| Type | 文案名字 |
|
|
90
|
+
| Topic | 文案的主题 |
|
|
91
|
+
| Keywords | 文案的关键词 |
|
|
71
92
|
|
|
72
|
-
查看可用文案:
|
|
73
93
|
> /文案
|
|
74
94
|
|
|
75
|
-
|
|
76
|
-
|
|
95
|
+
查看可用文案.
|
|
96
|
+
|
|
97
|
+
> /文案 [Type]
|
|
98
|
+
|
|
99
|
+
查看帮助,如果有的话。
|
|
77
100
|
|
|
78
101
|
#### 保留关键字
|
|
79
102
|
|
|
103
|
+
只有 SuperAdmin 才能使用。
|
|
104
|
+
|
|
80
105
|
1. reload: 重新加载定型文数据
|
|
81
|
-
2. fetch
|
|
106
|
+
2. **fetch**: !!慎用!! 调用 pip 更新 nonebot-plugin-copywrite,由于依赖问题,可能下一次bot就无法启动了。
|
|
107
|
+
|
|
108
|
+
#### 文案 示例
|
|
109
|
+
|
|
110
|
+
> /文案
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
Yan:
|
|
114
|
+
不是高三生, 乙游大世界, 两种可能, 你说得对, 女性凝视, 二次元, 四不吃, 回来吧, 带节奏, 慢就业, 紧缩术, 恩情, 意林, 饭局, 鸣潮
|
|
115
|
+
Life.Checkpoint:
|
|
116
|
+
第一个被抓, 求真学生, 表白
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
> /copywrite reload
|
|
122
|
+
|
|
123
|
+
```yaml
|
|
124
|
+
重新加载完成。
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
> /文案 鸣潮 造新梗,套公式
|
|
130
|
+
|
|
131
|
+
```yaml
|
|
132
|
+
造新梗是这样的,网友们只需要动动手指发个帖就行了,而梗创作者要考虑的事情就很多了,什么时候抓住热点,怎么巧妙结合时事,如何让梗迅速传播,都需要深思熟虑。
|
|
133
|
+
```
|
|
82
134
|
|
|
83
135
|
#### 文案 Alias
|
|
84
136
|
|
|
@@ -86,10 +138,21 @@ __category__: 114514
|
|
|
86
138
|
|
|
87
139
|
### 汉语新解
|
|
88
140
|
|
|
141
|
+
Prompt 原作者:[李继刚](https://web.okjike.com/u/752D3103-1107-43A0-BA49-20EC29D09E36)
|
|
142
|
+
|
|
89
143
|
> /汉语新解 [Word]
|
|
90
|
-
> /汉语新解 求真书院
|
|
91
144
|
|
|
92
|
-
|
|
145
|
+
将一个汉语词汇进行全新角度的解释。(看模型,GPT-4o 多正能量,Claude 多讽刺,Gemini 比较中庸)
|
|
146
|
+
|
|
147
|
+
| 参数 | 说明 |
|
|
148
|
+
| ---- | ---- |
|
|
149
|
+
| Word | 词汇,其实不仅限于汉语。 |
|
|
150
|
+
|
|
151
|
+
#### 汉语新解 示例
|
|
152
|
+
|
|
153
|
+
> /汉语新解 调休
|
|
154
|
+
|
|
155
|
+

|
|
93
156
|
|
|
94
157
|
#### 汉语新解 Alias
|
|
95
158
|
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: nonebot-plugin-copywrite
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary:
|
|
5
|
-
License: Apache-2.0
|
|
6
|
-
Author: Yan
|
|
7
|
-
Author-email: 1964649083@qq.com
|
|
8
|
-
Requires-Python: >=3.11,<4.0
|
|
9
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
-
Requires-Dist: cairosvg (>=2.7.1,<3.0.0)
|
|
15
|
-
Requires-Dist: nonebot-adapter-onebot (>=2.4.6,<3.0.0)
|
|
16
|
-
Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
|
|
17
|
-
Requires-Dist: openai (>=1.54.3,<2.0.0)
|
|
18
|
-
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
|
|
19
|
-
Description-Content-Type: text/markdown
|
|
20
|
-
|
|
21
1
|
<div align="center">
|
|
22
2
|
<a href="https://v2.nonebot.dev/store"><img src="https://raw.githubusercontent.com/tkgs0/nbpt/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
|
|
23
3
|
<br>
|
|
@@ -45,9 +25,9 @@ _✨ NoneBot 定型文生成器 ✨_
|
|
|
45
25
|
<a href="https://onebot.adapters.nonebot.dev">
|
|
46
26
|
<img src="https://img.shields.io/badge/OneBot-11-black?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF////29vbr6+vAAAAk1hCcwAAAAR0Uk5T////AEAqqfQAAAKcSURBVHja7NrbctswDATQXfD//zlpO7FlmwAWIOnOtNaTM5JwDMa8E+PNFz7g3waJ24fviyDPgfhz8fHP39cBcBL9KoJbQUxjA2iYqHL3FAnvzhL4GtVNUcoSZe6eSHizBcK5LL7dBr2AUZlev1ARRHCljzRALIEog6H3U6bCIyqIZdAT0eBuJYaGiJaHSjmkYIZd+qSGWAQnIaz2OArVnX6vrItQvbhZJtVGB5qX9wKqCMkb9W7aexfCO/rwQRBzsDIsYx4AOz0nhAtWu7bqkEQBO0Pr+Ftjt5fFCUEbm0Sbgdu8WSgJ5NgH2iu46R/o1UcBXJsFusWF/QUaz3RwJMEgngfaGGdSxJkE/Yg4lOBryBiMwvAhZrVMUUvwqU7F05b5WLaUIN4M4hRocQQRnEedgsn7TZB3UCpRrIJwQfqvGwsg18EnI2uSVNC8t+0QmMXogvbPg/xk+Mnw/6kW/rraUlvqgmFreAA09xW5t0AFlHrQZ3CsgvZm0FbHNKyBmheBKIF2cCA8A600aHPmFtRB1XvMsJAiza7LpPog0UJwccKdzw8rdf8MyN2ePYF896LC5hTzdZqxb6VNXInaupARLDNBWgI8spq4T0Qb5H4vWfPmHo8OyB1ito+AysNNz0oglj1U955sjUN9d41LnrX2D/u7eRwxyOaOpfyevCWbTgDEoilsOnu7zsKhjRCsnD/QzhdkYLBLXjiK4f3UWmcx2M7PO21CKVTH84638NTplt6JIQH0ZwCNuiWAfvuLhdrcOYPVO9eW3A67l7hZtgaY9GZo9AFc6cryjoeFBIWeU+npnk/nLE0OxCHL1eQsc1IciehjpJv5mqCsjeopaH6r15/MrxNnVhu7tmcslay2gO2Z1QfcfX0JMACG41/u0RrI9QAAAABJRU5ErkJggg==" alt="onebot">
|
|
47
27
|
</a>
|
|
48
|
-
|
|
28
|
+
<a href="https://pypi.python.org/pypi/nonebot-plugin-copywrite" rel="nofollow">
|
|
49
29
|
<img alt="pypi download" src="https://img.shields.io/pypi/dm/nonebot-plugin-copywrite" style="max-width: 100%;">
|
|
50
|
-
</a>
|
|
30
|
+
</a>
|
|
51
31
|
|
|
52
32
|
</div>
|
|
53
33
|
|
|
@@ -77,7 +57,7 @@ __category__: 114514
|
|
|
77
57
|
|
|
78
58
|
#### 解释
|
|
79
59
|
|
|
80
|
-
-
|
|
60
|
+
- \_\_category\_\_: 定型文的分类
|
|
81
61
|
- examples: 例子
|
|
82
62
|
- addition: 附加内容,用以约束 LLM 可能的输出
|
|
83
63
|
- model: 使用的模型
|
|
@@ -86,19 +66,57 @@ __category__: 114514
|
|
|
86
66
|
|
|
87
67
|
### 文案
|
|
88
68
|
|
|
89
|
-
> /文案 [
|
|
90
|
-
|
|
69
|
+
> /文案 [Type] (Keywords)* [Topic]
|
|
70
|
+
|
|
71
|
+
生产电子垃圾。
|
|
72
|
+
|
|
73
|
+
| 参数 | 说明 |
|
|
74
|
+
| ---- | ---- |
|
|
75
|
+
| Type | 文案名字 |
|
|
76
|
+
| Topic | 文案的主题 |
|
|
77
|
+
| Keywords | 文案的关键词 |
|
|
91
78
|
|
|
92
|
-
查看可用文案:
|
|
93
79
|
> /文案
|
|
94
80
|
|
|
95
|
-
|
|
96
|
-
|
|
81
|
+
查看可用文案.
|
|
82
|
+
|
|
83
|
+
> /文案 [Type]
|
|
84
|
+
|
|
85
|
+
查看帮助,如果有的话。
|
|
97
86
|
|
|
98
87
|
#### 保留关键字
|
|
99
88
|
|
|
89
|
+
只有 SuperAdmin 才能使用。
|
|
90
|
+
|
|
100
91
|
1. reload: 重新加载定型文数据
|
|
101
|
-
2. fetch
|
|
92
|
+
2. **fetch**: !!慎用!! 调用 pip 更新 nonebot-plugin-copywrite,由于依赖问题,可能下一次bot就无法启动了。
|
|
93
|
+
|
|
94
|
+
#### 文案 示例
|
|
95
|
+
|
|
96
|
+
> /文案
|
|
97
|
+
|
|
98
|
+
```yaml
|
|
99
|
+
Yan:
|
|
100
|
+
不是高三生, 乙游大世界, 两种可能, 你说得对, 女性凝视, 二次元, 四不吃, 回来吧, 带节奏, 慢就业, 紧缩术, 恩情, 意林, 饭局, 鸣潮
|
|
101
|
+
Life.Checkpoint:
|
|
102
|
+
第一个被抓, 求真学生, 表白
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
> /copywrite reload
|
|
108
|
+
|
|
109
|
+
```yaml
|
|
110
|
+
重新加载完成。
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
> /文案 鸣潮 造新梗,套公式
|
|
116
|
+
|
|
117
|
+
```yaml
|
|
118
|
+
造新梗是这样的,网友们只需要动动手指发个帖就行了,而梗创作者要考虑的事情就很多了,什么时候抓住热点,怎么巧妙结合时事,如何让梗迅速传播,都需要深思熟虑。
|
|
119
|
+
```
|
|
102
120
|
|
|
103
121
|
#### 文案 Alias
|
|
104
122
|
|
|
@@ -106,12 +124,22 @@ __category__: 114514
|
|
|
106
124
|
|
|
107
125
|
### 汉语新解
|
|
108
126
|
|
|
127
|
+
Prompt 原作者:[李继刚](https://web.okjike.com/u/752D3103-1107-43A0-BA49-20EC29D09E36)
|
|
128
|
+
|
|
109
129
|
> /汉语新解 [Word]
|
|
110
|
-
> /汉语新解 求真书院
|
|
111
130
|
|
|
112
|
-
|
|
131
|
+
将一个汉语词汇进行全新角度的解释。(看模型,GPT-4o 多正能量,Claude 多讽刺,Gemini 比较中庸)
|
|
132
|
+
|
|
133
|
+
| 参数 | 说明 |
|
|
134
|
+
| ---- | ---- |
|
|
135
|
+
| Word | 词汇,其实不仅限于汉语。 |
|
|
136
|
+
|
|
137
|
+
#### 汉语新解 示例
|
|
138
|
+
|
|
139
|
+
> /汉语新解 调休
|
|
140
|
+
|
|
141
|
+

|
|
113
142
|
|
|
114
143
|
#### 汉语新解 Alias
|
|
115
144
|
|
|
116
145
|
- new-meaning
|
|
117
|
-
|