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

Method createABTest

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

* 创建并执行 A/B 测试 * @param config A/B 测试配置 * @returns A/B 测试结果

(config: ABTestConfig)

Source from the content-addressed store, hash-verified

276 * @returns A/B 测试结果
277 */
278 async createABTest(config: ABTestConfig): Promise<ABTestResult> {
279 return this.request<ABTestResult>("/v1/evals/ab-test", {
280 method: "POST",
281 body: config,
282 });
283 }
284
285 /**
286 * 获取 A/B 测试结果

Callers 1

compareAgentsMethod · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected