Class ContentSourceServiceBase
- 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
stringThe file name of the file being extracted.
binaryContent
BinaryDataThe binary data of the file being extracted.