Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUploadURLV1 ¶
type CreateUploadURLV1 struct {
UserID string `json:"userID"`
}
func (CreateUploadURLV1) GetUserID ¶
func (c CreateUploadURLV1) GetUserID() string
type EmbedV1 ¶
type EmbedV1 struct { UserID string `json:"userID"` Text string `json:"text"` Model llm.ServiceName `json:"model"` }
type GenerateImageV1 ¶
type GenerateImageV1 struct { UserID string `json:"userID"` Prompt string `json:"prompt"` Model llm.ServiceName `json:"model"` // DALL-E specific fields Size string `json:"size,omitempty"` // FLUX specific fields Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` PromptUpsampling string `json:"promptUpsampling,omitempty"` Seed int `json:"seed,omitempty"` SafetyTolerance int `json:"safetyTolerance,omitempty"` }
func (GenerateImageV1) GetUserID ¶
func (g GenerateImageV1) GetUserID() string
type PresignedURLV1 ¶
type PresignedURLV1 struct { UserID string `json:"userID"` URL string `json:"url"` Folder string `json:"folder"` }
func (PresignedURLV1) GetUserID ¶
func (p PresignedURLV1) GetUserID() string
type PromptV1 ¶
type SearchExamplesV1 ¶
type SearchExamplesV1 struct { UserID string `json:"userID"` Embedding llm.Embedding `json:"embedding"` K int `json:"k"` }
func (SearchExamplesV1) GetUserID ¶
func (s SearchExamplesV1) GetUserID() string
Click to show internal directories.
Click to hide internal directories.