GraphCanon updated 1w · GitHub synced 1w
Decision brief
The autonomous-hr-chatbot is an AI-driven HR assistant using LangChain, OpenAI’s models, and Pinecone vector database to answer HR-related queries. It utilizes a front-end built with Streamlit for user interactions.
- Requirements:
- Min 4 GB RAM; Requires API keys from Pinecone and OpenAI; Pandas for handling CSV data; Streamlit for the web app
Observed Jul 11, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Slowing (107d since push)
- As of 1w
- Provenance
- Not a fork · Personal account
- As of 1w
- Security (OSV)
- 221 low (221 low)
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install autonomous-hr-chatbot PyPISimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
An autonomous agent for answering HR queries using tools like embeddings in Pinecone, a calculator chain, and timekeeping policies document. Front-end powered by Streamlit.
Capability facts
- Languages
- python
Source: github.language · Aug 14, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 14, 2026)
date:** A modernized version using an agent loop via OpenAI's Responses API (no LangChain, no Pinecone, with `gpt-5.2` reasoning summaries) lives in [`v2/`](./v2). The oSource link
Source: README excerpt (regex_v1, Aug 14, 2026)
Run the notebook 'store_embeddings_in_pinecone.ipynb'. Replace the Pinecone and OpenAI API keys (for the embedding model) with your own.Source link
Source: README excerpt (regex_v1, Aug 14, 2026)
1. Install python 3.10. [Windows](https://www.tomshardware.com/how-to/install-python-on-windows-10-andSource link
Source: README excerpt (regex_v1, Aug 14, 2026)
# Autonomous HR Chatbot built using ChatGPT, LangChain, Pinecone and StreamlitSource link
Tags
README
✨ 2026 update: A modernized version using an agent loop via OpenAI's Responses API (no LangChain, no Pinecone, with
gpt-5.2reasoning summaries) lives inv2/. The original 2023 implementation below is preserved as a reference.
Autonomous HR Chatbot built using ChatGPT, LangChain, Pinecone and Streamlit
Companion Reading: Creating a (mostly) Autonomous HR Assistant with ChatGPT and LangChain’s Agents and Tools
TL;DR/Description
This is a prototype enterprise application - an autonomous agent that is able to answer HR queries using the tools it has on hand. It was made using LangChain's agents and tools modules, using Pinecone as vector database and powered by ChatGPT or gpt-3.5-turbo. The front-end is Streamlit using the streamlit_chat component.
Tools:
- Timekeeping Policies - A ChatGPT generated sample HR policy document. Embeddings were created for this doc using OpenAI’s text-embedding-ada-002 model and stored in a Pinecone index.
- Employee Data - A csv file containing dummy employee data (e.g. name, supervisor, # of leaves etc). It's loaded as a pandas dataframe and manipulated by the LLM using LangChain's PythonAstREPLTool
- Calculator - this is LangChain's calculator chain module, LLMMathChain
Sample Chat
Sample Tool Use
How to use this repo
- Install python 3.10. Windows, Mac
- Clone the repo to a local directory.
- Navigate to the local directory and run this command in your terminal to install all prerequisite modules -
pip install -r requirements.txt - Input your own API keys in the
hr_agent_backend_local.pyfile (orhr_agent_backend_azure.pyif you want to use the azure version; just uncomment it in the frontend.py file) - Run
streamlit run hr_agent_frontent.pyin your terminal
Storing Embeddings in Pinecone
- Create a Pinecone account in pinecone.io - there is a free tier. Take note of the Pinecone API and environment values.
- Run the notebook 'store_embeddings_in_pinecone.ipynb'. Replace the Pinecone and OpenAI API keys (for the embedding model) with your own.
Tech Stack
Azure OpenAI Service - the OpenAI service offering for Azure customers.
LangChain - development frame work for building apps around LLMs.
Pinecone - the vector database for storing the embeddings.
Streamlit - used for the front end. Lightweight framework for deploying python web apps.
Azure Data Lake - for landing the employee data csv files. Any other cloud storage should work just as well (blob, S3 etc).
Azure Data Factory - used to create the data pipeline.
SAP HCM - the source system for employee data.
Video Demo
Author
Stephen Bonifacio
Feel free to connect with me on:
Linkedin: https://www.linkedin.com/in/stephenbonifacio/
Twitter: https://twitter.com/Stepanogil
For agents
This page has a .md twin and JSON over the API.