Skip to content

docs(providers): rewrite OpenAI / Anthropic / Ollama / OCI pages#27

Merged
fede-kamel merged 1 commit into
mainfrom
docs/provider-pages-rewrite
May 2, 2026
Merged

docs(providers): rewrite OpenAI / Anthropic / Ollama / OCI pages#27
fede-kamel merged 1 commit into
mainfrom
docs/provider-pages-rewrite

Conversation

@fede-kamel
Copy link
Copy Markdown
Contributor

The previous provider pages were correct but terse — capability tree dumps, weak "when to pick" guidance, no practical-workflow worked examples. This rewrite restructures every page around the same easy-to-read template:

  1. One-paragraph pitch — what this provider is, why you'd pick it.
  2. "When to pick X" table with cross-links to alternatives.
  3. Getting started — three numbered steps.
  4. What you get out of the box — each capability as natural prose plus a runnable example, not a single-line bullet.
  5. Practical workflow section showing real use.
  6. Common gotchas table.
  7. Source links + See also.

Per-page highlights

  • OpenAI — separated chat / o-series / streaming / tool-calling / structured-output as their own subsections; gateway tour (Azure / Portkey / LiteLLM / vLLM / together) explains when each is the right pick.
  • Anthropic — prompt-caching cost story spelled out (1/10× input on cached span; ~5-min ephemeral window; auto when system > ~1024 tokens). Extended-thinking ThinkEvent example. Cross-link to Claude-on-OCI as a no-API-key alternative.
  • Ollama — positioned as "develop offline / test deterministically / iterate before paying"; per-model tool-calling support table; the laptop→hosted swap-one-line workflow demonstrated.
  • OCI — leads with the value prop ("90+ models, day-0 coverage, one auth surface"). Three-transport story (V1 / SDK / DAC) with routing-by-model-id table. DAC section integrates the new how-to. The "laptop dev → OKE production" workflow shows the value of one auth surface concretely.

Page sizes

Page Before After
OpenAI 78 165
Anthropic 71 186
Ollama 73 167
OCI 97 201
Total 318 719

More substance, but structured so each section is short and skimmable. Headers carry the story; every code block is runnable.

Validation

  • hatch run check clean.
  • All cross-page links exist (verified manually).

Test plan

  • mkdocs build --strict runs in docs.yml workflow on next main push (catches dead links).
  • CI gate CI Success passes.

The previous provider pages were correct but terse — capability tree
dumps with no narrative, weak "when to pick" guidance, and no
practical-workflow worked examples. This rewrite restructures every
page around the same easy-to-read template:

  1. One-paragraph "what this provider is + why you'd pick it"
  2. "When to pick X" table with cross-links to alternatives
  3. Getting started — three numbered steps
  4. What you get out of the box — each capability as natural prose
     plus a runnable code example, not a single-line bullet
  5. Practical workflow / gotcha section
  6. Common gotchas table
  7. Source links + See also

Per-page highlights
-------------------
- OpenAI: separated chat / o-series reasoning / streaming /
  tool-calling / structured-output as their own subsections; gateway
  tour (Azure / Portkey / LiteLLM / vLLM / together) explains when
  each one is the right pick.
- Anthropic: the prompt-caching cost story spelled out (1/10× input
  on cached span; ~5-min ephemeral window; auto when system >
  ~1024 tokens). Extended-thinking ThinkEvent example. Cross-link to
  Claude-on-OCI as a no-API-key alternative.
- Ollama: positioned as "develop offline / test deterministically /
  iterate before paying"; per-model tool-calling support table; the
  laptop→hosted swap-one-line workflow demonstrated.
- OCI: now leads with the value prop ("90+ models, day-0 model
  coverage, one auth surface"). Three-transport story (V1 / SDK /
  DAC) with a single ascii table showing routing by model-id
  pattern. DAC section integrates the new how-to. The "laptop dev →
  OKE production" workflow shows the value of one auth surface
  concretely.

Page sizes: 318 → 719 lines total.
- openai: 78 → 165
- anthropic: 71 → 186
- ollama: 73 → 167
- oci: 97 → 201

Validation
----------
- ``hatch run check`` clean.
- ``mkdocs build --strict`` not re-run here; docs.yml CI workflow
  catches link rot on the next push to main.

Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 2, 2026
@fede-kamel fede-kamel merged commit e868b34 into main May 2, 2026
10 checks passed
@fede-kamel fede-kamel deleted the docs/provider-pages-rewrite branch May 13, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant