ollama

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2025 License: AGPL-3.0, Apache-2.0, MIT Imports: 14 Imported by: 0

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

type OllamaProxy

type OllamaProxy struct {
	api.OpenAIProxy
	// contains filtered or unexported fields
}

func (*OllamaProxy) Proxy

func (o *OllamaProxy) Proxy() http.HandlerFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL