Giter Site home page Giter Site logo

rheldocbot's Introduction

Red Hat Enterprise Linux Documentation Chat Bot (RHELDocBot)

The RHELDocBot is a simple Large Language Model with Retrieval Augemnted Generation (LLM RAG) Jupyter Notebook that is meant to demonstrate the usefulness of this technology for anyone that has a document or policy library that is often searched of information. The RHEL DocBot ingests those documents and makes them available for question and answer retreival.

Documents that were used

As a Red Hat employee (and big fan of RHEL) I dedcided to use 7 different documents for RHEL 9 that are all publicly available for this demo.

  • Performing a standard RHEL 9 installation
  • Performing an advanced RHEL 9 installation
  • Security hardening for RHEL 9
  • Composing a customized RHEL system image
  • Upgrading from RHEL 8 to RHEL 9

How to use

  1. Download and import the included notebook into Jupyter. Note: The playbook assumes that you have Ollama running somewhere and that it can be access over port 11434. See my ollama-on-ocp repo for help getting that deployed.
  2. Change the question at the bottom of the notebook.
  3. Run all of the code in the notebook. The first time that the notebook is run, it will download the documents, chunk them and store the processed chunks into a chroma vector database. Once the database is created, subsequent runs of the notebook will be much faster.
  4. The initial question will be answered when the notebook is done executing. Change the question and run just the last block again (and again and again).

The answer should include references to will take you to the doccumentation that was used to generate the answer.

LLMs are not perfect and sometimes you will receive quesstions taht are wrong or incomplete. Feel free to provide input if anything can be improved to make this more useful or accurate!

rheldocbot's People

Contributors

tedbrunell avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

intellits jkeam

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.