Update tutorial/openai.md

This commit is contained in:
Justin Hayes 2024-03-14 23:41:33 -04:00 committed by GitHub
parent 44f8899947
commit 79312d0dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 1 sidebar_position: 2
title: "OpenAI API" title: "OpenAI API"
--- ---
@ -9,7 +9,7 @@ In this tutorial, we will demonstrate how to configure multiple OpenAI (or compa
## Docker Run ## Docker Run
Here's an example `docker run` command similar to what you might use for Open-WebUI: Here's an example `docker run` command similar to what you might use for Open WebUI:
```bash ```bash
docker run -d -p 3000:8080 \ docker run -d -p 3000:8080 \
-v open-webui:/app/backend/data \ -v open-webui:/app/backend/data \
@ -28,7 +28,7 @@ You can adapt this command to your own needs, and add even more endpoint/key pai
## Docker Compose ## Docker Compose
Alternatively, you can use a `docker-compose.yaml` file to define and run the Open-WebUI container. Here's an abridged version of what that might look like: Alternatively, you can use a `docker-compose.yaml` file to define and run the Open WebUI container. Here's an abridged version of what that might look like:
```yaml ```yaml
services: services:
open-webui: open-webui: