Jupyter Notebook Examples
Interactive Jupyter notebooks provide hands-on examples with detailed explanations and visual outputs.
Quick Start Notebook
This notebook demonstrates the basic usage of the LangChain MemVid library:
Setting up the environment and dependencies
Creating a vector store with sample data
Performing similarity searches
Understanding the results and metadata
Download: examples/quickstart.ipynb
Generated Python: examples/quickstart.py
Advanced Usage Notebook
This notebook covers advanced features and customization options:
Working with individual components (Encoder, IndexManager, etc.)
Custom video and QR code configurations
Direct video processing and manipulation
Building complete systems from components
Testing and verification of functionality
Download: examples/advanced.ipynb
Generated Python: examples/advanced.py
Running the Notebooks
To run these notebooks:
Install the development dependencies:
pip install -e ".[test]"
Start Jupyter:
jupyter notebook
Navigate to the examples/ directory and open the desired notebook
Run all cells to see the examples in action
Note: The Python files (.py) are automatically generated when the notebooks are executed.