modified to combine openwebui and ollama
This commit is contained in:
@@ -74,8 +74,8 @@ To deploy the service:
|
||||
## API Documentation
|
||||
|
||||
Once the service is running, you can access the API documentation at:
|
||||
- Swagger UI: http://localhost:5251/docs
|
||||
- ReDoc: http://localhost:5251/redoc
|
||||
- Swagger UI: http://localhost:5252/docs
|
||||
- ReDoc: http://localhost:5252/redoc
|
||||
|
||||
## OpenWebUI Configuration
|
||||
|
||||
@@ -83,8 +83,8 @@ To configure OpenWebUI to use this service as its backend:
|
||||
|
||||
1. Set the following environment variables in OpenWebUI:
|
||||
```
|
||||
OLLAMA_API_BASE_URL=http://your-server-ip:5251/ollama
|
||||
OPENAI_API_BASE_URL=http://your-server-ip:5251/api
|
||||
OLLAMA_API_BASE_URL=http://your-server-ip:5252/ollama
|
||||
OPENAI_API_BASE_URL=http://your-server-ip:5252/api
|
||||
```
|
||||
|
||||
2. Restart OpenWebUI to apply the changes.
|
||||
|
||||
Reference in New Issue
Block a user