SystemInstructions
@JsonClassDescription("System instructions") public class SystemInstructions
源码Source
io/agentscope/core/tracing/telemetry/model/SystemInstructions.java:33–54表示列出的系统指令已发送到模型。位于 io.agentscope.core.tracing.telemetry.model 包。核心成员包括 getParts、create、getSerializableObject。
Represents the list of system instructions sent to the model.
Thread unsafe model.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<MessagePart> getParts() | 获取 `getParts`。 Returns the parts. |
public static SystemInstructions create(List<MessagePart> parts)static | 创建并返回实例。 Creates and returns an instance. |
public List<MessagePart> getSerializableObject() | 获取 `getSerializableObject`。 Returns the serializable object. |
方法详情Method Detail
getParts
public List<MessagePart> getParts()
获取 getParts。
Returns the parts.
List<MessagePart>返回列出。Returns list.
源码Source
io/agentscope/core/tracing/telemetry/model/SystemInstructions.java:38–41create
public static SystemInstructions create(List<MessagePart> parts)
static
创建并返回实例。
Creates and returns an instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
parts | List<MessagePart> | parts(类型 `List`)。The parts. |
SystemInstructions返回SystemInstructions。Returns system instructions.
源码Source
io/agentscope/core/tracing/telemetry/model/SystemInstructions.java:43–45getSerializableObject
public List<MessagePart> getSerializableObject()
获取 getSerializableObject。
Returns the serializable object.
List<MessagePart>返回列出。Returns list.
源码Source
io/agentscope/core/tracing/telemetry/model/SystemInstructions.java:47–49