mirror of
https://github.com/open-webui/docs
synced 2025-05-21 11:46:15 +00:00
Update index.mdx
This commit is contained in:
parent
385d38b6ce
commit
4a9b995851
@ -110,7 +110,7 @@ We’ve updated the **function signatures** to better fit the new architecture.
|
|||||||
#### Function Signature Changes:
|
#### Function Signature Changes:
|
||||||
| **Old** | **New** |
|
| **Old** | **New** |
|
||||||
|-----------------------------------------|-----------------------------------------|
|
|-----------------------------------------|-----------------------------------------|
|
||||||
| `openai.generate_chat_completion(form_data: dict)` | `chat_completion(request: Request, form_data: dict)` |
|
| `openai.generate_chat_completion(form_data: dict, user: UserModel)` | `chat_completion(request: Request, form_data: dict, user: UserModel)` |
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user