Skip to content

eyadrid/Automated-Recruitment-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Recruitment Chatbot

This project involves developing a chatbot capable of automating the recruitment process. The chatbot allows the HR department to upload multiple candidate CVs in PDF format and ask specific questions to filter out candidates based on their CVs without having to manually read each one.

Project Structure

├── src/
│   ├── htmlTemplates.py        # Contains HTML templates for the chat interface
│   └── app.py                  # Main application code
├── README.md
├── requirements.txt            # List of dependencies
└── .env  

Features

  • Upload multiple CVs in PDF format.
  • Automatically process and extract text from the uploaded PDFs.
  • Split the extracted text into chunks for better searchability.
  • Generate embeddings using Hugging Face's instructor-xl model.
  • Create a vector store using FAISS for efficient document retrieval.
  • Ask questions about the CVs, and the chatbot will respond based on the relevant information retrieved from the PDFs.
  • Maintain conversation history using ConversationBufferMemory to make interactions more fluid and context-aware.

Tech Stack

  • Streamlit: For the web interface.
  • FAISS: Used for vector similarity search and retrieval.
  • Langchain: For handling conversation chains and retrieval.
  • Hugging Face's Instruct Embeddings: To generate embeddings from text.
  • PyPDF2: To handle PDF file processing.
  • OpenAI: For the conversational AI model.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/eyadrid/Automated-Recruitment-Chatbot.git
  2. Navigate to the project directory :

    cd Automated-Recruitment-Chatbot
    
  3. Install the required packages using pip:

    pip install Requirements.txt
  4. Create a .env file and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key
  5. Run the Streamlit app :

    streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages