MessagesApi

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

Attributes

Companion
object
Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def create(thread_id: String, content: MessageOnThread, attachments: Option[List[MessageAttachment]], metadata: Option[MessageMetaData], role: String): IO[Message]
def deleteThread(id: String): IO[MessageDeleted]
def get(thread_id: String, message_id: String): IO[Message]
def list(thread_id: String, limit: Option[Int], order: Option[String], after: Option[String], before: Option[String], run_id: Option[String]): IO[MessageList]
def modifyMessage(thread_id: String, message_id: String): IO[Message]