Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implements the client-side API for code wishing to interact with the ollama service.
|
Package api implements the client-side API for code wishing to interact with the ollama service. |
|
examples/chat
command
|
|
|
examples/generate
command
|
|
|
examples/generate-streaming
command
|
|
|
examples/multimodal
command
|
|
|
examples/pull-progress
command
|
|
|
runner
command
|
|
|
nn/fast
fast provides implementations of fast (fused) operations for increased performance.
|
fast provides implementations of fast (fused) operations for increased performance. |
|
openai package provides core transformation logic for partial compatibility with the OpenAI REST API
|
openai package provides core transformation logic for partial compatibility with the OpenAI REST API |
|
internal/cache/blob
Package blob implements a content-addressable disk cache for blobs and manifests.
|
Package blob implements a content-addressable disk cache for blobs and manifests. |
|
internal/client/ollama
Package ollama provides a client for interacting with an Ollama registry which pushes and pulls model manifests and layers as defined by the ollama.com/manifest.
|
Package ollama provides a client for interacting with an Ollama registry which pushes and pulls model manifests and layers as defined by the ollama.com/manifest. |
|
internal/internal/stringsx
Package stringsx provides additional string manipulation functions that aren't in the standard library's strings package or go4.org/mem.
|
Package stringsx provides additional string manipulation functions that aren't in the standard library's strings package or go4.org/mem. |
|
internal/internal/syncs
Package syncs provides synchronization primitives.
|
Package syncs provides synchronization primitives. |
|
internal/manifest
Package manifest provides documentation for the Ollama manifest format.
|
Package manifest provides documentation for the Ollama manifest format. |
|
internal/registry
Package registry implements an http.Handler for handling local Ollama API model management requests.
|
Package registry implements an http.Handler for handling local Ollama API model management requests. |
|
types
|
|
|
errtypes
Package errtypes contains custom error types
|
Package errtypes contains custom error types |
|
model
Package model contains types and utilities for parsing, validating, and working with model names and digests.
|
Package model contains types and utilities for parsing, validating, and working with model names and digests. |
Click to show internal directories.
Click to hide internal directories.