Document

org.llm4s.llmconnect.model.ContentPart.Document
final case class Document extends ContentPart

A document - a PDF, text, Markdown, HTML or CSV file; build one with ContentPart.document.

Attributes

Graph
Supertypes
trait ContentPart
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def kind: String

The part's kind, for errors and logs: text, or the category, source and media type of an image or document, e.g. image (url, image/png) or document (provider file openai, application/pdf).

The part's kind, for errors and logs: text, or the category, source and media type of an image or document, e.g. image (url, image/png) or document (provider file openai, application/pdf).

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product