forked from microsoft-foundry/foundry-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Update to main branch #3
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
Open
meerakurup
wants to merge
213
commits into
meerakurup:main
Choose a base branch
from
microsoft-foundry:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
…nd translator agents.
Updating readme for basic agent setup with new permissions
Adding more details to the Readme for standard setup
Minor clarity fixes
Refine readme.md for Language agents
update readme
A2A Agents Sample
…AI 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 <17515964+msakande@users.noreply.github.com>
* Bump hosted agents version to 1.0.0b8 * remove agent_framework dependency in requrements.txt --------- Co-authored-by: junanchen <junanchen@microsoft.com>
- 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)
* updates samples for non-OAI model deployments + terraform azurerm project * Automatic fixes --------- Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>
* 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 <xuecai@microsoft.com>
* [Hosted Agents] fix the dependency version * misc: bump version
* Automatic fixes * Mengla/add af foundry tools sample (#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 <junanchen@microsoft.com> * use latest from_agent_framework signature (#2) * use latest from_agent_framework signature * remove keyword * lg tools (#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 <foundry-samples@noreply.github.com> Co-authored-by: junanchen <junanchen@microsoft.com> Co-authored-by: Jun'an Chen <cja.china@gmail.com>
* Automatic fixes * Mengla/add af foundry tools sample (#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 <junanchen@microsoft.com> * use latest from_agent_framework signature (#2) * use latest from_agent_framework signature * remove keyword * lg tools (#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 <foundry-samples@noreply.github.com> Co-authored-by: junanchen <junanchen@microsoft.com> Co-authored-by: Jun'an Chen <cja.china@gmail.com>
… version pinning. Change to use Acr image build, to not require local docker. (#494)
* Initial plan * Update FoundryA365 README to clarify agent blueprint approval workflow Co-authored-by: fosteramanda <29870948+fosteramanda@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fosteramanda <29870948+fosteramanda@users.noreply.github.com>
…tandard-agent-setup (#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 <bobobupt2014@163.com>
* Automatic fixes * Mengla/add af foundry tools sample (#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 <junanchen@microsoft.com> * use latest from_agent_framework signature (#2) * use latest from_agent_framework signature * remove keyword * lg tools (#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 (#8) * exclude CI related changes * sync latest manually --------- Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com> Co-authored-by: junanchen <junanchen@microsoft.com> Co-authored-by: Jun'an Chen <cja.china@gmail.com> Co-authored-by: Declan <478528180@qq.com> Co-authored-by: lixiaoli <lixiaoli@microsoft.com>
* 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 (#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
…oyment. Include sample launch.json if using VS Code (#516) * 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 * -Align PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME with azd conventions for agents and add VS Code launch.json for easier local debugging
Removed the questions.jsonl file from CODEOWNERS and updated the CLI fine-tuning ownership.
… substitution (#518) * 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 * -Align PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME with azd conventions for agents and add VS Code launch.json for easier local debugging * Updating model to use chat reference from resources
- Move C# samples into AgentFramework/ subfolder - Update .gitignore Note: python/hosted-agents/agent-framework/agent-with-local-tools/ and python/hosted-agents/code-interpreter-custom/ unchanged (foundry-samples is source of truth)
* 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 * -Align PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME with azd conventions for agents and add VS Code launch.json for easier local debugging * Updating model to use chat reference from resources * Adding AgentWithLocalTools csharp sample * Updating default model * Moving to AgentFramework folder
…required. (#524) * 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 * -Align PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME with azd conventions for agents and add VS Code launch.json for easier local debugging * Updating model to use chat reference from resources * Adding AgentWithLocalTools csharp sample * Updating default model * Moving to AgentFramework folder * Remove credential for agent framework as it is not required.
* Update Python enterprise agent tutorial to v2 SDK Migrate from azure-ai-agents (v1) to azure-ai-projects 2.0.0b3 (v2): main.py: - Replace AgentsClient with AIProjectClient + openai_client - Replace create_agent() with agents.create_version() + PromptAgentDefinition - Replace SharepointTool with SharepointPreviewTool + SharepointGroundingToolParameters - Replace McpTool with MCPTool (require_approval='always') - Replace thread/message/run pattern with Responses API - Replace RunHandler/ToolApproval with McpApprovalResponse - Use context manager pattern for client lifecycle evaluate.py: - Standardize env vars: AZURE_AI_PROJECT_ENDPOINT -> PROJECT_ENDPOINT - Standardize env vars: AZURE_AI_MODEL_DEPLOYMENT_NAME -> MODEL_DEPLOYMENT_NAME - Update usage comment to reference azure-ai-projects==2.0.0b3 requirements.txt: - Remove azure-ai-agents==1.2.0b6 - Update azure-ai-projects from 1.0.0 to 2.0.0b3 - Add openai dependency * Address review: output name/version, rename chat_with_assistant to create_agent_response * Use context managers for credential, project client, and openai client * chore: migrate C# ModernWorkplaceAssistant to v2 SDK (Azure.AI.Projects + Responses API) - Replace PersistentAgentsClient with AIProjectClient + PromptAgentDefinition - Replace threads/runs with Responses API (ProjectResponsesClient) - Replace SharepointToolDefinition with SharepointPreviewTool + SharePointGroundingToolOptions - Replace MCPToolDefinition with McpTool from OpenAI.Responses - Replace SubmitToolApprovalAction with McpToolCallApprovalRequestItem pattern - Update csproj: Azure.AI.Projects 2.0.0-beta.1 + Azure.AI.Projects.OpenAI 1.0.0-beta.5 - Remove Azure.AI.Agents.Persistent dependency - Preserve all snippet ID tags for doc system * fix: use correct v2 SDK type names and package versions for C# sample - SharepointPreviewTool -> SharepointAgentTool (actual type in Azure.AI.Projects.OpenAI) - GetProjectOpenAIClient() -> .OpenAI property accessor - Azure.AI.Projects 2.0.0-beta.1 -> 1.2.0-beta.5 (available on azure-sdk-dev feed) - Azure.Identity 1.13.1 -> 1.17.1 (required by Azure.AI.Projects 1.2.0-beta.5) - Add NoWarn OPENAI001 to csproj (preview API suppression) - GetConnectionAsync now includes required includeCredentials parameter - Build verified: dotnet build succeeds with azure-sdk-dev feed packages --------- Co-authored-by: Jon Burchel <jonburchel@microsoft.com>
* 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 * -Align PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME with azd conventions for agents and add VS Code launch.json for easier local debugging * Updating model to use chat reference from resources * Adding AgentWithLocalTools csharp sample * Updating default model * Moving to AgentFramework folder * Remove credential for agent framework as it is not required. * Pin azure-ai-agentserver-agentframework to 1.0.0b10
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.
No description provided.