For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
graph_api_pipeline_model
graph_api_pipeline_model()
max.pipelines.lib.registration_graph_api.graph_api_pipeline_model(config, modules, batching)
Returns the pipeline model that serves a graph-API registration.
One registration always returns the same class.
-
Parameters:
-
- config (type[ArchConfig]) – The registered config class.
- modules (tuple[tuple[str, type[Any]], ...]) – The registered module class of each role, as items.
- batching (type[Any] | None) – The registered batch processor, or
NoneforGraphApiDecoderBatchProcessor.
-
Raises:
-
- ValueError – If the registration has no
DECODER. - NotImplementedError – If it registers a role other than
DECODER. - TypeError – If the
DECODERisn’t a graph-API module class.
- ValueError – If the registration has no
-
Return type: