Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump deps and misc small code improvements #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

athewsey
Copy link

Issue #, if available: N/A

Description of changes:

Just some minor version bumps and small code tweaks to help keep the sample up-to-date and readable:

  1. Upgrade aws-cdk-lib to latest and cdk-ecr-deployment to most recent working version not affected by the bug mentioned here
  2. Bump LangChain and LangFuse versions in the example notebook (but not consuming LangChain v0.3 yet, because SageMaker Studio's installed Jupyter AI extension is still wanting v0.2 and I thought that was a dangerous dep to break)
  3. gitignore node_modules for the benefit of anybody (like me) who prefers to install their AWS CDK CLI locally per-project rather than globally - in case of version mismatches
  4. Add explicit type annotations to the parameters of the various CDK Stack objects, so IDE auto-complete works within these files.

Testing done:

Deployed the stacks with updated CDK version and code in a new environment; opened the example notebook in a SageMaker AI Studio JupyterLab space (SM Distribution v2.2.1); ran through and verified tracing worked and was visible in the Langfuse environment.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

For anybody (like me) who prefers to install aws-cdk NPM library
locally instead of globally.
Bump CDK library and LangChain/LangFuse/etc example notebook
dependencies to newer tested versions. Update SMStudio kernel spec
note in example notebook. Consolidate pip install statements to
improve dependency resolution.
Add explicit type annotations on params of CDK stacks to improve
auto-complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant