You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A generic loader should has optional text splitter. compose a loader with WithSplitter(textsplitter). textsplitter must be an interface inside loaders. The result should be something like: loader.NewPDFToTextLoader("/usr/bin/pdftotext", "./kb").WithSplitter(textsplitter.NewRecursiveCharacterTextSplitter(2000, 200)).Load()chore: refactor loaders and splitters #54
Tasks
a := pkg.New().WithValue().WithSome()
. chore: make constructors composable #49t := NewTube(llm,decoder).WithMemory(name,memory)
in general extend with methods to get optional parameters. chore: refactor tube signatures #50WithSplitter(textsplitter)
. textsplitter must be an interface inside loaders. The result should be something like:loader.NewPDFToTextLoader("/usr/bin/pdftotext", "./kb").WithSplitter(textsplitter.NewRecursiveCharacterTextSplitter(2000, 200)).Load()
chore: refactor loaders and splitters #54The text was updated successfully, but these errors were encountered: