ConvertBinaryToDecimalTask

io.cequence.openaiscala.task.binary.ConvertBinaryToDecimalTask
class ConvertBinaryToDecimalTask(withAssistantSeedPrompt: Boolean) extends BinaryStringTask[BinaryTaskCoreSettings]

Attributes

Graph
Supertypes

Members list

Concise view

Value members

Concrete methods

override def evalResult(input: String, output: String): Option[Int]

Attributes

Definition Classes
override def expectedOutput(input: String, settings: BinaryTaskCoreSettings): Option[String]

Attributes

Definition Classes
override def generatePrompt(input: String, settings: BinaryTaskCoreSettings): String

Attributes

Definition Classes
override def seedAssistantPrompt: Option[String]

Attributes

Definition Classes

Inherited methods

protected def addSpaces(withSpace: Boolean)(s: String): String

Attributes

Inherited from:
BinaryStringTask
protected def extractAux(pattern: Regex, prefixes: Seq[String], text: String): Option[String]

Attributes

Inherited from:
CompletionTaskHelper
protected def extractWoSpacesAux(pattern: Regex, prefix: String, text: String): Option[String]

Attributes

Inherited from:
CompletionTaskHelper
protected def extractWoSpacesAux(pattern: Regex, prefixes: Seq[String], text: String): Option[String]

Attributes

Inherited from:
CompletionTaskHelper
protected def generateExamples(settings: BinaryTaskCoreSettings): String

Attributes

Inherited from:
BinaryStringTask
override def generateInput(settings: BinaryTaskCoreSettings): String

Attributes

Definition Classes
Inherited from:
BinaryStringTask
protected def generateInputDensityUniformDistAux(stringSize: Int): String

Attributes

Inherited from:
CompletionTaskHelper
protected def generateInputUniformDistAux(stringSize: Int): String

Attributes

Inherited from:
CompletionTaskHelper

Inherited fields

protected val examples: Seq[String]

Attributes

Inherited from:
BinaryStringTask
override val hasEvalResult: Boolean

Attributes

Inherited from:
BinaryStringTask
protected val onesCollectPattern: Regex

Attributes

Inherited from:
BinaryStringTask
protected val onesCountPattern: Regex

Attributes

Inherited from:
BinaryStringTask
protected val onesPrefix: String

Attributes

Inherited from:
BinaryStringTask
override val rolePrompt: Option[String]

Attributes

Inherited from:
BinaryStringTask
protected val zerosCollectPattern: Regex

Attributes

Inherited from:
BinaryStringTask
protected val zerosCountPattern: Regex

Attributes

Inherited from:
BinaryStringTask
protected val zerosPrefix: String

Attributes

Inherited from:
BinaryStringTask