Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultFallthroughModel = "gpt-4o-mini"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureOpenAIEngine ¶
type AzureOpenAIEngine struct {
// contains filtered or unexported fields
}
func NewAzureOpenAIEngineWithConfig ¶
func NewAzureOpenAIEngineWithConfig(configStr string) (*AzureOpenAIEngine, error)
func (*AzureOpenAIEngine) IsAllowedPath ¶
func (e *AzureOpenAIEngine) IsAllowedPath(path string) bool
func (*AzureOpenAIEngine) ModifyRequest ¶
func (e *AzureOpenAIEngine) ModifyRequest(r *http.Request)
func (*AzureOpenAIEngine) Name ¶
func (e *AzureOpenAIEngine) Name() string
func (*AzureOpenAIEngine) ResponseCallback ¶ added in v0.1.5
func (e *AzureOpenAIEngine) ResponseCallback(resp *http.Response, body io.Reader)
Click to show internal directories.
Click to hide internal directories.