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

请问怎样生成中文的标签 #472

Open
MaudGuan opened this issue Jan 26, 2025 · 1 comment
Open

请问怎样生成中文的标签 #472

MaudGuan opened this issue Jan 26, 2025 · 1 comment
Labels
question Further information is requested

Comments

@MaudGuan
Copy link

AI默认生成的是英文标签,请问怎样让他生成中文标签呢

Copy link

dosubot bot commented Jan 26, 2025

@MaudGuan 你好!我是一个可以帮助你解决问题、回答疑问,并成为贡献者的机器人。在等待人类维护者的期间,我会尽力帮助你。😊

要让AI生成中文标签而不是默认的英文标签,可以在代码中使用中文翻译文件中的键值对来替换默认的英文标签。例如,使用"ai-tag": "AI标签"来替换英文标签。

确保在代码中加载并使用中文翻译文件public/locales/zh/translation.json,这样AI生成的标签就会使用中文。

{
  "ai-tag": "AI标签"
}

通过这种方式,AI生成的标签将会是中文[1]

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the question Further information is requested label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant