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

Modify the code for chinese prompt #67

Open
Chain-Mao opened this issue Jun 25, 2024 · 1 comment
Open

Modify the code for chinese prompt #67

Chain-Mao opened this issue Jun 25, 2024 · 1 comment

Comments

@Chain-Mao
Copy link

If my prompt is in Chinese instead of English, how should I modify the code

@Eladlev
Copy link
Owner

Eladlev commented Jun 25, 2024

It should work properly if the initial prompt is in Chinese.
However, we didn't test it on different languages, so there might be a need for small modifications for the meta-prompt (explicitly instructing the model to preserve the prompt language).
This is the relevant meta-prompts:
https://github.com/Eladlev/AutoPrompt/blob/main/prompts/meta_prompts_classification/step_prompt.prompt
I'm guessing that also the samples should be in Chinese, so you might also need to add here the language instructions:
https://github.com/Eladlev/AutoPrompt/blob/main/prompts/meta_prompts_classification/step_samples.prompt

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