Skip to content

Update typescript quickstart samples#427

Closed
horihiro wants to merge 1158 commits intomicrosoft-foundry:mainfrom
horihiro:update-typescript-sample
Closed

Update typescript quickstart samples#427
horihiro wants to merge 1158 commits intomicrosoft-foundry:mainfrom
horihiro:update-typescript-sample

Conversation

@horihiro
Copy link
Copy Markdown

@horihiro horihiro commented Dec 13, 2025

This pull request updates TypeScript quickstart samples for Azure AI Projects, including adding project configuration files, updating code to use the new openAIClient interface for conversations and responses, and switching to agent-based interactions.

Project setup and configuration:

  • Added a new package.json with scripts, dependencies, and devDependencies for TypeScript, Azure SDKs, and development tooling.
  • Added a tsconfig.json with strict TypeScript settings and output configuration.

Sample code updates:

  • Updated quickstart-chat-with-agent.ts to use agent-based requests, passing the agent name and type in the request body, and removing the use of the deprecated model parameter.

e-straight and others added 30 commits May 19, 2025 08:35
Small fix on the system calls for Environment keys - .NET
Add CODEOWNERS for files used in docs
Update to me (for now), team not available here yet.
…r/fix-role-assignment

Fixed Workspace GUID and References
…-1rp

Adapting Semantic Kernel agents to use Foundry project endpoint
Tweaked readme and comments in config files
…ve-update

update voice live agent sample for FDP projects
nbarreca004 and others added 15 commits January 15, 2026 12:09
* adding APIM PMI

* update

* Removing unneeded comment

* update policy

---------

Co-authored-by: Nicholas Barreca <[email protected]>
* few more changes

* few more changes

---------

