Skip to content
 
 

Latest commit

 

History

87 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔀 OpenRouter + Streamlit Example App

Open in GitHub Codespaces

Starter examples for building LLM apps with Streamlit and OpenRouter, using OpenRouter OAuth PCKE.

Overview of the App

This app showcases a growing collection of OpenRouter minimum working examples, using multiple AI APIs.

Current examples include:

  • Chatbot
  • File Q&A
  • Langchain Quickstart
  • Langchain PromptTemplate
  • LangChain Search

Demo App

Streamlit App

Running the code

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Chatbot.py

Getting API keys

Not needed! Your users will click the Connect OpenRouter button and auto-supply your app with a custom API key, using an OAuth PKCE flow.

About

Example of calling OpenRouter from a Streamit app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages