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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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 = "..."