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 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
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 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

Attributes

Supertypes
trait Enum
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]