mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.94k stars 3.02k forks source link

Refact/polyfact sdk #390

Closed kevin-btc closed 1 year ago

kevin-btc commented 1 year ago

Hello,

We are Polyfact, and we're trying to simplify the development of tools using LLMs. During our development, we thought it would be a good idea to take existing projects and simplify their code with our SDK, thereby improving our SDK at the same time.

We tried to simplify your infrastructure as much as possible by removing Langchain and Pinecone.

Polyfact is fully open source and meant to be usable by both those who don't want the hassle of managing the infrastructure and those who want complete control and wish to deploy their own API with their own models.

But of course, it's still very much a work in progress, and we have a lot more to improve. If you're interested in using it with this project (or any of your projects), we would be happy to work closely with you to know what you would need to simplify things even further.

This PR includes the following changes:

Replacement of Langchain & pinecone with the Polyfact SDK for the chat.
Updates the documentation to reflect these changes.

Of course, this is a bit of an unusual PR, and we would completely understand if you don't want to merge it. It was useful for us anyway since coding it made us learn so much. Feel free to reject it.