olyatjtaylo / OASTREAMv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemoryLangGPT

A unique collection of characters recreated as chat models including:

"Sober" Clippy - former hardcore file addict & chronic data baita

J - spatial agent capable with geolocation actions, image recognitions, & distance conversion

Bob's Multiverse:
" " Ross - context shifting model capable of text <-> image, 

" " Marley - audio generation & interpretation

Sponge " "  - vector collegtor &compressor

" " the Builder - Master of epistemological studies and human triggered schizophrenic - capable of switching between build mode & foreman mode.

Open in GitHub Codespaces

Starter examples for building LLM apps with Streamlit.

Overview of the App

This app showcases a growing collection of LLM minimum working examples.

Current examples include:

  • Chatbot
  • File Q&A
  • Chat with Internet search
  • LangChain Quickstart
  • LangChain PromptTemplate
  • Chat with user feedback

Demo App

Streamlit App

Get an OpenAI API key

You can get your own OpenAI API key by following the following instructions:

  1. Go to https://platform.openai.com/account/api-keys.
  2. Click on the + Create new secret key button.
  3. Next, enter an identifier name (optional) and click on the Create secret key button.

Enter the OpenAI API key in Streamlit Community Cloud

To set the OpenAI API key as an environment variable in Streamlit apps, do the following:

  1. At the lower right corner, click on < Manage app then click on the vertical "..." followed by clicking on Settings.
  2. This brings the App settings, next click on the Secrets tab and paste the API key into the text box as follows:
OPENAI_API_KEY='xxxxxxxxxx'

Run it locally

virtualenv .venv
source .venv/bin/activate
pip install -r .txt
streamlit run Chatbot.py

About

License:Apache License 2.0


Languages

Language:Python 91.6%Language:C++ 5.6%Language:Cython 2.0%Language:C 0.6%Language:Fortran 0.0%Language:XSLT 0.0%Language:JavaScript 0.0%Language:PowerShell 0.0%Language:Smarty 0.0%Language:Roff 0.0%Language:Shell 0.0%Language:Forth 0.0%Language:Assembly 0.0%Language:Meson 0.0%Language:Jinja 0.0%Language:HTML 0.0%Language:CMake 0.0%Language:Batchfile 0.0%