Update 12 - OpenAI API.md

This commit is contained in:
oobabooga 2023-11-07 12:59:40 -03:00 committed by GitHub
parent 55dc9845cb
commit 0c440877de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ OPENAI_API_BASE=http://127.0.0.1:5000/v1
With the [official python openai client](https://github.com/openai/openai-python), the address can be set like this: With the [official python openai client](https://github.com/openai/openai-python), the address can be set like this:
```shell ```python
import openai import openai
openai.api_key = "..." openai.api_key = "..."