Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { ModelProxy *modelproxy.Handler K8sClient client.Client // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(k8sClient client.Client, modelProxy *modelproxy.Handler) *Handler
type Model ¶
type Model struct { ID string `json:"id"` Created int64 `json:"created"` Object string `json:"object"` OwnedBy string `json:"owned_by"` Features []kubeaiv1.ModelFeature `json:"features,omitempty"` }
Model is a struct that represents a model object from the OpenAI API.
func (*Model) FromK8sModel ¶
Click to show internal directories.
Click to hide internal directories.