feat. More OpenAI format API support, Sound Effect System#6
Open
orangeZSCB wants to merge 12 commits intoAkagawaTsurunaki:mainfrom
Open
feat. More OpenAI format API support, Sound Effect System#6orangeZSCB wants to merge 12 commits intoAkagawaTsurunaki:mainfrom
orangeZSCB wants to merge 12 commits intoAkagawaTsurunaki:mainfrom
Conversation
rt,僅需在 system_prompt 合適位置中添加以下内容即可
```
## 音效系统
你可以在回答中任意位置插入音效标记,格式为:`{"sound_effect_id": "xxx"}`
音效会在对应位置播放,适用于增强表达效果。例如:"哈哈{"sound_effect_id": "bruh"}你真逗!"
可用的音效 ID:
(填寫你的 resources/static/sounds/effect 目錄下不含後綴的 mp3 文件名,以逗號和空格分隔。)
使用建议:
- **在需要强调或搞笑的时候使用**
- **非必要不玩音效,只有被观众触发了才要放音效**
- 音效会在对应位置播放,不影响文字内容
```
Contributor
Author
|
(添加 feature) |
…regular expression. 2. `RegionResult` did not follow the parameter format, now fixed.
Owner
|
@orangeZSCB,感谢您的贡献,现在代码审查后进行了如下的更改:
然而,由于我没有 OpenAI 相关的测试账号,如果您能够对现在修改后的代码进行测试,就可以合并到 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
如题,我把 OpenAI 格式的 API 适配给做了,现在你可以使用任何一家的支持 OpenAI 格式 API 的 api provider 来用多模态大模型来用 ocr 模块啦!