Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ This directory contains samples demonstrating the capabilities of Microsoft Agen

| File | Description |
|------|-------------|
| [`getting_started/evaluation/azure_ai_foundry/red_team_agent_sample.py`](./getting_started/evaluation/azure_ai_foundry/red_team_agent_sample.py) | Red team agent evaluation sample for Azure AI Foundry |
| [`getting_started/evaluation/azure_ai_foundry/evaluation/self_reflection.py`](./getting_started/evaluation/azure_ai_foundry/evaluation/self_reflection.py) | LLM self-reflection with AI Foundry graders example |
| [`getting_started/evaluation/azure_ai_foundry/red_teaming/red_team_agent_sample.py`](./getting_started/evaluation/azure_ai_foundry/red_teaming/red_team_agent_sample.py) | Red team agent evaluation sample for Azure AI Foundry |
| [`getting_started/evaluation/azure_ai_foundry/self_reflection/self_reflection.py`](./getting_started/evaluation/azure_ai_foundry/self_reflection/self_reflection.py) | LLM self-reflection with AI Foundry graders example |

## MCP (Model Context Protocol)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Copyright (c) Microsoft. All rights reserved.
# type: ignore
import asyncio
import os
import time
import argparse
import pandas as pd
from typing import Any
from dotenv import load_dotenv

from agent_framework import ChatAgent, ChatMessage
from agent_framework.azure import AzureOpenAIChatClient
from azure.identity import AzureCliCredential
from azure.ai.evaluation import GroundednessEvaluator, AzureOpenAIModelConfiguration

"""
Self-Reflection LLM Runner

Expand All @@ -21,19 +36,6 @@
-n 10 # Optional: process only first 10 prompts
"""

import asyncio
import os
import time
import argparse
import pandas as pd
from typing import Dict, Any, Optional
from dotenv import load_dotenv

from agent_framework import ChatAgent, ChatMessage
from agent_framework.azure import AzureOpenAIChatClient
from azure.identity import AzureCliCredential
from azure.ai.evaluation import GroundednessEvaluator, AzureOpenAIModelConfiguration


DEFAULT_AGENT_MODEL = "gpt-4.1"
DEFAULT_JUDGE_MODEL = "gpt-4.1"
Expand Down