Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) openaiConfig
Types ¶
type CompletionRequestQual ¶
type CompletionRequestQual struct { Model *string `json:"model"` Prompt *string `json:"prompt,omitempty"` Suffix *string `json:"suffix,omitempty"` MaxTokens *int `json:"max_tokens,omitempty"` Temperature *float32 `json:"temperature,omitempty"` TopP *float32 `json:"top_p,omitempty"` N *int `json:"n,omitempty"` Stream *bool `json:"stream,omitempty"` LogProbs *int `json:"logprobs,omitempty"` Stop []string `json:"stop,omitempty"` PresencePenalty *float32 `json:"presence_penalty,omitempty"` FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"` BestOf *int `json:"best_of,omitempty"` LogitBias map[string]int `json:"logit_bias,omitempty"` User *string `json:"user,omitempty"` }
type CompletionRow ¶
type OrganizationInfo ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.