Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support language prompt #11

Open
Anddd7 opened this issue May 20, 2024 · 1 comment
Open

Support language prompt #11

Anddd7 opened this issue May 20, 2024 · 1 comment

Comments

@Anddd7
Copy link
Contributor

Anddd7 commented May 20, 2024

Configure and append a language prompt to force LLM to response with a specific language, so that we can use LLM with built-in translator. 😄

@Gitbreast
Copy link

Gitbreast commented Aug 28, 2024

Configure and append a language prompt to force LLM to response with a specific language, so that we can use LLM with built-in translator. 😄

I think you could add a custom prompt to do that. Just like this:
录屏2024-08-28 16 21 37
image

The second prompt means:

Translate the text within the code box into English, without adding any additional information: ```{{text}}```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants