-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathagentschemas.go
More file actions
42 lines (35 loc) · 1007 Bytes
/
agentschemas.go
File metadata and controls
42 lines (35 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
// InputSchema - The schema for the agent input. In JSON Schema format.
type InputSchema struct {
}
// OutputSchema - The schema for the agent output. In JSON Schema format.
type OutputSchema struct {
}
// AgentSchemas - Defines the structure and properties of an agent.
type AgentSchemas struct {
// The ID of the agent.
AgentID string `json:"agent_id"`
// The schema for the agent input. In JSON Schema format.
InputSchema InputSchema `json:"input_schema"`
// The schema for the agent output. In JSON Schema format.
OutputSchema OutputSchema `json:"output_schema"`
}
func (o *AgentSchemas) GetAgentID() string {
if o == nil {
return ""
}
return o.AgentID
}
func (o *AgentSchemas) GetInputSchema() InputSchema {
if o == nil {
return InputSchema{}
}
return o.InputSchema
}
func (o *AgentSchemas) GetOutputSchema() OutputSchema {
if o == nil {
return OutputSchema{}
}
return o.OutputSchema
}