Spaces:
Runtime error
Runtime error
File size: 892 Bytes
196a397 5b4830a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---
title: LangChain Youtube Script Generator
emoji: 😻
colorFrom: yellow
colorTo: indigo
sdk: streamlit
sdk_version: 1.21.0
app_file: app.py
pinned: false
license: mit
---
# First LangChain tutorial
This is the first LangChain tutorial hands-on.
It's a Youtube script generator using OpenAI LLM.
It covers the following topics:
* Streamlist for Web App development
* LLMChain
* PromptTemplate
* SimpleSequentialChain
* SequentialChain
* ConversationalMemoryBuffer
* WikipediaAPIWrapper
### Pre-requisites
$ pip install openai langchain streamlit wikipedia chromadb tiktoken
Or
$ pip install -r requirements.txt
* Install the above Python packages
* Replace the API key in the file `apikey.py` with your own OpenAI API
### Running
$ streamlit run app.py
## Reference
* Langchain Docs: https://python.langchain.com/en/latest/index.html
* Streamlist: https://streamlit.io/ |