Title: HR RAG Chatbot
Author: Muhammad Adnan Hanif
Published: <strong>ޑިސެމްބަރ 13, 2025</strong>
Last modified: ޑިސެމްބަރ 13, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/hr-rag-chatbot.svg)

# HR RAG Chatbot

 By [Muhammad Adnan Hanif](https://profiles.wordpress.org/adnanhanif920/)

[Download](https://downloads.wordpress.org/plugin/hr-rag-chatbot.1.0.0.zip)

 * [Details](https://dv.wordpress.org/plugins/hr-rag-chatbot/#description)
 * [Reviews](https://dv.wordpress.org/plugins/hr-rag-chatbot/#reviews)
 *  [Installation](https://dv.wordpress.org/plugins/hr-rag-chatbot/#installation)
 * [Development](https://dv.wordpress.org/plugins/hr-rag-chatbot/#developers)

 [Support](https://wordpress.org/support/plugin/hr-rag-chatbot/)

## Description

HR RAG Chatbot helps employees get instant answers to HR policy questions using 
advanced AI technology. The plugin uses Retrieval Augmented Generation (RAG) to 
provide accurate, context-aware responses based on your company’s HR policies.

**Features:**
 * Multiple LLM support (Google Gemini API, OpenAI API) * Document
indexing and chunking * Employee context awareness * Chat history logging * Gutenberg
block and shortcode support

**Third-Party Services:**
 This plugin integrates with Google Gemini API and OpenAI
API. These are third-party services and their use is subject to their respective
terms of service and privacy policies. The plugin does not include or bundle these
services – you must obtain your own API keys from the service providers.

### External Services & Data Usage

This plugin connects to external AI services to generate responses. Please review
the following information about data usage and privacy.

**Services Used:**

 1. **Google Gemini API** (if configured)
 2.  * Used for: Generating AI responses to user questions
     * Data sent: User questions, HR policy document excerpts, employee context (designation,
       grade, etc.)
     * Privacy Policy: https://policies.google.com/privacy
     * Terms of Service: https://policies.google.com/terms
 3. **OpenAI API** (if configured)
 4.  * Used for: Generating AI responses to user questions
     * Data sent: User questions, HR policy document excerpts, employee context (designation,
       grade, etc.)
     * Privacy Policy: https://openai.com/privacy
     * Terms of Service: https://openai.com/terms

**What Data Is Transmitted:**
 * User’s question text * Relevant HR policy document
chunks (retrieved from your local database) * Employee profile information (if configured:
designation, grade, department, location, years of service) * System prompts and
model parameters

**Important Privacy Notes:**
 * Data is transmitted only when generating responses
to user questions * No data is permanently stored by external AI providers for training
purposes (per their policies) * All HR policy documents are stored locally in your
WordPress database * You control what data is indexed and made available to the 
chatbot

**Local WordPress Storage:**

The plugin stores the following data in your WordPress database:
 * Option name:`
hr_rag_options` – Plugin settings including API keys * Database tables: `wp_hr_rag_docs`,`
wp_hr_rag_chunks`, `wp_hr_rag_chats` * Transients: `hr_rag_context_{session_id}`–
Temporary employee context (expires after 1 hour) * Chat logs: Questions, answers,
and context used for each conversation

**Data Control:**

You have full control over your data:
 * Delete API keys anytime from plugin settings*
Clear all indexed documents using “Delete” buttons in Knowledge Base * Remove all
chat logs from the database * Uninstall plugin to remove all data (see Uninstallation
section) * No data is sent to external services without your API keys configured

**Developer Contact:**
 For questions about this plugin’s data handling, visit: 
https://faststeptech.com/contact/

### Third-Party Service Attribution

This plugin uses the following third-party services:

 * Google Gemini API – AI language model service by Google
 * OpenAI API – AI language model service by OpenAI

These services are not included with the plugin. Users must register and obtain 
API keys independently from the respective service providers. Use of these services
is subject to their terms of service and privacy policies.

### Uninstallation

When you uninstall this plugin:
 1. All plugin options (`hr_rag_options`) are removed
2. All database tables (`wp_hr_rag_docs`, `wp_hr_rag_chunks`, `wp_hr_rag_chats`)
are deleted 3. All transients are cleared 4. No data remains in your WordPress installation

## Screenshots

[[

## Blocks

This plugin provides 1 block.

 *   HR Policy Chatbot Add an HR Policy Chatbot to your page

## Installation

 1. Upload the plugin files to `/wp-content/plugins/hr-rag-chatbot/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to HR RAG Chatbot settings and add your API key (Gemini or OpenAI)
 4. Add HR policy documents in the Knowledge Base tab
 5. Use shortcode `[hr_rag_policy_chatbot]` or Gutenberg block to display the chatbot

## FAQ

### Do I need an API key?

Yes, you need either a Google Gemini API key or OpenAI API key to use this plugin.
You must obtain these keys directly from Google or OpenAI respectively.

### Is my data secure?

All HR documents are stored locally in your WordPress database. Only user questions
and relevant excerpts are sent to AI services for response generation.

### Can I use this offline?

No, the plugin requires internet connection to communicate with AI services.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“HR RAG Chatbot” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Muhammad Adnan Hanif ](https://profiles.wordpress.org/adnanhanif920/)

[Translate “HR RAG Chatbot” into your language.](https://translate.wordpress.org/projects/wp-plugins/hr-rag-chatbot)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hr-rag-chatbot/), check
out the [SVN repository](https://plugins.svn.wordpress.org/hr-rag-chatbot/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/hr-rag-chatbot/)
by [RSS](https://plugins.trac.wordpress.org/log/hr-rag-chatbot/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release
 * Support for Google Gemini API and OpenAI API
 * Document indexing with RAG
 * Employee context awareness
 * Chat logging

## Meta

 *  Version **1.0.0**
 *  Last updated **6 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/hr-rag-chatbot/)
 * Tags
 * [AI](https://dv.wordpress.org/plugins/tags/ai/)[chatbot](https://dv.wordpress.org/plugins/tags/chatbot/)
   [HR](https://dv.wordpress.org/plugins/tags/hr/)[policy](https://dv.wordpress.org/plugins/tags/policy/)
   [rag](https://dv.wordpress.org/plugins/tags/rag/)
 *  [Advanced View](https://dv.wordpress.org/plugins/hr-rag-chatbot/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/hr-rag-chatbot/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hr-rag-chatbot/reviews/)

## Contributors

 *   [ Muhammad Adnan Hanif ](https://profiles.wordpress.org/adnanhanif920/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hr-rag-chatbot/)