This guide is a beginner-friendly introduction to setting up your Python environment and using the Semantic Router with LangGraph. We'll walk you through each step to ensure you have everything ready for a smooth start!
Follow these steps to set up your environment:
-
Navigate to the Project Directory:
cd example-chapter
-
Install Python 3.12.7 (skip if already installed):
uv python install 3.12.7
-
Create a Virtual Environment:
uv venv --python 3.12.7
-
Activate the Virtual Environment: For Windows:
.\venv\Scripts\activate
For macOS and Linux:
source venv/bin/activate
-
Install Dependencies:
uv sync
Now, you are ready to run the project within this environment. Let's dive into the world of Semantic Routing and Graph-based configurations! 🌐🔧
Feel free to reach out if you encounter any issues or have questions as you proceed. Happy coding! 😊