Infosys-Responsible-AI-Toolkit

Snapshot 2026-08-03 23:56:39 UTC · version 1

published
M
MDRSS Source Library Github collector716 cards · 4.7/10 MDRSS

The Infosys Responsible AI toolkit provides a set of APIs to integrate safety,security, privacy, explainability, fairness, and hallucination detection into AI solutions, ensuring trustworthiness and transparency.

MARKDOWN SNAPSHOT

Loading…

Direct .mdRaw + metadata0 commentsMDRSS 4.6/10
INDEXABLE MARKDOWN SNAPSHOT

Research document

Open canonical .md

Infosys-Responsible-AI-Toolkit

The Infosys Responsible AI toolkit provides a set of APIs to integrate safety,security, privacy, explainability, fairness, and hallucination detection into AI solutions, ensuring trustworthiness and transparency.

Repositories and Installation Instructions

The following table lists the modules of the Infosys Responsible AI Toolkit. Installation instructions for each module can be found in the corresponding README file within the module's directory.

# Module Functionalities Repositories
1 ModerationLayer APIs
(Comprehensive suite of Safety, Privacy, Explainability, Fairness and Hallucination tenets)
To regulate the content of prompts and responses generated by LLMs responsible-ai-moderationlayer,
responsible-ai-moderationModel,
responsible-ai-admin.
2 Explainability APIs** Get Explainability to LLM responses,
Global and local explainability for Regression, Classification and Timeseries Models
responsible-ai-llm-explain,
responsible-ai-explainability,
responsible-ai-model-detail,
responsible-ai-reporting-tool,
responsible-ai-moderationlayer.
3 Image Explainability Image Explain offers detailed explanations for images generated by Large Language Models (LLMs). responsible-ai-fairness,
responsible-ai-llm.
4 Responsible-ai-LLM LLM provides an implementation for generating images using a Large Language Model (LLM). responsible-ai-llm.
5 Fairness & Bias API Check Fairness and detect Biases associated with LLM prompts and responses and also for traditional ML models responsible-ai-fairness,
responsible-ai-model-detail,
responsible-ai-reporting-tool,
responsible-ai-file-storage
6 Hallucination API Detect and quantify Hallucination in LLM responses under RAG scenarios responsible-ai-hallucination
7 Privacy API Detect and anonymize or encrypt or highlight PII information in prompts for LLMs or in its responses responsible-ai-privacy,
responsible-ai-admin.
8 Safety API Detects and anonymize toxic and profane text associated with LLMs responsible-ai-safety,
responsible-ai-llm
9 Security API For different types of security attacks and defenses on tabular and image data, prompt injection and jailbreak checks (Security Module retired for Release 2.2.1, please refer to IP2.2.0 release for this module) responsible-ai-security,
responsible-ai-model-detail,
responsible-ai-reporting-tool
10 Red Teaming API To strengthen the security and evaluation of LLM through advanced red teaming techniques like PAIR and TAP. (Red-teaming Module retired for Release 2.2.1, please refer to IP2.2.0 release for this module) responsible-ai-redteaming.

** Endpoints for explainability are located in both the explainability and moderation layer repositories. Refer to the README files in these repositories for more details on specific features.

Please refer Features and Endpoints document for more details on endpoints and their usage.

Modules for the Responsible AI Toolkit Interface

The Responsible AI toolkit provides a user-friendly interface for seamless experimentation and alignment with various Responsible AI principles. The following APIs are required to activate and utilize the toolkit's UI. To access the toolkit through the interface, refer to the README files associated with the listed repositories.

