models

package
v1.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 CodeInterpreterSessionOut

type CodeInterpreterSessionOut struct {

	/*  (Optional) */
	CreatedAt string `json:"createdAt"`

	/*  (Optional) */
	SessionId string `json:"sessionId"`
}

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 DescribeCodeInterpreterOut

type DescribeCodeInterpreterOut struct {

	/* CodeInterpreter id  */
	CodeInterpreterId string `json:"codeInterpreterId"`

	/*  (Optional) */
	Description string `json:"description"`

	/*  (Optional) */
	Name string `json:"name"`
}

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 DescribeMemoryOut struct {

	/*  (Optional) */
	Description string `json:"description"`

	/* 内存id  */
	MemoryId string `json:"memoryId"`

	/*  (Optional) */
	Name string `json:"name"`
}

type EventIDOut

type EventIDOut struct {

	/* 事件 ID (Optional) */
	EventId string `json:"eventId"`
}

type EventOut

type EventOut struct {

	/* 触发用户 (Optional) */
	Actor string `json:"actor"`

	/* 消息内容 (Optional) */
	Content string `json:"content"`

	/* 创建时间 (Optional) */
	CreatedAt string `json:"createdAt"`

	/* 事件 ID (Optional) */
	EventId string `json:"eventId"`
}

type EventResponseSpec

type EventResponseSpec struct {

	/* 触发用户 (Optional) */
	Actor string `json:"actor"`

	/* 消息内容 (Optional) */
	Content string `json:"content"`

	/* 创建时间 (Optional) */
	CreatedAt string `json:"createdAt"`

	/* 事件 ID (Optional) */
	EventId string `json:"eventId"`
}

type EventsOut

type EventsOut struct {

	/*  (Optional) */
	Events []EventResponseSpec `json:"events"`
}

type MemoryOut

type MemoryOut struct {

	/*  (Optional) */
	MemoryId string `json:"memoryId"`
}

type Message

type Message struct {

	/* 消息内容  */
	Content string `json:"content"`

	/* 消息类型  */
	Role string `json:"role"`
}

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 SearchEventsSpec struct {

	/* 触发用户  */
	Actor string `json:"actor"`

	/* 查询条件  */
	Query string `json:"query"`

	/* 会话ID (Optional) */
	SessionId string `json:"sessionId"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL