ray.data.llm.build_llm_processor#

ray.data.llm.build_llm_processor(config: ProcessorConfig, **kwargs) Processor[source]#

Build a LLM processor using the given config.

Parameters:
  • config – The processor config.

  • **kwargs – Additional keyword arguments to pass to the processor. See Processor for argument details.

Returns:

The built processor.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.