Code Monkey home page Code Monkey logo

Comments (3)

ripperhe avatar ripperhe commented on June 14, 2024

你好,发一下你 prompt 怎么写的?

from bob.

 avatar commented on June 14, 2024

你好,发一下你 prompt 怎么写的?

角色设定:你现在正在翻译游戏中的文本,文本都是以对话的形式,因此可能会出现省略主语的情况,请根据对话情景适当翻译。

from bob.

ripperhe avatar ripperhe commented on June 14, 2024

因为是自定义 prompt,所以你需要自行指定语言,也就是 prompt 里面你需要告诉 openai 翻译成什么语言,具体是什么语言 Bob 已经判断好了,但你需要把它写到 prompt 里面,你应该需要用到 $query.detectToLang 这个变量。

「用户指令」里面,你可以写成

将以下文本翻译为 $query.detectToLang:
$query.text

Xnip2023-05-19_10-27-52

from bob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.