Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IModelProvider ¶
type OpenAIProvider ¶
type OpenAIProvider struct {
// contains filtered or unexported fields
}
func NewOpenAIProvider ¶
func NewOpenAIProvider() *OpenAIProvider
func (*OpenAIProvider) CountTokens ¶
func (*OpenAIProvider) GetEndpoint ¶
func (o *OpenAIProvider) GetEndpoint() string
func (*OpenAIProvider) GetModels ¶
func (o *OpenAIProvider) GetModels() []string
Click to show internal directories.
Click to hide internal directories.