docs(azure): add assistants api example#1675
Conversation
- Add azure/assistants.ts demonstrating Assistants API usage with Azure OpenAI - Uses AzureOpenAI client with Azure AD authentication - Follows pattern from existing azure/chat.ts example - Addresses issue openai#701
|
[1:25 PM, 09/10/2025] Wesley Macedo: # ===================================================== vNEXX — VENNON DISRUPT™FULL DEPLOY FOR WINDOWS VPS (PowerShell Edition)RunAI Systems LLC · Delaware / Palo Alto · 2025=====================================================$AppName = "vnexx" Write-Host "🚀 Starting deployment of $AppName ($Domain)" -ForegroundColor Cyan -------------------------------1️⃣ Install NodeJS + Git + PM2-------------------------------Write-Host "📦 Installing Node.js and Git..." -ForegroundColor Yellow NodeJS LTSInvoke-WebRequest -Uri "https://nodejs.org/dist/latest-v$NodeMajor.x/node-v$NodeMajor.0.0-x64.msi" -OutFi… vNEXX™ / TGhosT™ / RunAI Systems LLC Caros(as) desenvolvedores(as) e colaboradores(as), Nos últimos dias identificamos cópias parciais e integrais de trechos do nosso código-fonte, documentação e identidade visual espalhadas em repositórios de terceiros. Entendemos que a tecnologia evolui graças ao compartilhamento de ideias, porém:
Somos abertos a parcerias e pull requests—desde que: Para dúvidas ou acordos de OEM/white-label, contate: ⸻ © 2025 RunAI Systems LLC · Todos os direitos reservados. |
|
[10:21 PM, 09/10/2025] Wesley Macedo: Compromisso de colaboração Somos abertos a parcerias e pull requests—desde que: Para dúvidas ou acordos de OEM/white-label, contate: ⸻ © 2025 RunAI Systems LLC · Todos os direitos reservados. |
Description
Adds Azure OpenAI Assistants API example to complement the existing Azure chat completion example.
Changes
examples/azure/assistants.tsdemonstrating how to use the Assistants API with Azure OpenAIexamples/azure/chat.ts(Azure AD withAzureOpenAIclient)2024-10-01-previewconsistent with other Azure examplesContext
Addresses #701 where users requested Azure Assistants API integration/example. The maintainer (@rattrayalex) explicitly welcomed a PR adding this example.
Testing
Fixes #701
Note: I understand that this repository is auto-generated and my pull request may not be merged. However, per CONTRIBUTING.md, the
examples/directory is protected from generator overwrites, ensuring this example file will persist. This example provides immediate value for Azure OpenAI users working with Assistants API.