Giter Site home page Giter Site logo

jayanth-mohan / langchain-powered-react-chrome-extension-for-intelligent-content-analysis-and-qa Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 420 KB

LangChain, React, and OpenAI are used to provide users with a seamless and intelligent content analysis and question-answering experience. This extension enhances the browsing journey by allowing users to extract valuable insights from web pages and receive accurate answers to their questions based on the content displayed.

HTML 100.00%

langchain-powered-react-chrome-extension-for-intelligent-content-analysis-and-qa's Introduction

LangChain-Powered-React-Chrome-Extension-for-Intelligent-Content-Analysis-and-QA

LangChain, React, and OpenAI are used to provide users with a seamless and intelligent content analysis and question-answering experience. This extension enhances the browsing journey by allowing users to extract valuable insights from web pages and receive accurate answers to their questions based on the content displayed.

The project leverages React, for dessigning user interfaces, resulting in a seamless and intuitive user experience. By simply clicking the Chrome extension, users initiate a content analysis process that delivers valuable insights. Additionally, the extension implements dynamic page reloading upon activation, ensuring the analysis is based on the most current and accurate content.

Utilizing the cutting-edge LangChain framework, the project taps into advanced natural language processing and analysis. LangChain's capabilities are harnessed to process on-screen content, extracting meaningful insights that lay the foundation for answering user queries. Integrated with OpenAI's potent language models, the project's core lies in generating precise and contextually relevant answers to user questions, driven by the content extracted from the web page. This fusion of LangChain and OpenAI empowers the extension to perform content analysis and question-answering seamlessly. The user interface, crafted using React, guarantees a responsive and visually engaging experience, ensuring smooth interaction with both LangChain and OpenAI components. The inclusion of memory vector stores and buffer memory optimizes data management throughout the analysis and Q&A process, contributing to the extension's overall efficiency.

Methods Used :

Webpages with Cheerio

Openai

Conversational Retrieval QA

Conversation buffer memory

Recursively split by character

Step-by-step guide :

  1. Clone the Repository: Start by cloning the project's repository onto your computer. You can do this by opening your preferred terminal and entering the command to clone the repository.
  2. Open Chrome Extensions: Launch your Google Chrome browser and click on the three dots at the top-right corner to open the menu. From there, hover over "Extensions" and click on "Manage Extensions."
  3. Enable Developer Mode: In the "Extensions" page, you'll find a toggle switch labeled "Developer mode." Make sure to turn this switch ON. This will enable you to load and test your own extensions.
  4. Load Unpacked Extension: Once developer mode is enabled, you'll see new options appear. Click on the "Load unpacked" button. A file dialog will pop up.
  5. Select Cloned Folder: Navigate to the location where you cloned the repository earlier. Select the entire folder associated with the extension.
  6. Confirm Selection: After selecting the folder, click "Open" in the file dialog. Chrome will load the extension from the chosen folder.
  7. Extension Ready: You should now see the LangChain-Powered React Chrome Extension listed among your installed extensions. You might also see its icon appear in the Chrome toolbar.
  8. Enjoy the Experience: The hard part's over! Simply click on the extension's icon in the toolbar. This will trigger the content analysis process. Sit back and let the extension do its thing. Once the page reloads and the analysis is done, feel free to ask questions and interact with the intelligent Q&A feature.

langchain-powered-react-chrome-extension-for-intelligent-content-analysis-and-qa's People

Contributors

jayanth-mohan avatar

Stargazers

Karcus with a C avatar

Watchers

Kostas Georgiou avatar  avatar

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.