azure-ai-projects-ts

Solid

Build AI applications using Azure AI Projects SDK for JavaScript (@azure/ai-projects). Use when working with Foundry project clients, agents, connections, deployments, datasets, indexes, evaluations, or getting OpenAI clients.

AI & Automation 2,541 stars 295 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Azure AI Projects SDK for TypeScript High-level SDK for Azure AI Foundry projects with agents, connections, deployments, and evaluations. ## Installation ```bash npm install @azure/ai-projects @azure/identity ``` For tracing: ```bash npm install @azure/monitor-opentelemetry @opentelemetry/api ``` ## Environment Variables ```bash AZURE_AI_PROJECT_ENDPOINT=https://<resource>.services.ai.azure.com/api/projects/<project> MODEL_DEPLOYMENT_NAME=gpt-4o ``` ## Authentication ```typescript import { AIProjectClient } from "@azure/ai-projects"; import { DefaultAzureCredential } from "@azure/identity"; const client = new AIProjectClient( process.env.AZURE_AI_PROJECT_ENDPOINT!, new DefaultAzureCredential() ); ``` ## Operation Groups | Group | Purpose | |-------|---------| | `client.agents` | Create and manage AI agents | | `client.connections` | List connected Azure resources | | `client.deployments` | List model deployments | | `client.datasets` | Upload and manage datasets | | `client.indexes` | Create and manage search indexes | | `client.evaluators` | Manage evaluation metrics | | `client.memoryStores` | Manage agent memory | ## Getting OpenAI Client ```typescript const openAIClient = await client.getOpenAIClient(); // Use for responses const response = await openAIClient.responses.create({ model: "gpt-4o", input: "What is the capital of France?" }); // Use for conversations const conversation = await openAIClient.conversations.create({ items: [{ type: "mess...

Details

Author
microsoft
Repository
microsoft/skills
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category