語言

MarkItDownReader 類別

定義

透過使用 MarkItDown 工具將文件轉換為 Markdown 來讀取文件。

public ref class MarkItDownReader : Microsoft::Extensions::DataIngestion::IngestionDocumentReader
public class MarkItDownReader : Microsoft.Extensions.DataIngestion.IngestionDocumentReader
type MarkItDownReader = class
    inherit IngestionDocumentReader
Public Class MarkItDownReader
Inherits IngestionDocumentReader
繼承
MarkItDownReader

建構函式

名稱 Description
MarkItDownReader(FileInfo, Boolean)

初始化 MarkItDownReader 類別的新執行個體。

方法

名稱 Description
ReadAsync(FileInfo, CancellationToken)

讀取檔案並將其轉換成 IngestionDocument.

(繼承來源 IngestionDocumentReader)
ReadAsync(FileInfo, String, String, CancellationToken)

讀取檔案並將其轉換成 IngestionDocument.

ReadAsync(Stream, String, String, CancellationToken)

讀取串流並將其轉換為 IngestionDocument。

適用於