Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 735 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 735 Bytes

device-dictionary

Streamlit based app intergrating Langchain for query device info based on model code purpose.

The app is combining google search and openai model via api to effectively convert a user input(typically the model code of a device) into a carefully formatted results, in the case of sample code, device name and processor 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.