Table of Contents

Class ContentSourceServiceBase

Namespace
FoundationaLLM.Vectorization.Services.ContentSources
Assembly
FoundationaLLM.Vectorization.Engine.dll

Provides common functionalities for all content sources.

public class ContentSourceServiceBase
Inheritance
ContentSourceServiceBase
Derived
Inherited Members
Extension Methods

Methods

ExtractTextFromFileAsync(string, BinaryData)

Extracts text from the binary content of a file.

public static Task<string> ExtractTextFromFileAsync(string fileName, BinaryData binaryContent)

Parameters

fileName string

The file name of the file being extracted.

binaryContent BinaryData

The binary data of the file being extracted.

Returns

Task<string>

The string content of the file.

Exceptions

VectorizationException