unstructured

package
v0.0.0-...-d39df66 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkingStrategy

type ChunkingStrategy string
const (
	ChunkingStrategyUnknown ChunkingStrategy = ""
	ChunkingStrategyNone    ChunkingStrategy = "none"
)

type Handler

type Handler struct {
	*config.Config
	http.Handler
}

func New

func New(cfg *config.Config) (*Handler, error)

func (*Handler) Attach

func (h *Handler) Attach(r chi.Router)

type Partition

type Partition struct {
	ID string `json:"element_id,omitempty"`

	Type string `json:"type,omitempty"`
	Text string `json:"text,omitempty"`
}

Jump to

Keyboard shortcuts

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