PythonLlmProvider Constructor
Constructor for PythonLlmProvide, initializes the gRPC channel and client, and starts the PyLLM subprocess
Namespace: SuperBuilderWinService.ProvidersImplAssembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
public PythonLlmProvider(
IHostApplicationLifetime lifetime,
IConfigDataProvider configDataProvider
)
public:
PythonLlmProvider(
IHostApplicationLifetime^ lifetime,
IConfigDataProvider^ configDataProvider
)
SuperBuilderWinService.ProvidersImpl.PythonLlmProvider = function(lifetime, configDataProvider);
Parameters
- lifetime IHostApplicationLifetime
- HostApplicationLifetime object
- configDataProvider IConfigDataProvider
- ConfigDataProvider object
InvalidOperationException | Thrown when the gRPC server port for PythonLlmProvider is not configured in appsettings.json or is invalid |