Documentation
¶
Index ¶
Constants ¶
View Source
const ( ChatCompletionObject = "chat.completion" ChatCompletionChunkObject = "chat.completion.chunk" )
Variables ¶
This section is empty.
Functions ¶
func NewOllamaEmbeddingsProxy ¶
func NewOllamaEmbeddingsProxy(host string) (api.OpenAIProxy, error)
func NewOllamaProxy ¶
func NewOllamaProxy(host string) (api.OpenAIProxy, error)
Types ¶
type OllamaEmbeddingsProxy ¶
type OllamaEmbeddingsProxy struct {
// contains filtered or unexported fields
}
func (*OllamaEmbeddingsProxy) Proxy ¶
func (o *OllamaEmbeddingsProxy) Proxy() http.HandlerFunc
type OllamaProxy ¶
type OllamaProxy struct {
api.OpenAIProxy
// contains filtered or unexported fields
}
func (*OllamaProxy) Proxy ¶
func (o *OllamaProxy) Proxy() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.