mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Command Line Interface #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @p-vdp on GitHub (Jun 7, 2024).
I'm running ollama on a remote server and would like to interact with it from another machine via CLI and the REST API.
This should be pretty straightforward to do with a custom Client object in
__main__.py. Usage from a terminal would be something like this:python -m ollama --endpoint http://remotehost:11434 --model llama3 --message "Why is the sky blue?"I'm interested in implementing this. Do folks have a preference for CLI parameter handling? I prefer absl.
@synacktraa commented on GitHub (Jul 26, 2024):
I prefer Cyclopts
@mxyng commented on GitHub (Aug 27, 2024):
As mentioned in #185, a CLI is be out of scope of this repo. You are however free to implement your a CLI in your own repo