mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
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:
committed by
GitHub
Unverified
parent
d714b91a14
commit
c7a8c12296
+15
-13
@@ -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"
|
||||
Reference in New Issue
Block a user