Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assistant ¶
type Assistant interface { GetId() string GetCreatedAt() int64 GetDescription() *string GetFileIds() []string GetInstructions() *string GetMetadata() map[string]string GetModel() string GetName() *string GetObject() string GetTools() []tools.Tool }
func NewAssistantFromJson ¶
type AssistantParam ¶
type AssistantParam struct { Model string `json:"model,omitempty" v:"required"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Instructions string `json:"instructions,omitempty"` Tools []tools.Tool `json:"tools,omitempty"` FileIds []string `json:"file_ids,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` }
Click to show internal directories.
Click to hide internal directories.