CMDCRAGArcana.Ingestion.ParsedTable (cmdc_rag_arcana v0.4.0)

Copy Markdown View Source

解析后的表格 artifact。

Summary

Functions

构建 table artifact。

返回可进入 Arcana ingest 的文本表达。

Types

t()

@type t() :: %CMDCRAGArcana.Ingestion.ParsedTable{
  bbox: map() | nil,
  char_end: non_neg_integer() | nil,
  char_start: non_neg_integer() | nil,
  csv: String.t() | nil,
  id: String.t() | nil,
  markdown: String.t() | nil,
  metadata: map(),
  page_number: non_neg_integer() | nil,
  rows: [map() | list()],
  title: String.t() | nil
}

Functions

new(table)

@spec new(t() | map() | keyword()) :: t()

构建 table artifact。

to_text(parsed_table)

@spec to_text(t()) :: String.t()

返回可进入 Arcana ingest 的文本表达。