Skip to main content

ai cli tool

Project description

Python Project

Usage

venv/bin/python main.py

curl localhost:7869/api/generate -d '{
	"model": "llama3.1",
	"prompt": "hi",
	"stream": false
}'

Environment

key type default description
HOST string "http://localhost:7869" base url to the Ollama server
MODEL string "llama3.2" default model to use
KEEP_ALIVE_MINS int 20 max time to keep unused model in memory

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

summer_ai-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

summer_ai-0.0.3-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file summer_ai-0.0.3.tar.gz.

File metadata

  • Download URL: summer_ai-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for summer_ai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 09b9973cd0b9c864e30b73c73958b41c81661c06b4c5780ee1dfade54eec9201
MD5 48d60a7052da5a33c1fbb1af5965f8ee
BLAKE2b-256 cef5055384c83132802830c56625f5e370b524af19e10a5bdf8de45ff9c4cd01

See more details on using hashes here.

File details

Details for the file summer_ai-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: summer_ai-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for summer_ai-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4ef289930c0491d9c13efc23b591a165d4204048ca2999654b92173d79fedb
MD5 fa3490d5f6d95fe0653d7b8e5945ba73
BLAKE2b-256 29405d9bf1b6568faf8fd8040d90dc93da7d914209ad32666f70faaf4a4cc41b

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