MCPcopy Create free account
hub / github.com/astercloud/aster / exportResult

Method exportResult

client-sdks/client-js/src/resources/eval.ts:343–348  ·  view source on GitHub ↗

* 导出 Eval 结果 * @param evalId Eval ID * @param format 导出格式 * @returns 导出内容

(evalId: string, format: "json" | "csv")

Source from the content-addressed store, hash-verified

341 * @returns 导出内容
342 */
343 async exportResult(evalId: string, format: "json" | "csv"): Promise<string> {
344 const result = await this.request<{ content: string }>(`/v1/evals/${evalId}/export`, {
345 params: { format },
346 });
347 return result.content;
348 }
349
350 // ==========================================================================
351 // Quick Eval Helpers

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected