openai-scala-client-task
openai-scala-client-task
API
io.cequence.openaiscala.task
CompletionTask
CompletionTaskExec
CompletionTaskExec
CompletionTaskHelper
FineTuningTrainingSetGenerator
FineTuningTrainingSetGenerator
RolePrompts
io.cequence.openaiscala.task.binary
BinaryStringTask
CollectOnesAndZerosTask
CollectOnesTask
ConvertBinaryToDecimalTask
CountOnesAndZerosTask
CountOnesTask
EliminateBinaryPairsTask
io.cequence.openaiscala.task.domain
BinaryTaskCoreSettings
BinaryTaskSettings
CompletionTaskIO
PromptCompletionSeparators
PromptCompletionSeparators
TextCompletionTaskSettings
io.cequence.openaiscala.task.examples
GenerateFineTuningDatasetExample
RunCollectionZeroesOnesTask
openai-scala-client-task
/
io.cequence.openaiscala.task.binary
/
ConvertBinaryToDecimalTask
ConvertBinaryToDecimalTask
io.cequence.openaiscala.task.binary.ConvertBinaryToDecimalTask
class
ConvertBinaryToDecimalTask
(
withAssistantSeedPrompt
:
Boolean
)
extends
BinaryStringTask
[
BinaryTaskCoreSettings
]
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
BinaryStringTask
[
BinaryTaskCoreSettings
]
trait
CompletionTaskHelper
trait
CompletionTask
[
BinaryTaskCoreSettings
]
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
Value members
Concrete methods
override
def
evalResult
(
input
:
String
,
output
:
String
):
Option
[
Int
]
Attributes
Definition Classes
CompletionTask
override
def
expectedOutput
(
input
:
String
,
settings
:
BinaryTaskCoreSettings
):
Option
[
String
]
Attributes
Definition Classes
CompletionTask
override
def
generatePrompt
(
input
:
String
,
settings
:
BinaryTaskCoreSettings
):
String
Attributes
Definition Classes
CompletionTask
override
def
seedAssistantPrompt
:
Option
[
String
]
Attributes
Definition Classes
CompletionTask
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
BinaryStringTask
->
CompletionTask
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