MessagesApi

io.github.quafadas.dairect.MessagesApi
See theMessagesApi companion trait
object MessagesApi

Attributes

Companion
trait
Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class AnnotationDelta(index: Option[Int], `type`: String, text: String, start_index: Long, end_index: Long, file_citation: FileCitation)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CodeInterpreterToolDelta(input: String, output: Option[CodeInterpreterToolOutput])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CodeInterpreterToolOutput(index: Option[Int], `type`: String, image: CodeInterpreterToolOutputImage)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CodeInterpreterToolOutputImage(file_id: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FileCitation(file_id: String, quote: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Message(id: String, `object`: String, created_at: Long, thread_id: String, role: String, content: MessageContentList, assistant_id: Option[String], run_id: Option[String], attachments: Option[List[MessageAttachment]], metadata: MessageMetaData, completed_at: Option[Int], incomplete_at: Option[Int])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageAttachment(file_id: Option[String], tools: Option[List[MessagesTool]])

Attributes

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

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageDeleted(id: String, `object`: String, deleted: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageDelta(id: String, `object`: String, delta: MessageDeltaDetail)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageDeltaDetail(role: Option[String], content: List[MessageContentDelta])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageList(`object`: String, data: List[Message], first_id: Option[String], last_id: Option[String], has_more: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MessageToolFunctionDelta(arguments: Option[String])

Attributes

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

Attributes

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

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TextValueDelta(value: String, annotations: Option[List[AnnotationDelta]])

Attributes

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

Value members

Concrete methods

def apply(client: Client[IO], baseUrl: Uri): Resource[IO, MessagesApi]
def defaultAuthLogToFile(logPath: Path, provided: Resource[IO, Client[IO]]): Resource[IO, MessagesApi]

Givens

Givens

given derived$API: API[MessagesApi]