Climate PAL - Climate Analysis and Projection Language Model
-
In the
appdirectory create a folder calleddata. -
Create and place the following content into
app/secrets/key.py(Note: you need to createkey.py):import os def init(): os.environ["OPENAI_API_KEY"] = '' # Put your key here!
-
clone the repository at cmip6-cmor-tables and place it at the same level directory as
climate_pal.
conda create -n langchain_env python=3.11.7
conda activate langchain_env
conda install -c conda-forge xarray dask netCDF4 bottleneck
conda install openai scikit-learn numpy openpyxl notebook openpyxl matplotlib
conda install anaconda::scipy
conda install langchain tabulate langchain-experimental -c conda-forge
pip install chromadb gradio langchain-openai langchain-community lark streamlit In the app directory run:
streamlit run streamlit_assistant.py