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+2093811f3bac5da092b5ce9c8172233582eee4d5
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