Co-authored-by: vtomar <[email protected]>
…AI Foundry (microsoft-foundry#472)

* Create README.md

* Add files via upload

* Add files via upload

* Add files via upload

* Create Style_Rembrandt.png

* Add files via upload

* Delete samples/python/black-forest-labs/flux/LICENSE.txt

@LazaUK there's already a license file in the repo. This isn't needed afaik
https://github.com/microsoft-foundry/foundry-samples/blob/main/LICENSE

---------

Co-authored-by: Mope Akande <[email protected]>
* Bump hosted agents version to 1.0.0b8

* remove agent_framework dependency in requrements.txt

---------

Co-authored-by: junanchen <[email protected]>
- Add missing AZURE_AI_PROJECT_ENDPOINT environment variable
- Expand Prerequisites section with detailed verification steps
- Add instructions for finding Azure AI Project endpoint
- Provide PowerShell and Bash examples for testing
- Add expected output examples for better user experience
- Include Python version verification and installation guide
- Improve environment variable configuration with clearer examples
* [Hosted Agents] add AgentWithTool sample

* chore: Add AgentWithTools deployment artifacts (agent.yaml, Dockerfile, README)
…rosoft-foundry#484)

* updates samples for non-OAI model deployments + terraform azurerm project

* Automatic fixes

---------

Co-authored-by: foundry-samples automation <[email protected]>
* Add samples for cli finetuning types

* Add sample for OSS fine-tuning

* Fix rft sample names

* Fix schema for rft yaml

* Remove sample for oss supervised

* Nit

* Update suffix

* Revert "Remove sample for oss supervised"

This reverts commit 8a55ac2.

* Add trainingType for OSS model

* Nit

* folder restructure

* Add owners for FT CLI samples

* restructure

* Add readme

* Nit: update file paths

* Add PM to CODEOWNERS
* fix: web-search-agent local development setup

- Fix AzureAIAgentClient parameter names (project_endpoint, credential)
- Update README with local development instructions

* fix: add load_dotenv and clarify .env is for local dev only

* fix: revise README to match standard template

* fix: address PR review comments from melionel

---------

Co-authored-by: Xue Cai <[email protected]>
* [Hosted Agents] fix the dependency version

* misc: bump version
* Automatic fixes

* Mengla/add af foundry tools sample (microsoft-foundry#1)

* Bump hosted agents version to 1.0.0b8

* remove agent_framework dependency in requrements.txt

* add a sample for agentframework with foundry tool

* align naming convention

---------

Co-authored-by: junanchen <[email protected]>

* use latest from_agent_framework signature (microsoft-foundry#2)

* use latest from_agent_framework signature

* remove keyword

* lg tools (microsoft-foundry#3)

* add lg tools sample, bump agentserver version to 1.0.0b9

* rename FoundryToolsReactAgent

* add desc FoundryToolsReactAgent

* remove unused file

---------

Co-authored-by: foundry-samples automation <[email protected]>
Co-authored-by: junanchen <[email protected]>
Co-authored-by: Jun'an Chen <[email protected]>
…undry#491)

* Automatic fixes

* Mengla/add af foundry tools sample (microsoft-foundry#1)

* Bump hosted agents version to 1.0.0b8

* remove agent_framework dependency in requrements.txt

* add a sample for agentframework with foundry tool

* align naming convention

---------

Co-authored-by: junanchen <[email protected]>

* use latest from_agent_framework signature (microsoft-foundry#2)

* use latest from_agent_framework signature

* remove keyword

* lg tools (microsoft-foundry#3)

* add lg tools sample, bump agentserver version to 1.0.0b9

* rename FoundryToolsReactAgent

* add desc FoundryToolsReactAgent

* remove unused file

* restore the correct readme

---------

Co-authored-by: foundry-samples automation <[email protected]>
Co-authored-by: junanchen <[email protected]>
Co-authored-by: Jun'an Chen <[email protected]>
Copy link
Copy Markdown
Contributor

@sdgilley sdgilley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by content maintenance automation

This PR has been automatically validated and approved because:

  • No deleted files are referenced in documentation
  • No renamed files are referenced in documentation
  • No deleted cells/snippets in modified files that are referenced in docs

If you notice any issues, please add a comment and we'll review.

adyada and others added 11 commits January 27, 2026 11:04
… version pinning. Change to use Acr image build, to not require local docker. (microsoft-foundry#494)
…osoft-foundry#496)

* Initial plan

* Update FoundryA365 README to clarify agent blueprint approval workflow

Co-authored-by: fosteramanda <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: fosteramanda <[email protected]>
…tandard-agent-setup (microsoft-foundry#503)

- Added dnsZonesSubscriptionId parameter to allow DNS zones from different subscriptions
- Updated all DNS zone references in private-endpoint-and-dns.bicep to support cross-subscription scope
- Added comprehensive documentation in README.md about cross-subscription requirements
- Updated main.bicepparam with clear usage examples and warnings
- Maintains backward compatibility (empty parameter uses current subscription)

This enables users to reference existing private DNS zones located in a different Azure subscription than the deployment subscription, which is useful in enterprise environments with centralized DNS management.
* update agent usage detail

* add use agent in response

---------

Co-authored-by: bobogogo1990 <[email protected]>
* Automatic fixes

* Mengla/add af foundry tools sample (microsoft-foundry#1)

* Bump hosted agents version to 1.0.0b8

* remove agent_framework dependency in requrements.txt

* add a sample for agentframework with foundry tool

* align naming convention

---------

Co-authored-by: junanchen <[email protected]>

* use latest from_agent_framework signature (microsoft-foundry#2)

* use latest from_agent_framework signature

* remove keyword

* lg tools (microsoft-foundry#3)

* add lg tools sample, bump agentserver version to 1.0.0b9

* rename FoundryToolsReactAgent

* add desc FoundryToolsReactAgent

* LG HITL example

* remove unused file

* validated HITL

* af ai-function based HITL

* af workflow hitl

* workflow hitl

* restore the correct readme

* add workflow for python sample test

* modify triggering condition

* fix requirements.txt

* add missing env

* fix workflow

* fix type checking issue

* Fix workflow hitl issue

* fix requirements.txt

* fix sample

* fix sample

* chore:  Add C# hosted agent testing to CI/CD pipeline

* minor fix for samples

* Automatic fixes

* fix: SystemUtilityAgent sample

* chore: improve C# build error reporting in CI workflow

* test: ci error details

* Revert "test: ci error details"

This reverts commit e48fe24.

* misc: increate error message limit

* Reapply "test: ci error details"

This reverts commit 7c6e1ed.

* Revert "Reapply "test: ci error details""

This reverts commit d416fd5.

* bump to 1.0.0b10 (microsoft-foundry#8)

* exclude CI related changes

* sync latest manually

---------

Co-authored-by: foundry-samples automation <[email protected]>
Co-authored-by: junanchen <[email protected]>
Co-authored-by: Jun'an Chen <[email protected]>
Co-authored-by: Declan <[email protected]>
Co-authored-by: lixiaoli <[email protected]>
…oundry#500)

* Fixes requirements.txt

* Fixes evaluation implementation

* Corrected C# Evaluations implementation

* Correct lost section tags
* Add RFT sample for score_model grader, delete the old incorrect sample

* Add RFT samples for python grader

* Add RFT sample for string_check grader

* Add RFT sample for text similarity grader

* Add RFT sample for multi grader

* Update README

* Fix for reasoning model doesn't support temperature

* Remove multi-grader sample as the support is not there in CLI yet

* Refatoring, update datasets, and fix errors

* Update medmcq dataset to match the file formats - reference_answer was missing
Merging on behalf of hosted agent PM + eng reviewers
* Sample for local tool calls in agent

* Remove image since it is not relevant.
…ies when calling tools (microsoft-foundry#514)

* Sample for local tool calls in agent

* Remove image since it is not relevant.

* Updating sample to use hotels instead of date and time for local tool calls
@horihiro
Copy link
Copy Markdown
Author

horihiro commented Feb 4, 2026

@bobogogo1990 Could you please look into this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.