mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
Update 12 - OpenAI API.md
This commit is contained in:
parent
ddca6948b2
commit
cc04abda49
@ -284,6 +284,8 @@ Warning: You cannot mix embeddings from different models even if they have the s
|
||||
|
||||
### Compatibility & not so compatibility
|
||||
|
||||
Note: the table below may be obsolete.
|
||||
|
||||
| API endpoint | tested with | notes |
|
||||
| ------------------------- | ---------------------------------- | --------------------------------------------------------------------------- |
|
||||
| /v1/chat/completions | openai.ChatCompletion.create() | Use it with instruction following models |
|
||||
@ -310,6 +312,8 @@ Warning: You cannot mix embeddings from different models even if they have the s
|
||||
|
||||
Almost everything needs the `OPENAI_API_KEY` and `OPENAI_API_BASE` environment variable set, but there are some exceptions.
|
||||
|
||||
Note: the table below may be obsolete.
|
||||
|
||||
| Compatibility | Application/Library | Website | Notes |
|
||||
| ------------- | ---------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| ✅❌ | openai-python (v0.25+) | https://github.com/openai/openai-python | only the endpoints from above are working. OPENAI_API_BASE=http://127.0.0.1:5001/v1 |
|
||||
|
Loading…
Reference in New Issue
Block a user