Agent

io.github.quafadas.dairect.Agent
See theAgent companion object
case class Agent[Alg[_[_, _, _, _, _]]](model: ChatGpt, seedMessages: List[AiMessage], modelParams: ChatGptConfig, toolkit: FunctorAlgebra[Alg, IO], service: Service[Alg], name: String)

Attributes

Companion
object
Experimental
true
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Experimental methods

inline def startAgent: IO[List[AiMessage]]
Extension method from io.github.quafadas.dairect

Attributes

Experimental
true
def systemMessage(msg: String): SystemMessage
Extension method from io.github.quafadas.dairect

Attributes

Experimental
true
def userMessage(msg: String): AiMessage
Extension method from io.github.quafadas.dairect

Attributes

Experimental
true