Skip to content

cloudsteak/langchain-solutions

Repository files navigation

LangChain Solutions

Basic LangChain solutions

Prerequisites

1. Poetry

  1. Ensure that you have Poetry installed on your system. You can install it using the following command:
curl -sSL https://install.python-poetry.org | python3 -
  1. Add Poetry to path
  • On Linux
echo $'\nexport PATH="/home/jovyan/.local/bin:$PATH"' >> ~/.bashrc

source ~/.bashrc
  • On Mac
echo $'\nexport PATH="/home/jovyan/.local/bin:$PATH"' >> ~/.zshrc

source ~/.bashrc
  1. Check result
poetry --version

Streamlit application

1. Create virtual environment

conda create --prefix ./.venv -y
conda activate ./.venv

2. Install dependencies

poetry install --no-root

3. Run the application

streamlit run RestaurantGenerator/main.py

4. Test the application

Open the browser and navigate to http://localhost:8501/

5. Deactivate the virtual environment

conda deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published