Coder Social home page Coder Social logo

aju22 / documentgpt Goto Github PK

View Code? Open in Web Editor NEW
100.0 4.0 28.0 1.14 MB

DocumentGPT is a web application that allows you to chat over your research document using OpenAI's chat API and perform semantic search using vector databases. This tool provides a seamless interface for interacting with your research document, exploring search results, and engaging in a conversation with an AI chatbot.

License: MIT License

Python 98.14% CSS 1.86%
chatgpt-api conversational-ai faiss gpt langchain llm natural-language-processing semantic-search streamlit vector-database webapp

documentgpt's Introduction

DocumentGPT

DocumentGPT is a web application that allows you to chat over your research document using OpenAI's Chat API and perform semantic search using Vector Databases. This tool provides a seamless interface for interacting with your research document, exploring search results, and engaging in a conversation with an AI chatbot.

Features

  • Upload your PDF document and view its contents within the web app.
  • Chat with an AI chatbot powered by OpenAI's chat API, using the content of your research document.
  • Get semantic search answers from your document using vector databases.
  • Get web results over topics for more context and information rich answers.
  • Perform Google/YouTube search within the app and get auto identified search suggestions.
  • Verify sources for all generated results.

Demo Preview

DocumentGPT.-.Made.with.Clipchamp.mp4

How to Use

  1. Clone the repository: git clone https://github.com/your-username/DocumentGPT.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Set up your OpenAI API key and provide it in the web app.
  4. Run the application: streamlit run main.py
  5. Access the web app in your browser at http://localhost:8501.

Presently Available Tools

  • Vector Database Retreival Tool: Finds answers from vector database.

  • Arxiv Tool: Searches scientific articles on arxiv.org for specific topics.

  • Search Tool: Searches the internet for general web articles.

  • Summarization Tool: Summarizes entire document when requested.

Further Improvements

Here are some areas for further improvement in DocumentGPT:

  • AI Alignment: Improve the model behaviour by various techniques in prompt engineering.
  • Tools: Addition of more helpul tools for better model responses.

Streamlit Cloud

You can try out the chatbot by visiting the deployed app on Streamlit Cloud: Deployed App

Note: Unfortunately PDF Display works fine locally, but in the deployed app only works on certain browsers like Safari, Firefox :(

Contributing

Contributions to DocumentGPT are welcome! If you have any feedback, suggestions, or bug reports, please create an issue in the GitHub repository. You can also contribute to the project by submitting pull requests with your enhancements.

License

This project is licensed under the MIT License.

Acknowledgements

DocumentGPT is built using Streamlit, OpenAI Chat API, Langchain and various open-source libraries. I would like to acknowledge the contributions of the developers and contributors of these libraries.

documentgpt's People

Contributors

aju22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

documentgpt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.