documentloaders

package
v0.0.0-...-f7fd5dc Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarkdownDirectoryLoader

type MarkdownDirectoryLoader struct {
	// contains filtered or unexported fields
}

MarkdownDirectoryLoader is a document loader that reads markdown content from a directory.

func NewMarkdownDirectory

func NewMarkdownDirectory(filePath string, baseSourceURL string, encoding ...string) *MarkdownDirectoryLoader

NewMarkdownDirectory creates a new MarkdownDirectoryLoader with the given file path and encoding.

func (*MarkdownDirectoryLoader) Load

Load retrieves data from a directory and returns a list of schema.Document objects.

Jump to

Keyboard shortcuts

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