From f1c45e57eaea03a905b18bae85f7d61577016fef Mon Sep 17 00:00:00 2001 From: Lance Martin Date: Fri, 17 Jan 2025 08:07:11 -0800 Subject: [PATCH 1/2] Minor fixes --- .gitignore | 1 + module-2/multiple-schemas.ipynb | 2 +- module-3/streaming-interruption.ipynb | 2 +- module-4/research-assistant.ipynb | 2 +- module-6/deployment/docker-compose-example.yml | 6 +++--- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b6f731b47..d2321fa9b 100644 --- a/.gitignore +++ b/.gitignore @@ -217,3 +217,4 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk +module-6/deployment/docker-compose.yml diff --git a/module-2/multiple-schemas.ipynb b/module-2/multiple-schemas.ipynb index cf27902bd..c362f9c0d 100644 --- a/module-2/multiple-schemas.ipynb +++ b/module-2/multiple-schemas.ipynb @@ -345,7 +345,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.1" + "version": "3.11.8" } }, "nbformat": 4, diff --git a/module-3/streaming-interruption.ipynb b/module-3/streaming-interruption.ipynb index 9607e909d..fab3526fe 100644 --- a/module-3/streaming-interruption.ipynb +++ b/module-3/streaming-interruption.ipynb @@ -1934,7 +1934,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.1" + "version": "3.11.8" } }, "nbformat": 4, diff --git a/module-4/research-assistant.ipynb b/module-4/research-assistant.ipynb index 24e87decc..aec46e0c4 100644 --- a/module-4/research-assistant.ipynb +++ b/module-4/research-assistant.ipynb @@ -1552,7 +1552,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.1" + "version": "3.11.8" } }, "nbformat": 4, diff --git a/module-6/deployment/docker-compose-example.yml b/module-6/deployment/docker-compose-example.yml index 70a83022c..b285822a7 100644 --- a/module-6/deployment/docker-compose-example.yml +++ b/module-6/deployment/docker-compose-example.yml @@ -12,7 +12,7 @@ services: langgraph-postgres: image: postgres:16 ports: - - "5433:5432" + - "5432:5432" environment: POSTGRES_DB: postgres POSTGRES_USER: postgres @@ -36,6 +36,6 @@ services: condition: service_healthy environment: REDIS_URI: redis://langgraph-redis:6379 - OPENAI_API_KEY: "xxx" - LANGSMITH_API_KEY: "xxx" + OPENAI_API_KEY: "your_openai_api_key" + LANGSMITH_API_KEY: "your_langchain_api_key" POSTGRES_URI: postgres://postgres:postgres@langgraph-postgres:5432/postgres?sslmode=disable From 29fbf76a575a8d47427ac3aac9832de8c35159be Mon Sep 17 00:00:00 2001 From: Lance Martin Date: Fri, 17 Jan 2025 10:34:22 -0800 Subject: [PATCH 2/2] Add redis port --- module-6/deployment/docker-compose-example.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module-6/deployment/docker-compose-example.yml b/module-6/deployment/docker-compose-example.yml index b285822a7..4841bde06 100644 --- a/module-6/deployment/docker-compose-example.yml +++ b/module-6/deployment/docker-compose-example.yml @@ -9,6 +9,8 @@ services: interval: 5s timeout: 1s retries: 5 + ports: + - "6379:6379" langgraph-postgres: image: postgres:16 ports: