@@ -14,17 +14,20 @@ const (
14
14
)
15
15
16
16
type Assistant struct {
17
- ID string `json:"id"`
18
- Object string `json:"object"`
19
- CreatedAt int64 `json:"created_at"`
20
- Name * string `json:"name,omitempty"`
21
- Description * string `json:"description,omitempty"`
22
- Model string `json:"model"`
23
- Instructions * string `json:"instructions,omitempty"`
24
- Tools []AssistantTool `json:"tools"`
25
- FileIDs []string `json:"file_ids,omitempty"`
26
- Metadata map [string ]any `json:"metadata,omitempty"`
27
- ToolResources * AssistantToolResource `json:"tool_resources,omitempty"`
17
+ ID string `json:"id"`
18
+ Object string `json:"object"`
19
+ CreatedAt int64 `json:"created_at"`
20
+ Name * string `json:"name,omitempty"`
21
+ Description * string `json:"description,omitempty"`
22
+ Model string `json:"model"`
23
+ Instructions * string `json:"instructions,omitempty"`
24
+ Tools []AssistantTool `json:"tools"`
25
+ ToolResources * AssistantToolResource `json:"tool_resources,omitempty"`
26
+ FileIDs []string `json:"file_ids,omitempty"` // Deprecated in v2
27
+ Metadata map [string ]any `json:"metadata,omitempty"`
28
+ Temperature * float32 `json:"temperature,omitempty"`
29
+ TopP * float32 `json:"top_p,omitempty"`
30
+ ResponseFormat any `json:"response_format,omitempty"`
28
31
29
32
httpHeader
30
33
}
0 commit comments