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

monorepo: add script for updating notebook cassettes #27399

Merged
merged 7 commits into from
Oct 16, 2024
Merged

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Oct 16, 2024

  1. Move dependencies for running notebooks into monorepo poetry test deps;
  2. Add script to update cassettes for a single notebook;
  3. Add cassettes for some how-to guides.

To update cassettes for a single notebook, run docs/scripts/update_cassettes.sh. For example:

./docs/scripts/update_cassettes.sh docs/docs/how_to/binding.ipynb

Requires:

  1. monorepo dev and test dependencies installed;
  2. env vars required by notebook are set.

Note: How-to guides are not currently run in scheduled job. Will add cassettes for more how-to guides in subsequent PRs before adding them to scheduled job.

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 5:38pm

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 16, 2024
@ccurme ccurme merged commit fdb7f95 into master Oct 16, 2024
87 checks passed
@ccurme ccurme deleted the cc/run_notebooks branch October 16, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant