Python: Move red teaming files to its own folder (#2333)

* Move red teaming files to its own folder

* Update file path

* Updated folder names

* Updated reference names
This commit is contained in:
David Wu
2025-11-20 00:28:22 -08:00
committed by GitHub
Unverified
parent d714b91a14
commit c7a8c12296
8 changed files with 17 additions and 15 deletions
@@ -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
@@ -21,19 +36,6 @@ Usage as CLI with extra options:
-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"