AS AgentScopeAPI 手册 / API Reference

RandomStringGenerator

public class RandomStringGenerator
源码Source io/agentscope/runtime/sandbox/manager/util/RandomStringGenerator.java:23–40

Random String Generator,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.sandbox.manager.util 包。核心成员包括 generateRandomString。

Random string generator

方法摘要Method Summary

方法Method说明Description
public static String generateRandomString(int length)
static
设置该参数。
Generate random string of specified length

方法详情Method Detail

generateRandomString

public static String generateRandomString(int length)
static

设置该参数。

Generate random string of specified length

参数Parameters
名称Name类型Type说明Description
lengthint长度(类型 `int`)。string length
返回Returns String
返回字符串结果。random string
源码Source io/agentscope/runtime/sandbox/manager/util/RandomStringGenerator.java:33–39
基于官方固定版本源码静态生成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.