8000 GitHub - mammykins/govuk-pub-pal: A Streamlit app that uses generative Large Language Models to adjust a user's submitted content in the tone of GOV.UK. A simple proof of concept produced in one evening.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Streamlit app that uses generative Large Language Models to adjust a user's submitted content in the tone of GOV.UK. A simple proof of concept produced in one evening.

License

Notifications You must be signed in to change notification settings

mammykins/govuk-pub-pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOV.UK-ify Text LangChain-Streamlit Example

This repo serves as a template for how to make your own LangChain apps on Streamlit.

This app was inspired by and draws heavily from this YouTube video: https://www.youtube.com/watch?v=U_eV8wfMkXU.

You can also review their GitHub code.

Setup

We used python 3.11.0 to build this app.

Setup a virtual environment and activate it.

Run pip install -r requirements.txt to install the required packages.

Deploy on Streamlit

This app is meant to be deployed on Streamlit. Note that when setting up your StreamLit app you should make sure to add OPENAI_API_KEY as a secret environment variable.

OPENAI_API_KEY

You can also paste your OPENAI_API_KEY into the Streamlit app if you find setting variables finnicky.

About

A Streamlit app that uses generative Large Language Models to adjust a user's submitted content in the tone of GOV.UK. A simple proof of concept produced in one evening.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0