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

Function createArtifact

plugins/plugin-eval/src/core/schema.js:103–121  ·  view source on GitHub ↗
({
  id,
  type,
  label,
  description,
  data = null,
  path = null,
  source = "core",
})

Source from the content-addressed store, hash-verified

101}
102
103export function createArtifact({
104 id,
105 type,
106 label,
107 description,
108 data = null,
109 path = null,
110 source = "core",
111}) {
112 return {
113 id,
114 type,
115 label,
116 description,
117 source,
118 ...(path ? { path } : {}),
119 ...(data ? { data } : {}),
120 };
121}

Callers 9

initializeBenchmarkFunction · 0.90
analyzeObservedUsageFunction · 0.90
addBudgetFindingsFunction · 0.90
buildMeasurementPlanFunction · 0.90
evaluatePluginFunction · 0.90
analyzeCoverageArtifactsFunction · 0.90
analyzePythonFilesFunction · 0.90
analyzeTypeScriptFilesFunction · 0.90
evaluateSkillFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected