This page describes how to create functions within Cloud Functions.
Functions can be created in one of two ways:
Custom Container
Helm Chart
Additionally, Cloud Functions supports Low Latency Streaming (LLS) functions for video, audio, and data streaming via WebRTC.
For LLM functions, see LLM Gateway for OpenAI-compatible model route configuration.
llm.invocation.<domain>.Ensure that any resources that you tag for deployment into production environments are not simply using “latest” and are following a standard version control convention.
Function versions created are immutable, this means that the container image and version cannot be updated for a function without creating a new version of the function.
USER instruction.The following is a reference of available variables via the headers of the invocation message (auto-populated by Cloud Functions), accessible within the container.
For examples of how to extract and use some of these variables, see NVCF Container Helper Functions.
The following environment variables are automatically injected into your function containers when they are deployed and can be accessed using standard environment variable access methods in your application code:
All environment variables with the NVCF_* prefix are reserved and should not be overridden in your application code or function configuration.