You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component in my repository that I'm interested in assessing the {{ .Dimension }} implications of this component.Below are some context from component {{ .Dimension}} check:
26
-
1. A component is a software which can be deployed into kubernetes with its helm charts.
27
-
2. Use customized tekton pipelines to run the tests.
24
+
DefaultPromptTemplate=`I have a component in my repository and I want to evaluate the impact of the component's {{.Dimension}} dimension.
25
+
here is the context of the component's {{.Dimension}} dimension
26
+
1. a component is a piece of software that can be deployed into kubernetes via its helm chart.
27
+
2. tests are run using a customized tokton.
28
28
29
-
Below are the tested Tasks:
30
-
31
29
{{ .Tasks }}
32
30
31
+
You need to rate the component (1-10, out of 10), give recommendations and point out problems.
32
+
The scores are integer types, and the suggestions and problems are string arrays.
33
+
At least one of the suggestions and problems must be given. Answers are output in json format:
33
34
34
-
**Component {{ .Dimension }} Assessment**:
35
-
- Could you please review the above tested tasks and inform me any potential {{ .Dimension }} risks if I adopt this component in production?
- On a scale of 1 to 10, with 10 being the most reliable, how would you rate the {{ .Dimension }} of this component?
37
+
Note that the data corresponding to the chinese field in the json should be output in Chinese, and the data corresponding to the english field should be output in English.`
39
38
40
-
Your answer should follow the below format:
41
-
{{.OutputFormat}}
42
-
`
39
+
/*
40
+
DefaultPromptTemplate = `
41
+
I have a component in my repository that I'm interested in assessing the {{ .Dimension }} implications of this component.Below are some context from component {{ .Dimension }} check:
42
+
1. A component is a software which can be deployed into kubernetes with its helm charts.
43
+
2. Use customized tekton pipelines to run the tests.
44
+
45
+
Below are the tested Tasks:
46
+
47
+
{{ .Tasks }}
48
+
49
+
50
+
**Component {{ .Dimension }} Assessment**:
51
+
- Could you please review the above tested tasks and inform me any potential {{ .Dimension }} risks if I adopt this component in production?
52
+
53
+
**Final Rating based on above tested tasks**:
54
+
- On a scale of 1 to 10, with 10 being the most reliable, how would you rate the {{ .Dimension }} of this component?
0 commit comments