- Introduction
- Installation guide
- Project Screen Shots
- Endnotes
API that empowers users to upload PDF documents, like research papers, and interact with a personalized AI assistant. Users can ask queries related to the document, provides insightful responses and assistance.
python
, fastAPI
,langchian
, openai
, PyPDF2
etc...
- Clone the git repository using the link
https://github.com/mechXsteam/InsightDocs.git
or simply download the zip file. - Paste your openai secret key in the .env file.
Make sure you paste your openai secret key, otherwise the project will not work.
- First navigate to the root directory (the one which contains the main.py file) and run
command
uvicorn main:app --reload
in the terminal, it will fire off a developement server at port:8000 on your local machine, simply click the link in the terminal. Navigate to http://localhost:8000/docs to view the project.
Chat with personal AI chatbot [1/8] | Swagger docs [2/8] |
---|---|
Upload pdf file[3/8] | Ask queries related to the document [4/8] |
---|---|
This project has been a challenging yet rewarding journey, as it taught me how to get started with langchian and openai. I've gained valuable insights into handling complex projects along the way. If you happen to come across any flaws in the code or encounter errors, don't hesitate to get in touch with me. Your feedback is highly appreciated. Feel free to build a frontend around it. Please consider showing your support by giving this project a star. Thank you!