UniversalExtractor

org.llm4s.llmconnect.extractors.UniversalExtractor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class AudioContent(samples: Array[Float], sampleRate: Int) extends Extracted

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Extracted
class Object
trait Matchable
class Any
Show all
sealed trait Extracted

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class ImageContent(image: BufferedImage) extends Extracted

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Extracted
class Object
trait Matchable
class Any
Show all
final case class TextContent(text: String) extends Extracted

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Extracted
class Object
trait Matchable
class Any
Show all
final case class VideoContent(frames: Seq[BufferedImage], fps: Int) extends Extracted

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Extracted
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def extract(inputPath: String): Either[ExtractorError, String]
def extractAny(inputPath: String): Either[ExtractorError, Extracted]
def isTextLike(mime: String): Boolean