# Module Functionalities Repositories
1 MFE An Angular micro frontend app serves as a user interface where users can easily interact with and consume various backend endpoints through independently developed, modular components. responsible-ai-mfe
2 SHELL A shell application in a micro frontend architecture acts as the central hub, orchestrating and loading independent frontend modules. It provides a unified user interface where users can interact with different micro frontends, consume backend endpoints. responsible-ai-shell
3 Backend A Python backend module focused on registration and authentication handles user account management, including user registration, login, password validation, and session management. responsible-ai-backend
4 Admin Supporting module which is used for configuring the main module. User can create recognizer, custom templates, configure Thresholds and map it to created account and portfolio. responsible-ai-admin
5 Telemetry A python backend module defining the various tenets structure for ingestion of the API's data into Elasticsearch indexes. It provided customizable input validation and insertion of data coming from tenets into elasticsearch, which can be further displayed using kibana. responsible-ai-telemetry
6 File Storage Python module that provides versatile APIs for seamless integration across multiple microservices, enabling efficient file management with Azure Blob Storage. It supports key operations such as file upload, retrieval, and updates, offering a robust solution for handling files in Azure Blob Storage. responsible-ai-file-storage
7 Benchmarking Displays stats related to benchmarking large language models (LLMs) across various categories such as fairness, privacy, truthfulness and ethics. It helps evaluate and compare LLM performance in these critical areas. responsible-ai-llm-benchmarking
8 Upload-Doc module used for processing large files like video and store the processed video with respect to userid 3 subcatogery under video Processing : 1.PIIAnonymization 2.SafetyMasking 3.NudityMasking. responsible-ai-upload-doc
9 workbench The workbench repository is used for processing and generating report for Unstructured text. responsible-ai-workbench,
responsible-ai-moderationlayer,
responsible-ai-privacy,
responsible-ai-safety,
responsible-ai-file-storage,
responsible-ai-explainability.

Documentation

For technical details and usage instructions on the Infosys Responsible AI toolkit's features, please refer to the documentation.

Toolkit features at a glance

Generative AI Models

Safety, Security & Privacy Model Transparency Text Quality Linguistic Quality
* Prompt Injection Score
* Jailbreak Score
* Privacy check
* Profanity check
* Restricted Topic check
* Toxicity check
* Refusal check
* Sentiment check
* Fairness & Bias check
* Hallucination Score
* Explainability Methods:
- Thread of Thoughts (ThoT)
- Chain of Thoughts (CoT)
- Graph of Thoughts (GoT)
- Chain of Verification (CoVe)
* Token Importance
* Invisible Text, Gibberish checks
* Ban Code check
* Completeness check
* Conciseness check
* Text Quality check
* Text Relevance check
* Uncertainty Score
* Coherence Score
* Language Critique Coherence
* Language Critique Fluency
* Language Critique Grammar
* Language Critique Politeness

Machine Learning Models

Security Fairness Explainability
* Simulate Adverserial Attacks
* Recommend Defense Mechanisms
* Bias Detection Methods:
- Statistical Parity Difference
- Disparate Impact Ratio
- Four Fifth's Rule
- Cohen's D
* Mitigation Methods:
- Equalized Odds
- Re-weighing
* Global Explainability using SHAP
* Local Explainability using LIME

Upcoming Features

  • Multi-lingual support for FM-Moderation Guardrails
  • Counterfactual explanation for ML model prediction

We appreciate your feedback and aim to keep you updated on our plans regularly. This approach ensures we're prioritizing the right tasks and enables you to make informed decisions based on our development roadmap.

Explore the roadmap »

Contribute to our roadmap »

Note: These API-based guardrails are optimized for Azure OpenAI. Users employing alternative LLMs should make the necessary client configuration adjustments. For Azure OpenAI api subscription, follow instructions provided in the Microsoft Azure website.

Please check out the contribution page to share your feedback or suggest improvements.

Have more questions? Connect with us at Infosysraitoolkit@infosys.com.

MARKDOWN METRICS
1107words
8headings
44links
0code blocks
MDRSS ASSESSMENT
Evidence46/100medium confidence
Why MDRSS assigned this score
  • Production catalog audit 2026-08-04
  • Taxonomy classified from title, annotation, source and Markdown signals
  • Agent usefulness evaluated from structure, procedures, examples, evidence and retrieval value
Evidence (1)

Discussion 0

Sign in to join the discussion.