AS AgentScopeAPI 手册 / API Reference

SegmentInfo

record SegmentInfo( String key, long seqStart, long seqEnd, String writerId, Instant createdAt)
源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77

承载 Segment 信息数据的记录类型。位于 io.agentscope.harness.agent.transcript 包。核心成员包括 key、seqStart、seqEnd、writerId、createdAt。

Metadata for one immutable segment.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
keyString
执行键相关操作。
Performs the key operation.
seqStartlong
执行 `seqStart` 方法。
Performs the seq start operation.
seqEndlong
执行 `seqEnd` 方法。
Performs the seq end operation.
writerIdString
执行 `writerId` 方法。
Performs the writer id operation.
createdAtInstant
执行已创建 At相关操作。
Performs the created at operation.

记录组件详情Record Component Detail

key

String key

执行键相关操作。

Performs the key operation.

源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77

seqStart

long seqStart

执行 seqStart 方法。

Performs the seq start operation.

源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77

seqEnd

long seqEnd

执行 seqEnd 方法。

Performs the seq end operation.

源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77

writerId

String writerId

执行 writerId 方法。

Performs the writer id operation.

源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77

createdAt

Instant createdAt

执行已创建 At相关操作。

Performs the created at operation.

源码Source io/agentscope/harness/agent/transcript/TranscriptStore.java:76–77
基于官方固定版本源码静态生成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.