Interface IContentSourceService
- Namespace
- FoundationaLLM.Vectorization.Interfaces
- Assembly
- FoundationaLLM.Vectorization.Engine.dll
Provides access to items in a data source.
public interface IContentSourceService
- Extension Methods
Methods
ExtractTextAsync(ContentIdentifier, UnifiedUserIdentity, CancellationToken)
Reads the content of a data source item.
Task<string> ExtractTextAsync(ContentIdentifier contentId, UnifiedUserIdentity userIdentity, CancellationToken cancellationToken)
Parameters
contentId
ContentIdentifierThe ContentIdentifier providing the unique identifier of the item being read.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity providing information about the calling user identity.
cancellationToken
CancellationTokenThe cancellation token that signals that operations should be cancelled.