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

Source
ContentPart.scala
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

Source
ContentPart.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product