Tensorlake functions run in function containers. To install dependencies in the containers, we use container images that are built when you deploy an application. Functions can use any Python or system packages installed into their container images. Tensorlake provides a declarative API to define function container images with their dependencies.Documentation Index
Fetch the complete documentation index at: https://docs.tensorlake.ai/llms.txt
Use this file to discover all available pages before exploring further.
Defining Images
Define your image
An image is defined using an
Image object. You can modify the base image, run commands to install dependencies at build time, and modify other image attributes, like its name.Default Base Image
We use a Debian based imagepython:{LOCAL_PYTHON_VERSION}-slim-bookworm as the default.
LOCAL_PYTHON_VERSION represents the Python version in your current Python environment.
See Also
Structured Extraction from Images
End-to-end example of using custom images for structured extraction from images.