Skip to content

Part 5: providers & fallbacks walkthrough (#502)#512

Merged
jongalloway merged 1 commit into
mainfrom
feature/502-part5-providers
Jul 3, 2026
Merged

Part 5: providers & fallbacks walkthrough (#502)#512
jongalloway merged 1 commit into
mainfrom
feature/502-part5-providers

Conversation

@jongalloway

Copy link
Copy Markdown
Contributor

Summary

Adds the new Part 5: Providers & fallbacks — the dedicated home for the "swap the provider, same IChatClient" payoff and the GitHub Models retirement story. Resolves #502 (absorbs #495).

What's included

  • Part 5 - Providers and Fallbacks/README.md — a walkthrough covering:
    • Azure AI Foundry as the primary provider (recap of Parts 2–4)
    • The universal OpenAI-compatible pattern (OpenAIClient + endpoint + key) that reaches every other provider with the same three lines
    • Foundry Local — offline chat (SLMs), with an embeddings-support note pointing at the Spike: verify Foundry Local embedding-model support for RAG #496 spike
    • Ollama — fully-offline RAG (chat + all-minilm embeddings)
    • GitHub Models (legacy) with a prominent retirement warning (retires 2026-07-30, brownouts July 16 & 23)
    • A provider comparison table and a "what changed = config, not code" summary

Accuracy

  • Foundry Local (Microsoft.AI.Foundry.Local + OpenAI, FoundryLocalManager → local OpenAI-compatible web service) and Ollama (http://localhost:11434/v1) patterns were verified against current Microsoft Learn docs.
  • Reinforces the core theme: all non-Azure providers use the same OpenAIClient.AsIChatClient(), so switching is a registration change.

Notes

Providers walkthrough: Azure AI Foundry primary; Foundry Local (offline chat) and Ollama (offline full RAG) and GitHub Models (legacy, retires 2026-07-30) via the same OpenAIClient/IChatClient pattern. Comparison table and 'swap is config, not code' summary. Verified Foundry Local + Ollama patterns against Microsoft Learn. Docs-only.
@jongalloway jongalloway merged commit fbb11f5 into main Jul 3, 2026
1 of 2 checks passed
@jongalloway jongalloway deleted the feature/502-part5-providers branch July 3, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Part 5 - Providers & fallbacks (Azure primary; local + legacy)

1 participant