BinaryStringTask

io.cequence.openaiscala.task.binary.BinaryStringTask

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

protected def addExample(withSpace: Boolean)(example: String): String

Concrete methods

protected def addSpaces(withSpace: Boolean)(s: String): String
protected def generateExamples(settings: S): String
override def generateInput(settings: S): String

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
CompletionTask
def expectedOutput(input: String, settings: S): Option[String]

Attributes

Inherited from:
CompletionTask
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 generateInputDensityUniformDistAux(stringSize: Int): String

Attributes

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

Attributes

Inherited from:
CompletionTaskHelper
def generatePrompt(input: String, settings: S): String

Attributes

Inherited from:
CompletionTask
def seedAssistantPrompt: Option[String]

Attributes

Inherited from:
CompletionTask

Concrete fields

protected val examples: Seq[String]
override val hasEvalResult: Boolean
protected val onesCollectPattern: Regex
protected val onesCountPattern: Regex
protected val onesPrefix: String
override val rolePrompt: Option[String]
protected val zerosCollectPattern: Regex
protected val zerosCountPattern: Regex
protected val zerosPrefix: String