mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-31 14:53:07 +00:00
fix: improve default_prompt (#406)
* fix: improve default_prompt Signed-off-by: Camilo Giraldo <camigira@gmail.com> * fix: specific instructions for prompt output Signed-off-by: Camilo Giraldo <camigira@gmail.com> --------- Signed-off-by: Camilo Giraldo <camigira@gmail.com> Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package ai
|
||||
|
||||
const (
|
||||
default_prompt = "Simplify the following Kubernetes error message and provide a solution in %s: %s"
|
||||
default_prompt = `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:
|
||||
Error: {Explain error here}
|
||||
Solution: {Step by step solution here}
|
||||
`
|
||||
)
|
||||
|
Reference in New Issue
Block a user