mirror of
https://github.com/open-webui/docs
synced 2025-05-20 19:26:22 +00:00
Update index.mdx
This commit is contained in:
parent
320076333c
commit
891ff7834a
@ -123,7 +123,7 @@ Depending on your use case, you can choose between:
|
|||||||
|
|
||||||
2. **`open_webui.utils.chat.generate_chat_completion`:**
|
2. **`open_webui.utils.chat.generate_chat_completion`:**
|
||||||
- Directly makes a POST request without handling extra parsing or tasks.
|
- Directly makes a POST request without handling extra parsing or tasks.
|
||||||
- This is the **direct successor** to the previous `ollama.generate_chat_completion` and `openai.generate_chat_completion` functions in Open WebUI 0.4.
|
- This is the **direct successor** to the previous `main.generate_chat_completions`, `ollama.generate_chat_completion` and `openai.generate_chat_completion` functions in Open WebUI 0.4.
|
||||||
- Best for simplified and more lightweight scenarios.
|
- Best for simplified and more lightweight scenarios.
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
|
Loading…
Reference in New Issue
Block a user