Table of Contents

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 ContentIdentifier

The ContentIdentifier providing the unique identifier of the item being read.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity providing information about the calling user identity.

cancellationToken CancellationToken

The cancellation token that signals that operations should be cancelled.

Returns

Task<string>

The string content of the item.