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

Fixed Ollama base URL #119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/providers/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Ollama is a local model, which has an OpenAI compatible API. It supports the mod
- To start the API server, follow the instruction in the [Ollama docs](https://github.com/ollama/ollama?tab=readme-ov-file#quickstart).
- Authenticate K8sGPT with LocalAI:
```bash
k8sgpt auth add --backend localai --model <model_name> --baseurl http://localhost:11434/v1
k8sgpt auth add --backend localai --model <model_name> --baseurl http://localhost:11434
```
- Analyze with a LocalAI backend:
```bash
Expand All @@ -224,7 +224,7 @@ Ollama can get up and running locally with large language models. It runs Llama

- Authenticate K8sGPT with Ollama:
```bash
k8sgpt auth add --backend ollama --model llama2 --baseurl http://localhost:11434/v1
k8sgpt auth add --backend ollama --model llama2 --baseurl http://localhost:11434
```
- Analyze with a Ollama backend:
```bash
Expand Down