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

Uploaded Python 3

File details

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

File metadata

  • Download URL: summer_ai-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 439c38a8cbe3f3c4296059d7b5b4685de36e3c9c4ee18dda9fe6f96632084560
MD5 8b3fd53ccbcc424b15759ee14b5c4a35
BLAKE2b-256 491477f6c684041ba0c4daa6f471f50c3900056e3bd8ab9cc1c5dba86bbff95f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: summer_ai-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 989a71b5a754386543e83bd06326e4d82b6098c79a87572351b29688cbabf1a4
MD5 ae12fe77e50b7d887df6bff96f1998cd
BLAKE2b-256 1db89dffc1f0099e52f0ea922b5bbbee67090ac6132094b0cfb964cf95c0e576

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