Skip to content

gauravlochab/RAG-Private-GPT-Langchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Private GPT

This is a codebase for a private GPT model. It includes various functionalities such as document ingestion, knowledge base creation, document personalization, document summarization, and more.

Getting Started

To get started with this project, clone the repository and install the necessary dependencies.

Inspiration and Implementation

This project is inspired by the Private GPT project by Zylon AI. While the original project is implemented using the LlamaIndex framework, our implementation is based on the LangChain framework. We appreciate the work done by the Zylon AI team and aim to build upon it in our own unique way.

Structure

The codebase is structured as follows:

  • private_gpt: The main package containing all the modules.
  • private_gpt/db: Contains the database models and CRUD operations.
  • private_gpt/ingest: Handles document ingestion.
  • private_gpt/knowledgebase.py: Handles the creation of a new knowledge base.
  • private_gpt/blocks: Contains various functionalities like document personalization and summarization.
  • private_gpt/chat: Handles chat functionalities.
  • private_gpt/chunks: Handles chunk retrieval.

Usage

To use the functionalities provided by this codebase, you need to make API calls to the respective endpoints. For example, to create a new knowledge base, make a POST request to /knowledge_bases.

Contributing

Contributions are welcome. Please make sure to update tests as appropriate.

About

This is the implementation of Private-GPT in Langchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published