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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09b9973cd0b9c864e30b73c73958b41c81661c06b4c5780ee1dfade54eec9201
|
|
| MD5 |
48d60a7052da5a33c1fbb1af5965f8ee
|
|
| BLAKE2b-256 |
cef5055384c83132802830c56625f5e370b524af19e10a5bdf8de45ff9c4cd01
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb4ef289930c0491d9c13efc23b591a165d4204048ca2999654b92173d79fedb
|
|
| MD5 |
fa3490d5f6d95fe0653d7b8e5945ba73
|
|
| BLAKE2b-256 |
29405d9bf1b6568faf8fd8040d90dc93da7d914209ad32666f70faaf4a4cc41b
|