MCPcopy Create free account
hub / github.com/openai/plugins / renderWorkflowGuide

Function renderWorkflowGuide

plugins/plugin-eval/src/renderers/markdown.js:162–181  ·  view source on GitHub ↗
(guide)

Source from the content-addressed store, hash-verified

160}
161
162function renderWorkflowGuide(guide) {
163 if (!guide) {
164 return "No chat workflow guidance available.";
165 }
166
167 const startHere = guide.startHere || guide.recommendedWorkflow;
168 return [
169 guide.beginnerSummary,
170 "",
171 `Start with this chat request: "${startHere.chatPrompt}"`,
172 `Why this path: ${startHere.routingExplanation || startHere.summary}`,
173 `Quick local entrypoint: ${startHere.startCommand}`,
174 `Plugin Eval will run first: ${startHere.firstCommand}`,
175 "",
176 "Other chat requests you can use:",
177 ...guide.entrypoints.map((entry) =>
178 `- ${entry.label}: say "${entry.chatPrompt}" -> ${entry.firstCommand}`,
179 ),
180 ].join("\n");
181}
182
183function renderMeasurementPlan(plan) {
184 if (!plan) {

Callers 5

renderEvaluationFunction · 0.70
renderBudgetExplanationFunction · 0.70
renderBenchmarkRunFunction · 0.70

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected