Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/src/content/docs/en/configuration.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
title: Configuration
sidebar:
Expand Down Expand Up @@ -84,6 +84,8 @@
ocr config set custom_providers.openai-responses-gateway.api_key "$OPENAI_API_KEY"
```

The `url` can be either the API base URL or the full `/responses` endpoint — OCR normalizes it either way.

A local model served by Ollama is just a custom provider pointing at the
local OpenAI-compatible endpoint:

Expand Down
2 changes: 2 additions & 0 deletions pages/src/content/docs/ja/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ ocr config set custom_providers.openai-responses-gateway.model gpt-5
ocr config set custom_providers.openai-responses-gateway.api_key "$OPENAI_API_KEY"
```

`url` には API の Base URL または完全な `/responses` エンドポイントのどちらを指定してもよく、OCR がどちらの形式も正規化します。

Ollama で動かすローカルモデルは、ローカルの OpenAI 互換エンドポイントを
指すカスタム provider にすぎません。

Expand Down
2 changes: 2 additions & 0 deletions pages/src/content/docs/zh/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ ocr config set custom_providers.openai-responses-gateway.model gpt-5
ocr config set custom_providers.openai-responses-gateway.api_key "$OPENAI_API_KEY"
```

`url` 既可以填 API 的 Base URL,也可以填完整的 `/responses` 端点,OCR 会自动归一化处理。

用 Ollama 跑本地模型,就是一个指向本地 OpenAI 兼容端点的自定义 provider:

```bash
Expand Down
Loading