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(ContentIdentifier)
Gets the raw content of a content item.
Task<PluginResult<ContentItemRawContent>> GetContentItemRawContent(ContentIdentifier contentItemIdentifier)
Parameters
contentItemIdentifier
ContentIdentifierThe 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.
Task<List<DataPipelineContentItem>> GetContentItems()