JevClient
public final class JevClient
io/agentscope/extensions/judge/jev/JevClient.java:46–504Jev 客户端,封装与远端服务的连接和调用。位于 io.agentscope.extensions.judge.jev 包。核心成员包括 builder、systemOne、systemOneBlocking、DEFAULT_BASE_URL、DEFAULT_MODEL、DEFAULT_TIMEOUT。
Java client for TypeSafe's System One endpoint.
Jev is not a chat model. This client intentionally does not implement AgentScope's
Model contract; use it when application code needs a fast, typed, calibrated decision.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.extensions.judge.jev that evaluates agent behaviour and records tracing and telemetry data. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
DEFAULT_BASE_URLstaticfinal | String | 默认基类 URL字段。 The DEFAULT BASE URL field. |
DEFAULT_MODELstaticfinal | String | 默认模型字段。 The DEFAULT MODEL field. |
DEFAULT_TIMEOUTstaticfinal | Duration | 默认超时字段。 The DEFAULT TIMEOUT field. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
public Mono<SystemOneResult> systemOne(SystemOneRequest request) | 设置该参数。 Sends a System One request and returns the validated result. |
public SystemOneResult systemOneBlocking(SystemOneRequest request) | 设置该参数。 Blocking convenience wrapper for `#systemOne(SystemOneRequest)`. |
字段详情Field Detail
DEFAULT_BASE_URL
public static final String DEFAULT_BASE_URL
默认基类 URL字段。声明为 public static final String DEFAULT_BASE_URL。
The DEFAULT BASE URL field.
io/agentscope/extensions/judge/jev/JevClient.java:48DEFAULT_MODEL
public static final String DEFAULT_MODEL
默认模型字段。声明为 public static final String DEFAULT_MODEL。
The DEFAULT MODEL field.
io/agentscope/extensions/judge/jev/JevClient.java:49DEFAULT_TIMEOUT
public static final Duration DEFAULT_TIMEOUT
默认超时字段。声明为 public static final Duration DEFAULT_TIMEOUT。
The DEFAULT TIMEOUT field.
io/agentscope/extensions/judge/jev/JevClient.java:50方法详情Method Detail
builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/extensions/judge/jev/JevClient.java:76–78systemOne
public Mono<SystemOneResult> systemOne(SystemOneRequest request)
设置该参数。
Sends a System One request and returns the validated result.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
request | SystemOneRequest | 请求(类型 `SystemOneRequest`)。The request. |
Mono<SystemOneResult>io/agentscope/extensions/judge/jev/JevClient.java:81–91systemOneBlocking
public SystemOneResult systemOneBlocking(SystemOneRequest request)
设置该参数。
Blocking convenience wrapper for #systemOne(SystemOneRequest).
| 名称Name | 类型Type | 说明Description |
|---|---|---|
request | SystemOneRequest | 请求(类型 `SystemOneRequest`)。The request. |
SystemOneResultio/agentscope/extensions/judge/jev/JevClient.java:94–96嵌套类详情Nested Class Detail
Builder
public static final class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.extensions.judge.jev 包。核心成员包括 apiKey、baseUrl、model、transport、retryPolicy、timeout。
A class in io.agentscope.extensions.judge.jev that evaluates agent behaviour and records tracing and telemetry data. Declared in io.agentscope.extensions.judge.jev.