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

update env analysis prompt #4006

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/tool/analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const (

analysisPrompt = `Simplify the following Kubernetes error message delimited by triple dashes written in --- %s --- language; --- %s ---.
Provide the most possible solution in a step by step style in no more than 280 characters. Write the output in the following format, and do not output thinking process:
错误: {Explain error here}
解决方案: {Step by step solution here}
错误: {Explain error here}
解决方案: {Step by step solution here}.
`
analysisChinesePrompt = `简化以下用 --- %s --- 语言编写的以三重破折号分隔的 Kubernetes 错误消息; --- %s ---。
以不超过 280 个字符的方式,一步一步地提供最可能的解决方案。按以下格式写出输出,不要输出思考过程:
Expand Down