Interface IDataSourcePlugin
- Namespace
- FoundationaLLM.Common.Interfaces.Plugins
- Assembly
- FoundationaLLM.Common.dll
Defines the interface for a data source plugin.
public interface IDataSourcePlugin
- Extension Methods
Methods
GetContentItemRawContent(string)
Gets the raw content of a content item.
Task<PluginResult<ContentItemRawContent>> GetContentItemRawContent(string contentItemCanonicalId)
Parameters
contentItemCanonicalId
stringThe canonical identifier of the content item.
Returns
- Task<PluginResult<ContentItemRawContent>>
A PluginResult<T> object with the conten item's raw content.
GetContentItems()
Gets the list of content items from the data source.
List<DataPipelineContentItem> GetContentItems()