Coder Social home page Coder Social logo

djanglang's Introduction

Django: LangChained

This is a sample Django application designed to demonstrate the integration of LangChain with Django for building a simple Retrieval-Augmented Generation (RAG) chatbot. This chatbot is capable of answering questions based on the content scraped from a website.

Overview

The core of Djanglang lies in its ability to:

  • Scrape web content from the Bootstrap documentation site.
  • Process and index this content into a searchable database using LangChain and Chroma.
  • Utilize OpenAI's powerful language models to answer user queries with relevant information extracted from the indexed content.

This project serves as an educational tool for developers looking to explore the intersection of web scraping, natural language processing, and Django web development.

Features

  • Web Scraping: Automatically extracts content from specified web pages.
  • Content Indexing: Processes and stores the scraped content in a searchable format.
  • Content Retrieval: Matches the user question against the corpus of content.
  • Question Answering: Leverages an LLM to provide an answer based on the matched content.

Getting Started

To get started, follow the setup instructions detailed in our Medium article.

git clone https://github.com/jalcantarab/djanglang.git
cd djanglang
# Follow setup instructions in the article

Learn More

For a comprehensive guide on how to build, customize, and extend Djanglang, check out our detailed Medium article. The article covers everything from initial setup to in-depth explanations of the technologies used.

Contributing

Contributions are welcome! If you have ideas for improvements or want to contribute to the project, please feel free to submit pull requests or open an issue.

djanglang's People

Contributors

jalcantarab avatar dependabot[bot] 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.