Class: Ollama::Commands

Inherits:
Object
  • Object
show all
Defined in:
lib/ollama.rb

Overview

A module that groups together various command classes used to interact with the Ollama API.

This module serves as a namespace for all command implementations that correspond to specific Ollama API endpoints. It provides the structure and functionality needed to define and execute different types of operations such as chat conversations, model generation, model management, and other interactions with the Ollama server.

Examples:

Accessing command classes

Ollama::Commands::Chat
Ollama::Commands::Generate
Ollama::Commands::Create

Defined Under Namespace

Classes: Chat, Copy, Create, Delete, Embed, Embeddings, Generate, Ps, Pull, Push, Show, Tags, Version