qingxuantang / stock-info-retreiver

Streamlit based app intergrating Langchain for customized stock info parsing purpose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stock-info-retreiver

Streamlit based app intergrating Langchain for customized stock info parsing purpose.

The app is combining google search and openai model via api to effectively convert a user input(typically the name of a stock as intended) into a carefully formatted results, in the case of sample code, stock symbol and exchange code seperated by comma.

First, don't forget to copy-paste your openai api key into the openaiapi.json file.

Then, make sure to install all the dependencies.

python3 -m pip install -r requirements.txt

When all set, just run:

streamlit run main.py

Note: You can change the google search keywords or prompt template for openai model in app_qt.py.

About

Streamlit based app intergrating Langchain for customized stock info parsing purpose.

License:MIT License


Languages

Language:Python 100.0%