Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs LangChain Integration for Future Experimental Features #4

Open
UBISOFT-1 opened this issue Jul 4, 2023 · 4 comments
Open

Needs LangChain Integration for Future Experimental Features #4

UBISOFT-1 opened this issue Jul 4, 2023 · 4 comments

Comments

@UBISOFT-1
Copy link

Hi, @malekinho8! I'm really appreciative of the work your doing, and I think that this Project has good potential if you explore LangChain. Especially with chromadb that allows you to query large documents without running out of context. I believe that using this you can implement Open Source LLM's into the system very easily like GPT4ALL. Allowing you to run this Offline without changing your code base.

Some Future Features I'd Expect

  • Querying about a Topic from a Specific Book of Hadith using ChromaDB and LangChain with a Large Language Model like GPT-4 or MPT-7B.

  • Creating our Own Islamic Research ChromaDB Database, by scraping researchgate.net and SSRN, allowing users / researchers to use the contextual power of GPT-4 to quickly get references and viewpoints of scholars.

As you see I think this could be a potential avenue for exploration. I'm quite familiar with the above since I've used the stated technologies for some corporate clients in Production Environments, so you can keep me in the loop and ask any question you have.

@UBISOFT-1
Copy link
Author

Future UI Maintainability / Cross-Platform Support

Also @malekinho8 I think that this is a prime time for you to rewrite your code base to work natively with Flask. Flask is a Micro Framework for Creating Web Apps, I think that if we create a web server based app, you will have a lot of the flexibility and ease in creating the UI, and would also help you deploy it as a service in the future and even create a Mobile App out of it.

@malekinho8
Copy link
Owner

@UBISOFT-1 I'll look into these items as I have time for it as my main priority is graduate school at the moment. However, I appreciate your guidance and will try to get a Flask framework set up and look into the other resources you mentioned. I agree that it would be really cool to have an application that allows the user to ask any question they have about their faith and get a reliable answer from a large database based on language models. Thanks for your thoughts.

@malekinho8
Copy link
Owner

Future UI Maintainability / Cross-Platform Support

Also @malekinho8 I think that this is a prime time for you to rewrite your code base to work natively with Flask. Flask is a Micro Framework for Creating Web Apps, I think that if we create a web server based app, you will have a lot of the flexibility and ease in creating the UI, and would also help you deploy it as a service in the future and even create a Mobile App out of it.

Hello @UBISOFT-1 , I am thinking of returning to some of these tasks very soon, but I am wondering if you could possibly provide some more details about what you mean when you say that I need to rewrite the code base to work natively with Flask. I am admittedly not super experienced with Flask, so I don't know what that would entail. I am also wondering how that would work because I currently have things working quite well with the click module, so I'm wondering if I should do these changes on a separate branch to ensure nothing on the main branch gets messed up. Whenever you have a chance, if you could possibly help guide me with what you had in mind for transferring the fajrGPT code to use the flask framework, I would greatly appreciate it.

SA brother. Thanks for your help!

@UBISOFT-1
Copy link
Author

@malekinho8 I meant that you should explore Flask as it's really easy to get started and would help you turn this CLI based module into a GUI, that can be hosted as a web app. People can make accounts and add their OpenAI API Keys and use it, this will also allow you to reach a larger audience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants