officetext

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package officetext re-exports internal/officetext's native DOCX/PPTX/XLSX text extraction for external consumers (e.g. seshat-ai's upload and RAG ingestion pipelines) that want the same conversion the read_file tool uses without going through docling-serve.

Index

Constants

This section is empty.

Variables

ErrEmpty is returned when a document parses but yields no extractable text.

SupportedExtensions lists the formats Extract can handle natively.

Functions

func Extract

func Extract(filename string, data []byte) (markdown string, ok bool, err error)

Extract converts a DOCX/PPTX/XLSX file's bytes to markdown. ok is false when filename's extension isn't natively supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL