Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Line Interface #183

Open
p-vdp opened this issue Jun 7, 2024 · 0 comments
Open

Command Line Interface #183

p-vdp opened this issue Jun 7, 2024 · 0 comments

Comments

@p-vdp
Copy link

p-vdp commented 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.

This was referenced Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant