Interface IPluginService
- Namespace
 - FoundationaLLM.Common.Interfaces.Plugins
 
- Assembly
 - FoundationaLLM.Common.dll
 
Defines the contract for a plugin service.
public interface IPluginService
  - Extension Methods
 
Methods
GetDataPipelineStagePlugin(string, string, Dictionary<string, object>, UnifiedUserIdentity)
Retrieves the data pipeline stage plugin based on the specified plugin object identifier.
Task<IDataPipelineStagePlugin> GetDataPipelineStagePlugin(string instanceId, string pluginObjectId, Dictionary<string, object> pluginParameters, UnifiedUserIdentity userIdentity)
  Parameters
instanceIdstringThe FoundationaLLM instance identifier.
pluginObjectIdstringThe plugin object identifier.
pluginParametersDictionary<string, object>The dictionary containing the names and values of the plugin parameters.
userIdentityUnifiedUserIdentityThe identity of the user running the operation.
Returns
- Task<IDataPipelineStagePlugin>
 The data pipeline stage plugin.
GetDataSourcePlugin(string, string, Dictionary<string, object>, string, UnifiedUserIdentity)
Retrieves the data source plugin based on the specified plugin object identifier.
Task<IDataSourcePlugin> GetDataSourcePlugin(string instanceId, string pluginObjectId, Dictionary<string, object> pluginParameters, string dataSourceObjectId, UnifiedUserIdentity userIdentity)
  Parameters
instanceIdstringThe FoundationaLLM instance identifier.
pluginObjectIdstringThe plugin object identifier.
pluginParametersDictionary<string, object>The dictionary containing the names and values of the plugin parameters.
dataSourceObjectIdstringThe FoundationaLLM object identifier of the data source.
userIdentityUnifiedUserIdentityThe identity of the user running the operation.
Returns
- Task<IDataSourcePlugin>
 The data source plugin.
GetPluginPackageManager(string, string, UnifiedUserIdentity)
Retrieves the data source plugin based on the specified plugin object identifier.
Task<IPluginPackageManager> GetPluginPackageManager(string instanceId, string pluginObjectId, UnifiedUserIdentity userIdentity)
  Parameters
instanceIdstringThe FoundationaLLM instance identifier.
pluginObjectIdstringThe plugin object identifier.
userIdentityUnifiedUserIdentityThe identity of the user running the operation.
Returns
- Task<IPluginPackageManager>
 The plugin package manager instance that manages the plugin.