Skip to content

shellyfagin/langchain-blog-outline-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦜🔗 Langchain - Blog Outline Generator App

Blog Outline Generator App built using Langchain and Streamlit.

Overview of the App

  1. Accept user provided prompt as an input using Streamlit's st.text_input()
  2. Create the final prompt by using PromptTemplate() to combine the "topic" and the prompt instructions.
  3. The above prompt (from step 3) serves as an input to the OpenAI LLM model for generating a response (the blog outline)

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.

Try out the app

Once the app is loaded, go ahead and enter your OpenAI API key and type a question in the text box and wait for a generated response.

About

Blog outline generator app built using Langchain and Streamlit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%