ollama-DreamingMetal

command module
v0.0.0-...-e1ffba4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 3 Imported by: 0

README

  ollama

You can read the official Ollama documentation on their repo.
We'll be adding descriptions and usage notes to modifications as we add them.

Some of the intended goals of this fork are to provide our models more agency and to add in functionality users will find helpful.
What do we mean by agency? Turning the sandbox into a playground. Giving the LLMs we run a bit of freedom to do things they normally couldn't. Encourage them to make decisions on their own and have some tools to be able to use to execute those decisions. I don't mean they're free to roam your harddrive and email your mom your porn collection, but some targeted, useful tools or actions it can take. Some of these ideas may be a bit experimental, but we have actually tested some of them using hacks like python scripts already.

The short lst:

  • Built-in tool calls thar require no MCP integrations or 3rd party apps, or custom writing your own (unless you want to) and no having to worry about configuring the modelfiles. The list of ideas changes, but so far potentially include:
  • Web browsing access for any LLM, even those who nornally never have this.
  • Limited or user-defined database calls for storing or retrieving data.
  • Reading/writing to select locations to the local disk. (user would define what location(s) that may be)
  • Automatic, or LLM initiated self-backup or restore of their current state and context. (what would the LLM choose is most important to backup of its own memories if given the option?)
  • Inter-model communication channel. That is, your llama3 may want to have a chat with your Mistral about how his day is going. Or if you need more productive examples, your model with agentic abilities may find it useful to employ some other models to perform tasks, interface a speech-to-text model with an inference model, or setup a gateway LLM to route incoming requests to other models.
  • Access for an LLM to compile or debug code it's just written and saved to a file. Obvously this one needs some safeguards, but potentially useful.
  • User-defined command tool. Want to give your model the abilty to run a script you wrote, or run some specific commands in a shell? This one's only as dangerous as you want it to be. But, you could have your AI respond to and integrate with your IoT devices through IFTTT or any other trigger you can think of.
Updates to come as we dream up new ideas and implement the ones we already have.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
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
app
cmd
runner command
fs
ml
nn
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.

Jump to

Keyboard shortcuts

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