A minimal jupyter notebook devspace.yaml
with openai
+ langchain
allow you to work on any Kubernetes cluster.
Build images and deploy a jupyter notebook in Kubernetes namespace ai
devspace use namespace ai
devspace deploy
devspace dev
.ipynb
files in notebooks
will be synced to the jupyter-notebook
container, edit files in the notebook, changes would sync back to local.
Delete all deployments
devspace purge
Revert the container back to the state when we devspace deploy
devspace run-pipeline stop-dev
brew install jupyter
Set config for this repo once (see .gitattributes
)
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'