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
instanceId
stringThe FoundationaLLM instance identifier.
pluginObjectId
stringThe plugin object identifier.
pluginParameters
Dictionary<string, object>The dictionary containing the names and values of the plugin parameters.
userIdentity
UnifiedUserIdentityThe 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
instanceId
stringThe FoundationaLLM instance identifier.
pluginObjectId
stringThe plugin object identifier.
pluginParameters
Dictionary<string, object>The dictionary containing the names and values of the plugin parameters.
dataSourceObjectId
stringThe FoundationaLLM object identifier of the data source.
userIdentity
UnifiedUserIdentityThe 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
instanceId
stringThe FoundationaLLM instance identifier.
pluginObjectId
stringThe plugin object identifier.
userIdentity
UnifiedUserIdentityThe identity of the user running the operation.
Returns
- Task<IPluginPackageManager>
The plugin package manager instance that manages the plugin.