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, BrowserSessionCopilotAuthenticator, CopilotAuthenticator, ManualCopilotAuthenticator, TokenProviderCredential ... (18 total)
pyrit .cli .api _client¶
PyRITApiClient, RegisteredInitializer, RegisteredScenario, RunScenarioRequest, ScenarioResult, ScenarioRunListItem, ScenarioRunSummary, ServerNotAvailableError ... (10 total)
pyrit .cli .pyrit _scan¶
Parameter, RunScenarioRequest, ScenarioRunSummary, add_results_arguments(), build_parameters_from_api(), collapse_dataset_filters(), main(), parse_args() ... (10 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 ... (119 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¶
AdversarialChatRefusedException, AdversarialChatResponseBlockedException, BadRequestException, ComponentRole, EmptyResponseException, ExecutionContext, ExecutionContextManager, ExperimentalWarning ... (33 total)
pyrit .executor .attack¶
AttackAdversarialConfig, AttackContext, AttackConverterConfig, AttackExecutor, AttackExecutorResult, AttackParameters, AttackScoringConfig, AttackStrategy ... (45 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 ... (31 total)
pyrit .message _normalizer¶
ChatMessageNormalizer, ConversationContextNormalizer, GenericSystemSquashNormalizer, HistorySquashNormalizer, JsonSchemaNormalizer, MessageListNormalizer, MessageStringNormalizer, TokenizerTemplateNormalizer ... (10 total)
pyrit.models¶
Acquisition, AnswerMatches, AtomicAttackEvaluationIdentifier, AtomicAttackIdentifier, AttackAnalyticsCell, AttackAnalyticsConverterDirection, AttackAnalyticsDimension, AttackAnalyticsDimensionName ... (175 total)
pyrit.output¶
FileSink, IPythonMarkdownSink, PrinterBase, Sink, StdoutSink, get_default_sink(), get_lazy_dir(), output_attack_async() ... (14 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, FunctionTool ... (55 total)
pyrit.registry¶
AttackTechniqueMetadata, AttackTechniqueRegistry, ConverterMetadata, ConverterRegistry, DefaultInstanceRegistry, InitializerMetadata, InitializerRegistry, InstanceHoldingRegistry ... (24 total)
pyrit.scenario¶
AtomicAttack, AttackTechnique, AttackTechniqueFactory, BaselineAttackPolicy, CompoundDatasetAttackConfiguration, DatasetAttackConfiguration, DatasetConfiguration, DatasetSourceKind ... (16 total)
pyrit.score¶
AgentThreatRulesScorer, AnsiEscapeOutputScorer, AnthraxKeywordScorer, AudioFloatScaleScorer, AudioTrueFalseScorer, AzureContentFilterScorer, BatchScorer, CallableResponseHandler ... (143 total)
pyrit.setup¶
ConfigurationLoader, get_lazy_dir(), initialize_from_config_async(), initialize_pyrit_async(), resolve_lazy_export()