AS AgentScopeAPI 手册 / API Reference

JevProperties

@ConfigurationProperties(prefix = "agentscope.jev") public class JevProperties
源码Source io/agentscope/spring/boot/jev/JevProperties.java:24–118

Jev 属性,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.spring.boot.jev 包。核心成员包括 isEnabled、setEnabled、getApiKey、setApiKey、getBaseUrl、setBaseUrl。

Jev decision model settings.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Retry类class
重试,对智能体行为进行评测、追踪与可观测性分析。
Retry policy settings.

方法摘要Method Summary

方法Method说明Description
public boolean isEnabled()
判断是否已启用。
Returns whether the enabled.
public void setEnabled(boolean enabled)
设置已启用。
Sets the enabled.
public String getApiKey()
获取API 键。
Returns the api key.
public void setApiKey(String apiKey)
设置API 键。
Sets the api key.
public String getBaseUrl()
获取基类 URL。
Returns the base url.
public void setBaseUrl(String baseUrl)
设置基类 URL。
Sets the base url.
public String getModel()
获取模型。
Returns the model.
public void setModel(String model)
设置模型。
Sets the model.
public Duration getTimeout()
获取超时。
Returns the timeout.
public void setTimeout(Duration timeout)
设置超时。
Sets the timeout.
public Retry getRetry()
获取重试。
Returns the retry.
public void setRetry(Retry retry)
设置重试。
Sets the retry.

方法详情Method Detail

isEnabled

public boolean isEnabled()

判断是否已启用。

Returns whether the enabled.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:45–47

setEnabled

public void setEnabled(boolean enabled)

设置已启用。

Sets the enabled.

参数Parameters
名称Name类型Type说明Description
enabledboolean已启用(类型 `boolean`)。The enabled.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:49–51

getApiKey

public String getApiKey()

获取API 键。

Returns the api key.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:53–55

setApiKey

public void setApiKey(String apiKey)

设置API 键。

Sets the api key.

参数Parameters
名称Name类型Type说明Description
apiKeyStringAPI 键(类型 `String`)。The api key.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:57–59

getBaseUrl

public String getBaseUrl()

获取基类 URL。

Returns the base url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:61–63

setBaseUrl

public void setBaseUrl(String baseUrl)

设置基类 URL。

Sets the base url.

参数Parameters
名称Name类型Type说明Description
baseUrlString基类 URL(类型 `String`)。The base url.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:65–67

getModel

public String getModel()

获取模型。

Returns the model.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:69–71

setModel

public void setModel(String model)

设置模型。

Sets the model.

参数Parameters
名称Name类型Type说明Description
modelString模型实例(类型 `String`)。The model.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:73–75

getTimeout

public Duration getTimeout()

获取超时。

Returns the timeout.

返回Returns Duration
返回时长。Returns duration.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:77–79

setTimeout

public void setTimeout(Duration timeout)

设置超时。

Sets the timeout.

参数Parameters
名称Name类型Type说明Description
timeoutDuration超时时间(类型 `Duration`)。The timeout.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:81–83

getRetry

public Retry getRetry()

获取重试。

Returns the retry.

返回Returns Retry
返回重试。Returns retry.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:85–87

setRetry

public void setRetry(Retry retry)

设置重试。

Sets the retry.

参数Parameters
名称Name类型Type说明Description
retryRetry重试(类型 `Retry`)。The retry.
源码Source io/agentscope/spring/boot/jev/JevProperties.java:89–91

嵌套类详情Nested Class Detail

Retry

public static class Retry

重试,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.spring.boot.jev 包。核心成员包括 getMaxRetries、setMaxRetries、getInitialBackoff、setInitialBackoff。

Retry policy settings.

基于官方固定版本源码静态生成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.