← Work

typescript · spfx · azure-functions · azure-openai

RAG Document Assistant

Conversational access to client documents inside Microsoft 365, with managed-identity auth and routing across model providers.

Problem

Clients wanted to ask questions of their own documents from inside Microsoft 365, rather than hunting through libraries for the answer.

Decisions

  • An SPFx front end for conversational document interaction, on an Azure Functions back end.
  • Authentication through managed identities and federated credentials.
  • Multi-provider model routing across Azure OpenAI, Anthropic and Grok.
  • Embeddings migrations as a planned part of the system.
  • The infrastructure deploys through the deployment contract platform.

Outcome

RAG systems built end to end, from the SPFx interface through the Functions back end to the model providers.

Next: Deployment Contract Platform →