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.1.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.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: summer_ai-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f30a9706e8de998e3d8dbb1b51ccdd7391639c96a2e0848cdb9fc86778ad6267
MD5 64a4025a3f216e10bdc33fbaf3f07f89
BLAKE2b-256 5f35bd89bdb8e8f6284b4a80817722f84e43f9749acef08307f8e3983a35eeef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: summer_ai-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67d62adf6e0351c09833a091dd58868ec1e2086a80dfd66542698e9f5efc27fc
MD5 2f37c2ef878d0a8b5e386632a972c1b2
BLAKE2b-256 235fc97fe91b51c2a9c2f1c33a607b50d8e54bbf45774102feaf7269fb19af1d

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