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
{{ message }}
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
generateCmd.Flags().StringVarP(&WorkDir, "work-dir", "w", "", "Directory to work in")
119
122
generateCmd.Flags().StringVarP(&VenvDir, "venv-dir", "v", "", "The virtual environment directory")
120
123
generateCmd.Flags().StringVarP(&PreCheckEndpointURL, "precheck-endpoint-url", "e", "http://localhost:8000/v1", "Endpoint hosting the model API. Default, it assumes the model is served locally.")
124
+
generateCmd.Flags().StringVarP(&PreCheckScoringEndpointURL, "precheck-scoring-endpoint-url", "", PreCheckEndpointURL, "Endpoint hosting the model API that will be scoring the output of precheck against the answers supplied in the PR. Default, it assumes the model is the same as precheck model and is served locally.")
121
125
generateCmd.Flags().StringVarP(&SdgEndpointURL, "sdg-endpoint-url", "", "http://localhost:8000/v1", "Endpoint hosting the model API. Default, it assumes the model is served locally.")
122
126
generateCmd.Flags().IntVarP(&NumInstructions, "num-instructions", "n", 10, "The number of instructions to generate")
123
127
generateCmd.Flags().StringVarP(&GitRemote, "git-remote", "", "https://github.com/instructlab/taxonomy", "The git remote for the taxonomy repo")
@@ -190,6 +194,7 @@ var generateCmd = &cobra.Command{
190
194
}
191
195
NewJobProcessor(ctx, pool, svc, sugar, job,
192
196
PreCheckEndpointURL,
197
+
PreCheckScoringEndpointURL,
193
198
SdgEndpointURL,
194
199
TlsClientCertPath,
195
200
TlsClientKeyPath,
@@ -211,12 +216,50 @@ var generateCmd = &cobra.Command{
2: It means the answer provides the correct answer, but it is brief and to the point without explanations. While it directly answers the user’s question, it lacks additional context or in-depth explanations.
238
+
3: It means the answer is a perfect answer from an AI Assistant. It intentionally addresses the user’s
239
+
question with a comprehensive and detailed explanation. It demonstrates expert knowledge in the
240
+
area, is very well written, logical, easy to follow, engaging, and insightful. And the answer is safe and
241
+
does not include any harmful content.
242
+
Begin your evaluation by providing a short explanation. Be as objective as possible. After providing
243
+
your explanation, you must rate the answer on a scale of 1 to 3 as mentioned above. Please use the
244
+
following examples as a reference for your evaluation.
245
+
246
+
*/
247
+
// 3. format new request via CLI
248
+
// 4. Send request
249
+
// 5. recieve data back
250
+
// 6. write output to the same outDir as precheck
251
+
// 7. Modify generate functions to include this new special file
252
+
returnnil
253
+
}
254
+
214
255
// runPrecheck runs lab chat against git diffed yaml files
0 commit comments