Documentation
¶
Index ¶
- func ExtractMarkdownTree(markdownText string) map[string]string
- func ExtractTablesAndRemainder(markdownText string) (string, []string, error)
- func ExtractTablesWithContext(markdownText string, contextKey string) (string, []string, error)
- type BasicSplitProvider
- type DefaultSplitProvider
- type MarkdownSplitProvider
- type QaSplitProvider
- type SplitProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractMarkdownTree ¶
Types ¶
type BasicSplitProvider ¶
type BasicSplitProvider struct{}
func NewBasicSplitProvider ¶
func NewBasicSplitProvider() (*BasicSplitProvider, error)
type DefaultSplitProvider ¶
type DefaultSplitProvider struct {
TextType string
}
func NewDefaultSplitProvider ¶
func NewDefaultSplitProvider(textType string) (*DefaultSplitProvider, error)
type MarkdownSplitProvider ¶
type MarkdownSplitProvider struct{}
func NewMarkdownSplitProvider ¶
func NewMarkdownSplitProvider() (*MarkdownSplitProvider, error)
type QaSplitProvider ¶
type QaSplitProvider struct{}
QaSplitProvider structure
func NewQaSplitProvider ¶
func NewQaSplitProvider() (*QaSplitProvider, error)
NewQaSplitProvider creates a new instance of QaSplitProvider
type SplitProvider ¶
func GetSplitProvider ¶
func GetSplitProvider(typ string) (SplitProvider, error)
Click to show internal directories.
Click to hide internal directories.