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

Method create

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

* 创建并执行 Eval * @param request Eval 请求 * @returns Eval 信息

(request: EvalRequest)

Source from the content-addressed store, hash-verified

24 * @returns Eval 信息
25 */
26 async create(request: EvalRequest): Promise<EvalInfo> {
27 return this.request<EvalInfo>("/v1/evals", {
28 method: "POST",
29 body: request,
30 });
31 }
32
33 /**
34 * 运行文本评估(便捷方法)

Callers 4

runTextEvalMethod · 0.95
runBatchEvalMethod · 0.95
quickEvalMethod · 0.95
batchEvalMethod · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected