-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs(azure): add assistants api example #1675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go
[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.ts
demonstrating how to use the Assistants API with Azure OpenAIexamples/azure/chat.ts
(Azure AD withAzureOpenAI
client)2024-10-01-preview
consistent 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.