pyrit.analytics¶
ApproximateTextMatching, AttackStats, ConversationAnalytics, ExactTextMatching, TextMatching, analyze_results(), get_cached_results_for_technique(), get_lazy_dir() ... (9 total)
pyrit.auth¶
AsyncTokenProviderCredential, Authenticator, AzureAuth, AzureStorageAuth, CopilotAuthenticator, ManualCopilotAuthenticator, TokenProviderCredential, ensure_async_token_provider() ... (17 total)
pyrit .cli .api _client¶
PyRITApiClient, RegisteredInitializer, RegisteredScenario, RunScenarioRequest, ScenarioResult, ScenarioRunListItem, ScenarioRunSummary, ServerNotAvailableError ... (10 total)
pyrit .cli .pyrit _scan¶
Parameter, RegisteredScenario, RunScenarioRequest, ScenarioRunSummary, add_results_arguments(), build_parameters_from_api(), collapse_dataset_filters(), main() ... (11 total)
pyrit .cli .pyrit _shell¶
pyrit.common¶
DefaultValueScope, Singleton, YamlLoadable, apply_defaults_to_method(), combine_dict(), combine_list(), enforce_keyword_only_init(), forward_init_parameters() ... (22 total)
pyrit.converter¶
AcrosticConverter, AddImageTextConverter, AddImageVideoConverter, AddTextImageConverter, AllWordsSelectionStrategy, AnsiAttackConverter, ArabicPresentationFormConverter, ArabiziConverter ... (118 total)
pyrit.datasets¶
SeedDatasetFilter, SeedDatasetLoadTime, SeedDatasetMetadata, SeedDatasetProvider, TextJailBreak, get_lazy_dir(), resolve_lazy_export()
pyrit.embedding¶
OpenAITextEmbedding, get_lazy_dir(), resolve_lazy_export()
pyrit.exceptions¶
BadRequestException, ComponentRole, EmptyResponseException, ExecutionContext, ExecutionContextManager, ExperimentalWarning, InvalidJsonException, KeyVaultInitializationException ... (30 total)
pyrit .executor .attack¶
AttackAdversarialConfig, AttackContext, AttackConverterConfig, AttackExecutor, AttackExecutorResult, AttackParameters, AttackScoringConfig, AttackStrategy ... (43 total)
pyrit .executor .benchmark¶
FairnessBiasBenchmark, FairnessBiasBenchmarkContext, QuestionAnsweringBenchmark, QuestionAnsweringBenchmarkContext, get_lazy_dir(), resolve_lazy_export()
pyrit.executor.core¶
Strategy, StrategyContext, StrategyConverterConfig, StrategyEvent, StrategyEventData, StrategyEventHandler, get_lazy_dir(), resolve_lazy_export()
pyrit .executor .promptgen¶
AnecdoctorContext, AnecdoctorGenerator, AnecdoctorResult, PromptGeneratorStrategy, PromptGeneratorStrategyContext, PromptGeneratorStrategyResult, get_lazy_dir(), resolve_lazy_export()
pyrit .executor .workflow¶
XPIAContext, XPIAManualProcessingWorkflow, XPIAProcessingCallback, XPIAResult, XPIAStatus, XPIATestWorkflow, XPIAWorkflow, get_lazy_dir() ... (9 total)
pyrit.memory¶
AttackResultEntry, AttackResultKeysetCursor, AudioPathDataTypeSerializer, AzureBlobStorageIO, AzureSQLMemory, BinaryPathDataTypeSerializer, CentralMemory, DataTypeSerializer ... (30 total)
pyrit .message _normalizer¶
ChatMessageNormalizer, ConversationContextNormalizer, GenericSystemSquashNormalizer, HistorySquashNormalizer, JsonSchemaNormalizer, MessageListNormalizer, MessageStringNormalizer, TokenizerTemplateNormalizer ... (10 total)
pyrit.models¶
AtomicAttackEvaluationIdentifier, AtomicAttackIdentifier, AttackIdentifier, AttackOutcome, AttackResult, AttackSeedGroup, AttackTechniqueIdentifier, AttackTechniqueSeedGroup ... (126 total)
pyrit.output¶
FileSink, IPythonMarkdownSink, PrinterBase, Sink, StdoutSink, get_default_sink(), get_lazy_dir(), output_attack_async() ... (13 total)
pyrit .prompt _normalizer¶
ConverterConfiguration, NormalizerRequest, PromptNormalizer, get_lazy_dir(), resolve_lazy_export(), send_json_with_retry_async()
pyrit.prompt_target¶
AzureBlobStorageTarget, AzureMLChatTarget, CHAT_TARGET_REQUIREMENTS, CapabilityHandlingPolicy, CapabilityName, ConversationNormalizationPipeline, CopilotType, GandalfLevel ... (42 total)
pyrit.registry¶
AttackTechniqueMetadata, AttackTechniqueRegistry, ConverterMetadata, ConverterRegistry, DefaultInstanceRegistry, InitializerMetadata, InitializerRegistry, InstanceRegistry ... (23 total)
pyrit.scenario¶
AtomicAttack, AttackTechnique, AttackTechniqueFactory, BaselineAttackPolicy, CompoundDatasetAttackConfiguration, DatasetAttackConfiguration, DatasetConfiguration, DatasetSourceKind ... (16 total)
pyrit.score¶
AnthraxKeywordScorer, AudioFloatScaleScorer, AudioTrueFalseScorer, AzureContentFilterScorer, BatchScorer, CallableResponseHandler, ContentClassifier, ContentClassifierCategory ... (120 total)
pyrit.setup¶
ConfigurationLoader, get_lazy_dir(), initialize_from_config_async(), initialize_pyrit_async(), resolve_lazy_export()