dataprofessor / hugchat

The HugChat Streamlit app is an LLM-powered chatbot built using Streamlit and HugChat.
https://hugchat.streamlit.app/
88 stars 81 forks source link

How to use it on Custom PDF/Document to ask questions? #1

Open atultiwari opened 1 year ago

atultiwari commented 1 year ago

Hello Sir, First of all thank you very much for sharing this. I learnt many things from your repo and streamlit post.

I have been trying to make an AI powered chat app hosted on streamlit, which can be trained on our custom document (pdf/doc/txt) and later we can ask questions specifically from that document only. From the tutorials available on the youtube I learnt that this can be done by OpenAI api, but it's very costly. There are other options available like using InstructEmbedding and other open source LLM which be used on local computer but they are quite large so can't be used for onlined hosted streamlit app.

So I wanted to know if there is a way through which we can modify the HugChat to train on specific document? Thank you. Atul

IntelligenzaArtificiale commented 1 year ago

Hi @atultiwari , we have created a super version of this chat. You can give it internet access, chat with multiple pdfs together, chat with Youtube videos or csv and much more. https://github.com/IntelligenzaArtificiale/hugging-chat-with-plugin-Free-personal-AI-Assistant