Giter Club home page Giter Club logo

streamlit-llm-apps's Introduction

LLM Apps using Streamlit and LangChain

Introduction

This repository showcases a suite of experimental LLM applications built using Streamlit.

Uses

  • Streamlit (UI)
  • LangChain
  • OpenAI API (gpt-3.5-turbo)

Run the App

Clone the Repository

$ git clone github.com/rexsimiloluwah/streamlit-llm-apps
$ cd streamlit-llm-apps

Install the dependencies

You can advisably create a virtual environment

$ pip install -r requirements.txt

Run the app

$ streamlit run src/main.py

# Using make
$ make run-app

Example Applications

1. Simple Document QA App

This application enables you to perform question-answering over your PDF document. It uses the RetrievalQA chain and the in-memory DocArray vector store provided by LangChain.

Simple Document QA App Screenshot

Simple Document QA App Example Screenshot

2. Web Page QA App

This application enables you to perform question-answering over content loaded from a web page. It similarly uses the RetrievalQA chain and the in-memory DocArray vector store provided by LangChain.

Web Page QA App Screenshot

Web Page QA App Example Screenshot

3. Document Chat App

This application enables you to chat over your PDF document. It uses the ConversationalRetrievalChain chain and the in-memory DocArray vector store provided by LangChain. The memory is managed externally.

Document Chat App Screenshot

Document Chat App Example Screenshot

streamlit-llm-apps's People

Contributors

rexsimiloluwah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

streamlit-llm-apps's Issues

Rate limit error

I'm trying to run this program with a brand new openAI API, but still the program returns with Rate Limit Error. When i used the same API with some other program i'm not getting any such errors. Does it have to do with any packages being depriciated?

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.