JavaScript Quickstart (placeholder for docs - not fully functional yet)#46
Merged
e-straight merged 11 commits intomicrosoft-foundry:mainfrom May 7, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a JavaScript-based quickstart guide for Azure AI Foundry, including configuration templates, sample scripts, and documentation. The changes provide a comprehensive setup for users to create projects, deploy models, and interact with AI agents.
Configuration and Setup:
.env.templatefile to define environment variables such asSUBSCRIPTION_ID,RESOURCE_GROUP_NAME, andINFERENCE_ENDPOINTfor configuring Azure resources.README.mdwith instructions for renaming the.env.templatefile, installing dependencies, and running the provided scripts.Project Initialization:
create-project.jsscript for creating an AI Foundry project and provisioning resources using the Azure SDK. It includes functionality for creating accounts and supports future model deployment.AI Interaction:
quickstart.jsscript to demonstrate how to perform chat completions and create/run AI agents using Azure AI services. It includes examples of message handling, agent creation, and usage tracking.Package Configuration:
package.jsonto define project metadata, dependencies (e.g.,@azure/ai-agents,dotenv), and scripts for running the quickstart and project creation workflows.