@@ -17,16 +17,15 @@ If you have docker installed, you can use the following command to run the tool,
1717installation:
1818
1919``` bash
20- # Display help
21- docker run ghcr.io/mutablelogic/go-llm:latest --help
20+ # Display version, help
21+ docker run ghcr.io/mutablelogic/go-llm version
22+ docker run ghcr.io/mutablelogic/go-llm --help
2223
2324# Interact with Claude to retrieve news headlines, assuming
24- # you have an API key for Anthropic and NewsAPI
25- docker run \
26- -e OLLAMA_URL -e MISTRAL_API_KEY -e ANTHROPIC_API_KEY -e OPENAI_API_KEY \
27- -e NEWSAPI_KEY \
28- ghcr.io/mutablelogic/go-llm:latest \
29- chat mistral-small-latest --prompt " What is the latest news?" --no-stream
25+ # you have an API key for both Anthropic and NewsAPI
26+ docker run -e ANTHROPIC_API_KEY -e NEWSAPI_KEY \
27+ ghcr.io/mutablelogic/go-llm \
28+ chat mistral-small-latest --prompt " What is the latest news?"
3029```
3130
3231See below for more information on how to use the command-line tool (or how to
@@ -559,17 +558,24 @@ LLM agent command line interface
559558Flags:
560559 -h, --help Show context-sensitive help.
561560 --debug Enable debug output
562- --verbose Enable verbose output
561+ -v, --verbose Enable verbose output
562+ --timeout=DURATION Agent connection timeout
563563 --ollama-endpoint=STRING Ollama endpoint ($OLLAMA_URL)
564564 --anthropic-key=STRING Anthropic API Key ($ANTHROPIC_API_KEY)
565+ --mistral-key=STRING Mistral API Key ($MISTRAL_API_KEY)
566+ --open-ai-key=STRING OpenAI API Key ($OPENAI_API_KEY)
567+ --gemini-key=STRING Gemini API Key ($GEMINI_API_KEY)
565568 --news-key=STRING News API Key ($NEWSAPI_KEY)
566569
567570Commands:
568- agents Return a list of agents
569- models Return a list of models
570- tools Return a list of tools
571- download Download a model
572- chat Start a chat session
571+ agents Return a list of agents
572+ models Return a list of models
573+ tools Return a list of tools
574+ download Download a model
575+ chat Start a chat session
576+ complete Complete a prompt
577+ embedding Generate an embedding
578+ version Print the version of this tool
573579
574580Run "llm <command> --help" for more information on a command.
575581```
0 commit comments