This workshop is organized by Visium for Pydata Lausanne in our offices. It gives an introduction to LLMs and demonstrates how to build sophisticated AI agents using LangChain and LangGraph.
The workshop explores the progression from basic language models to complex multi-agent systems through hands-on examples in financial analysis.
Learn the basics of building AI applications with LangChain, including:
- Setting up a basic chatbot
- Setting up a basic agentic system
- Python 3.12 or higher
- OpenAI API key
To set up your Python environment:
# Use mamba instead of conda if preferred
conda create -n financial-advisor python=3.12
conda activate financial-advisor
pip install -e .
python -m venv .venv
# On Linux/Mac:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
pip install -e .
uv sync
You'll need to configure your OpenAI API key. Here are two ways to do it:
Set it as an environment variable:
export OPENAI_API_KEY='your-api-key-here'
Or store it in a .env
file in your project root:
OPENAI_API_KEY='your-api-key-here'
This workshop uses Jupyter notebooks. You can run them using:
- VS Code with the Python extension installed
- Jupyter Lab through the web interface with
jupyter lab
Visium is a Swiss-born AI & Data company helping businesses build their data-driven future through artificial intelligence and advanced data analytics. We help organizations leverage cutting-edge technology to solve complex business challenges.
PyData connects users and developers of data tools to share ideas and learn together. While focused on the Python ecosystem, it welcomes other languages and technologies that support data management, processing, analytics, and visualization. Through local groups, events, and conferences, PyData fosters collaboration across diverse domains. It is organized by NumFOCUS, a U.S. nonprofit.. For more information about PyData, visit https://pydata.org/ or the lausanne meetup page https://www.meetup.com/pydata-lausanne/ .