Documentation
¶
Index ¶
- type AgentRuntimeArtifact
- type AgentRuntimeRespSpec
- type CodeInterpreterOut
- type CodeInterpreterSessionOut
- type ContainerConfiguration
- type CreateCodeInterpreterSpec
- type CreateEventSpec
- type CreateMemorySpec
- type CreateRuntimeSpec
- type DescribeCodeInterpreterOut
- type DescribeCodeInterpreterSessionsOut
- type DescribeCodeInterpretersOut
- type DescribeMemoriesOut
- type DescribeMemoryOut
- type EventIDOut
- type EventOut
- type EventResponseSpec
- type EventsOut
- type MemoryOut
- type Message
- type PageEventsOut
- type SearchEventsSpec
- type UpdateCodeInterpreterSpec
- type UpdateMemorySpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentRuntimeArtifact ¶
type AgentRuntimeArtifact struct {
/* (Optional) */
ContainerConfiguration *ContainerConfiguration `json:"containerConfiguration"`
}
type AgentRuntimeRespSpec ¶
type AgentRuntimeRespSpec struct {
/* ID (Optional) */
AgentRuntimeId string `json:"agentRuntimeId"`
/* 名称 (Optional) */
AgentRuntimeName string `json:"agentRuntimeName"`
/* 版本 (Optional) */
AgentRuntimeVersion string `json:"agentRuntimeVersion"`
/* 创建时间 (Optional) */
CreatedAt string `json:"createdAt"`
/* 描述 (Optional) */
Description string `json:"description"`
/* 最后更新时间 (Optional) */
LastUpdatedAt string `json:"lastUpdatedAt"`
/* 状态 (Optional) */
Status string `json:"status"`
}
type CodeInterpreterOut ¶
type CodeInterpreterOut struct {
/* (Optional) */
CodeInterpreterId string `json:"codeInterpreterId"`
}
type ContainerConfiguration ¶
type ContainerConfiguration struct {
/* 启动参数 (Optional) */
Args []string `json:"args"`
/* 启动命令 (Optional) */
Cmd *string `json:"cmd"`
/* 容器镜像 (Optional) */
ContainerUri *string `json:"containerUri"`
/* 环境变量 (Optional) */
EnvironmentVariables *interface{} `json:"environmentVariables"`
/* 端口 (Optional) */
Port *int64 `json:"port"`
}
type CreateCodeInterpreterSpec ¶
type CreateCodeInterpreterSpec struct {
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description string `json:"description"`
/* (Optional) */
Name string `json:"name"`
/* 地域 Id */
RegionId string `json:"regionId"`
}
type CreateEventSpec ¶
type CreateEventSpec struct {
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 是否进行推理并保存长期记忆。 默认为 true。 (Optional) */
Infer bool `json:"infer"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 消息内容 */
Messages []Message `json:"messages"`
/* 地域 Id */
RegionId string `json:"regionId"`
/* 会话ID: 传入会话 ID 的,会保存为临时记忆 (Optional) */
SessionId string `json:"sessionId"`
}
type CreateMemorySpec ¶
type CreateMemorySpec struct {
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description string `json:"description"`
/* (Optional) */
Name string `json:"name"`
/* 地域 Id */
RegionId string `json:"regionId"`
}
type CreateRuntimeSpec ¶
type CreateRuntimeSpec struct {
/* */
AgentRuntimeArtifact AgentRuntimeArtifact `json:"agentRuntimeArtifact"`
/* 名称 */
AgentRuntimeName string `json:"agentRuntimeName"`
/* 描述 (Optional) */
Description string `json:"description"`
}
type DescribeCodeInterpreterSessionsOut ¶
type DescribeCodeInterpreterSessionsOut struct {
/* (Optional) */
Sessions []CodeInterpreterSessionOut `json:"sessions"`
/* (Optional) */
TotalCount int64 `json:"totalCount"`
}
type DescribeCodeInterpretersOut ¶
type DescribeCodeInterpretersOut struct {
/* (Optional) */
CodeInterpreters []DescribeCodeInterpreterOut `json:"codeInterpreters"`
/* 总页数 (Optional) */
NumberPages int64 `json:"numberPages"`
/* 总记录数 (Optional) */
NumberRecords int64 `json:"numberRecords"`
/* 当前页码 (Optional) */
PageNumber int64 `json:"pageNumber"`
/* 分页大小 (Optional) */
PageSize int64 `json:"pageSize"`
}
type DescribeMemoriesOut ¶
type DescribeMemoriesOut struct {
/* (Optional) */
Memories []DescribeMemoryOut `json:"memories"`
/* 总页数 (Optional) */
NumberPages int64 `json:"numberPages"`
/* 总记录数 (Optional) */
NumberRecords int64 `json:"numberRecords"`
/* 当前页码 (Optional) */
PageNumber int64 `json:"pageNumber"`
/* 分页大小 (Optional) */
PageSize int64 `json:"pageSize"`
}
type DescribeMemoryOut ¶
type EventIDOut ¶
type EventIDOut struct {
/* 事件 ID (Optional) */
EventId string `json:"eventId"`
}
type EventResponseSpec ¶
type EventsOut ¶
type EventsOut struct {
/* (Optional) */
Events []EventResponseSpec `json:"events"`
}
type PageEventsOut ¶
type PageEventsOut struct {
/* (Optional) */
Events []EventResponseSpec `json:"events"`
/* 总页数 (Optional) */
NumberPages int64 `json:"numberPages"`
/* 总记录数 (Optional) */
NumberRecords int64 `json:"numberRecords"`
/* 当前页码 (Optional) */
PageNumber int64 `json:"pageNumber"`
/* 分页大小 (Optional) */
PageSize int64 `json:"pageSize"`
}
type SearchEventsSpec ¶
type UpdateCodeInterpreterSpec ¶
type UpdateCodeInterpreterSpec struct {
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
/* (Optional) */
Description string `json:"description"`
/* (Optional) */
Name string `json:"name"`
/* 地域 Id */
RegionId string `json:"regionId"`
}
type UpdateMemorySpec ¶
type UpdateMemorySpec struct {
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description string `json:"description"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* (Optional) */
Name string `json:"name"`
/* 地域 Id */
RegionId string `json:"regionId"`
}
Source Files
¶
- AgentRuntimeArtifact.go
- AgentRuntimeRespSpec.go
- CodeInterpreterOut.go
- CodeInterpreterSessionOut.go
- ContainerConfiguration.go
- CreateCodeInterpreterSpec.go
- CreateEventSpec.go
- CreateMemorySpec.go
- CreateRuntimeSpec.go
- DescribeCodeInterpreterOut.go
- DescribeCodeInterpreterSessionsOut.go
- DescribeCodeInterpretersOut.go
- DescribeMemoriesOut.go
- DescribeMemoryOut.go
- EventIDOut.go
- EventOut.go
- EventResponseSpec.go
- EventsOut.go
- MemoryOut.go
- Message.go
- PageEventsOut.go
- SearchEventsSpec.go
- UpdateCodeInterpreterSpec.go
- UpdateMemorySpec.go
Click to show internal directories.
Click to hide internal directories.