Skip to content

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

Notifications You must be signed in to change notification settings

sunxilin/device-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages