dllama

command module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 15 Imported by: 0

README

dllama

A simple terminal interface to chat with a remote or local instance Ollama.

Installation

go install github.com/dmars8047/dllama@latest

Usage

After installing the package, you can run the following command to start the chat interface. This assumes your go bin directory is in your PATH.

dllama -url <url> -model <model>
For Example
dllama -url http://localhost:11434 -model llama3.2

Configuration

It is recommended that you create a configuration file by running the following command:

dllama --config

This will create a configuration file with default values for your Ollama URL and your default model. After your configuration file you no longer need to specify the URL and model in the command line. Doing so will override the values in the configuration file.


## Commands

- `-config`: Create a user-wide configuration file.
- `-help`: Display help information.
- `-list-models`: List available models.
- `-model <model>`: Sets the model to use when chatting with Ollama.
- `-url <url>`: Set the Ollama URL.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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