Comments (3)
你好,发一下你 prompt 怎么写的?
from bob.
你好,发一下你 prompt 怎么写的?
角色设定:你现在正在翻译游戏中的文本,文本都是以对话的形式,因此可能会出现省略主语的情况,请根据对话情景适当翻译。
from bob.
因为是自定义 prompt,所以你需要自行指定语言,也就是 prompt 里面你需要告诉 openai 翻译成什么语言,具体是什么语言 Bob 已经判断好了,但你需要把它写到 prompt 里面,你应该需要用到 $query.detectToLang
这个变量。
「用户指令」里面,你可以写成
将以下文本翻译为 $query.detectToLang:
$query.text
from bob.
Related Issues (20)
- 希望服务能接入【MOJI辞书】 HOT 2
- Azure的语言合成在重复播放相同的文本时,每次的响应速度太慢,希望采用缓存机制
- 希望加入日语商务敬语的翻译选项 HOT 6
- 开发Windows版本 HOT 1
- 为插入并替换原始文本按扭增加快捷键(划词翻译后自动替代原位置文本) HOT 1
- 自动识别换行符 HOT 7
- OpenAPI翻译服务未正确翻译英文 HOT 3
- ocr增加表格识别功能 HOT 3
- 对「显示翻译窗口」快捷键的改善建议 HOT 1
- 能否增加緩存功能,學語言的時候,句子發音要聽很多遍,不希望每次發音或者翻譯,都要調用api,如果能緩存上一次的結果,可以提升用戶體驗 HOT 1
- 希望增加一键在上次位置中进行截图翻译的功能 HOT 1
- 希望增加单词联想/补全功能 HOT 2
- 如果有openai-key支持的情况下,提供代码解释功能? HOT 1
- 希望增加“语音合成选中文字”的快捷键/或允许用户设置“自动进行朗读” HOT 2
- 希望增加papago翻译 HOT 2
- Azure OpenAI API 是否可以自设 Stream 为 false? HOT 5
- `streamHandler` 返回的 `streamData` 存在截断问题 HOT 10
- 希望增加单词自动tts朗读功能(optional),以及输入翻译可以按opt+a后关闭窗口 HOT 1
- GitHub 反馈渠道已关闭,请勿新开 issue 🙏
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bob.