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.1.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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f30a9706e8de998e3d8dbb1b51ccdd7391639c96a2e0848cdb9fc86778ad6267
|
|
| MD5 |
64a4025a3f216e10bdc33fbaf3f07f89
|
|
| BLAKE2b-256 |
5f35bd89bdb8e8f6284b4a80817722f84e43f9749acef08307f8e3983a35eeef
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67d62adf6e0351c09833a091dd58868ec1e2086a80dfd66542698e9f5efc27fc
|
|
| MD5 |
2f37c2ef878d0a8b5e386632a972c1b2
|
|
| BLAKE2b-256 |
235fc97fe91b51c2a9c2f1c33a607b50d8e54bbf45774102feaf7269fb19af1d
|