package
0.4.0
Repository: https://github.com/milosgajdos/go-embeddings.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new Ollama HTTP API client and returns it.
NewEmbedder creates a client that implements embeddings.Embedder.
WithBaseURL sets the API base URL.
WithVersion sets the API version.

# Constants

BaseURL is Ollama HTTP API embeddings base URL.

# Structs

APIError is Ollama API error.
Client is an OpenAI HTTP API client.
EmbedddingResponse received from API.
EmbeddingRequest is serialized and sent to the API server.
No description provided by the author

# Type aliases

Option is functional option.