* 创建并执行 A/B 测试 * @param config A/B 测试配置 * @returns A/B 测试结果
(config: ABTestConfig)
| 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 测试结果 |