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
|
|
|
app
|
|
|
cmd/app
command
|
|
|
dialog
Package dialog provides a simple cross-platform common dialog API.
|
Package dialog provides a simple cross-platform common dialog API. |
|
logrotate
package logrotate provides utilities for rotating logs TODO (jmorgan): this most likely doesn't need it's own package and can be moved to app where log files are created
|
package logrotate provides utilities for rotating logs TODO (jmorgan): this most likely doesn't need it's own package and can be moved to app where log files are created |
|
store
Package store provides a simple JSON file store for the desktop application to save and load data such as ollama server configuration, messages, login information and more.
|
Package store provides a simple JSON file store for the desktop application to save and load data such as ollama server configuration, messages, login information and more. |
|
ui
package ui implements a chat interface for Ollama
|
package ui implements a chat interface for Ollama |
|
webview
* MIT License * * Copyright (c) 2017 Serge Zaitsev * Copyright (c) 2022 Steffen André Langnes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software.
|
* MIT License * * Copyright (c) 2017 Serge Zaitsev * Copyright (c) 2022 Steffen André Langnes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. |
|
bench
command
|
|
|
runner
command
|
|
|
docs
|
|
|
tools/extract-examples
command
|
|
|
internal
|
|
|
orderedmap
Package orderedmap provides a generic ordered map that maintains insertion order.
|
Package orderedmap provides a generic ordered map that maintains insertion order. |
|
nn/rope
Package rope provides options for RoPE
|
Package rope provides options for RoPE |
|
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. |
|
x
|
|
|
agent
Package agent provides agent loop orchestration and tool approval.
|
Package agent provides agent loop orchestration and tool approval. |
|
imagegen
Package imagegen provides experimental image generation capabilities for Ollama.
|
Package imagegen provides experimental image generation capabilities for Ollama. |
|
imagegen/api
Package api provides OpenAI-compatible image generation API types.
|
Package api provides OpenAI-compatible image generation API types. |
|
imagegen/client
Package client provides client-side model creation for tensor-based models.
|
Package client provides client-side model creation for tensor-based models. |
|
imagegen/transfer
Package transfer provides minimal, fast blob transfer for tensor-based models.
|
Package transfer provides minimal, fast blob transfer for tensor-based models. |
|
tools
Package tools provides built-in tool implementations for the agent loop.
|
Package tools provides built-in tool implementations for the agent loop. |
Click to show internal directories.
Click to hide internal directories.