DirectoryLoader

org.llm4s.rag.loader.DirectoryLoader
See theDirectoryLoader companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(path: String): DirectoryLoader
def apply(path: String, extensions: Set[String]): DirectoryLoader
def apply(file: File): DirectoryLoader
def code(path: String): DirectoryLoader

Load only code files

Load only code files

Attributes

def docx(path: String): DirectoryLoader

Load only Word documents

Load only Word documents

Attributes

def markdown(path: String): DirectoryLoader

Load only markdown files

Load only markdown files

Attributes

def pdf(path: String): DirectoryLoader

Load only PDF files

Load only PDF files

Attributes

def text(path: String): DirectoryLoader

Load only text files

Load only text files

Attributes

Concrete fields

val defaultExtensions: Set[String]

Default supported file extensions

Default supported file extensions

Attributes