Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → generate_chat_completion_ollama_api_chat_post

AI-generated

Summary

Send a POST request to the /ollama/api/chat endpoint to generate a chat completion using the Ollama API with Open Web UI.

Inputs

  • Skip Authentication — Optional boolean to skip authentication; defaults to false.
  • Method (required) — HTTP method to use; must be POST for this operation.
  • Query Parameters — Optional query parameters including 'url_idx' (integer) and 'bypass_filter' (boolean) to customize the request.
  • Media Type (required) — Type of the request media; fixed to 'application/json' for this operation.
  • Request Body (required) — JSON object containing the data for the chat completion request, as specified by the API schema.

Output shape

a JSON object representing the chat completion response from the Ollama API.

The request body is required and must be provided in application/json format. Authentication is mandatory unless explicitly skipped. Query parameters 'url_idx' and 'bypass_filter' are optional and influence the chat completion behavior.

Links

Discussion