Sampling

ch.linkyard.mcp.protocol.Sampling
object Sampling

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sampling.type

Members list

Type members

Classlikes

case class CreateMessage(messages: List[Message], modelPreferences: Option[ModelPreferences], systemPrompt: Option[String], maxTokens: Int, temperature: Option[Double], includeContext: Option[String], stopSequences: Option[List[String]], metadata: Option[JsonObject], _meta: Option[JsonObject]) extends Request

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Request
class Object
trait Matchable
class Any
Show all
object CreateMessage

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Message(role: Role, content: Content)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Message

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Message.type
case class ModelHint(name: Option[String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ModelHint

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ModelHint.type
case class ModelPreferences(hints: Option[List[ModelHint]], costPriority: Option[Double], intelligencePriority: Option[Double], speedPriority: Option[Double])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
enum StopReason

Attributes

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

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
StopReason.type