Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type OpenAIEngine ¶
type OpenAIEngine struct {
// contains filtered or unexported fields
}
func NewOpenAIEngineWithConfig ¶ added in v0.1.2
func NewOpenAIEngineWithConfig(configStr string) (*OpenAIEngine, error)
func (*OpenAIEngine) IsAllowedPath ¶ added in v0.1.2
func (e *OpenAIEngine) IsAllowedPath(path string) bool
func (*OpenAIEngine) ModifyRequest ¶
func (e *OpenAIEngine) ModifyRequest(r *http.Request)
func (*OpenAIEngine) Name ¶
func (e *OpenAIEngine) Name() string
func (*OpenAIEngine) ResponseCallback ¶ added in v0.1.5
func (e *OpenAIEngine) ResponseCallback(resp *http.Response, body io.Reader)
Click to show internal directories.
Click to hide internal directories.