Skip to main content

A command-line tool for querying Ollama models

Project description

Cliborg - A Command-Line Interface for Ollama Models

Cliborg is a simple command-line tool that lets you interact with locally hosted Ollama language models. You can ask questions to the model, configure the default model, and manage your preferences via a configuration file.

Installation

To install Cliborg, make sure you have Ollama and click installed on your system.

pip install click ollama

Usage

Once installed, you can use Cliborg to interact with your Ollama models. The following commands are available:

Ask a Question

You can ask questions directly to the model by using the ask command:

cliborg ask "What is the capital of Japan?"

Configure Default Model

To set the default model for future queries, use the config command:

cliborg config llama3.1

Show Configuration

To view the current configuration, including the model being used:

cliborg show_config

Configuration

Cliborg stores its configuration in a .cliborg_config.json file located in the user's home directory. This file allows you to save preferences like the default model, which is used across sessions.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cliborg-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cliborg-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file cliborg-0.1.2.tar.gz.

File metadata

  • Download URL: cliborg-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for cliborg-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4e738ca670cf6ba6203ad74438305b491aa716823cb3134d5f7d106b768f3e86
MD5 b05250c4301fa6317647eb8b3f8b015c
BLAKE2b-256 5d6d1555ed60934da5c07f5752cb7f4b8535904b44dc0cbd66df382b57eb1eca

See more details on using hashes here.

File details

Details for the file cliborg-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cliborg-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for cliborg-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ce668b30bbe486083d4271971ffbb83ff0deb08c50af9ac4d28e8b19066109c
MD5 177c598071a47f48e6654720c616f970
BLAKE2b-256 6dce3bf6d70ee355d621cf6f2cc690196d855eff42d4acb9b85d5efbe45c6d48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page