AS AgentScopeAPI 手册 / API Reference

JevClient

public final class JevClient
源码Source io/agentscope/extensions/judge/jev/JevClient.java:46–504

Jev 客户端,封装与远端服务的连接和调用。位于 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_URL
staticfinal
String
默认基类 URL字段。
The DEFAULT BASE URL field.
DEFAULT_MODEL
staticfinal
String
默认模型字段。
The DEFAULT MODEL field.
DEFAULT_TIMEOUT
staticfinal
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
staticfinal

默认基类 URL字段。声明为 public static final String DEFAULT_BASE_URL。

The DEFAULT BASE URL field.

源码Source io/agentscope/extensions/judge/jev/JevClient.java:48

DEFAULT_MODEL

public static final String DEFAULT_MODEL
staticfinal

默认模型字段。声明为 public static final String DEFAULT_MODEL。

The DEFAULT MODEL field.

源码Source io/agentscope/extensions/judge/jev/JevClient.java:49

DEFAULT_TIMEOUT

public static final Duration DEFAULT_TIMEOUT
staticfinal

默认超时字段。声明为 public static final Duration DEFAULT_TIMEOUT。

The DEFAULT TIMEOUT field.

源码Source io/agentscope/extensions/judge/jev/JevClient.java:50

方法详情Method Detail

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/extensions/judge/jev/JevClient.java:76–78

systemOne

public Mono<SystemOneResult> systemOne(SystemOneRequest request)

设置该参数。

Sends a System One request and returns the validated result.

参数Parameters
名称Name类型Type说明Description
requestSystemOneRequest请求(类型 `SystemOneRequest`)。The request.
返回Returns Mono<SystemOneResult>
返回Mono。Returns mono.
源码Source io/agentscope/extensions/judge/jev/JevClient.java:81–91

systemOneBlocking

public SystemOneResult systemOneBlocking(SystemOneRequest request)

设置该参数。

Blocking convenience wrapper for #systemOne(SystemOneRequest).

参数Parameters
名称Name类型Type说明Description
requestSystemOneRequest请求(类型 `SystemOneRequest`)。The request.
返回Returns SystemOneResult
返回SystemOneResult。Returns system one result.
源码Source io/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.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.