Intel(R) SuperBuilder

PythonLlmProvider Constructor

Constructor for PythonLlmProvide, initializes the gRPC channel and client, and starts the PyLLM subprocess

Definition

Namespace: SuperBuilderWinService.ProvidersImpl
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
C#
public PythonLlmProvider(
	IHostApplicationLifetime lifetime,
	IConfigDataProvider configDataProvider
)

Parameters

lifetime  IHostApplicationLifetime
HostApplicationLifetime object
configDataProvider  IConfigDataProvider
ConfigDataProvider object

Exceptions

InvalidOperationExceptionThrown when the gRPC server port for PythonLlmProvider is not configured in appsettings.json or is invalid

See Also