v2025.6.2
All Bundles

TunedModel

Fine-tuned model

Operations

Delete

Delete existing tuned model

method : public : Delete() ~ Bool

Return

TypeDescription
Booltrue if successful, false otherwise

GenerateContent

Generates a response from the model given an input

method : public : GenerateContent(content:Content, funcs:Map<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>) ~ Vector<Candidate>

Parameters

NameTypeDescription
contentContentcontent for the model
funcsMap<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>map of function callbacks, name must to map to function callback name

GenerateContent

Generates a response from the model given an input

method : public : GenerateContent(content:Content, funcs:Map<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>) ~ Vector<Candidate>

Parameters

NameTypeDescription
contentContentmodel content
funcsMap<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>map of function callbacks, name must to map to function callback name

GenerateContent

Generates a response from the model given an input

method : public : GenerateContent(contents:Vector<Content>, funcs:Map<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>) ~ Vector<Candidate>

Parameters

NameTypeDescription
contentsVector<Content>list of content for the model
funcsMap<String,Pair<FunctionType,Func2Ref<JsonElement,JsonElement>>>map of function callbacks, name must to map to function callback name

GetBaseModel

Get base model

method : public : GetBaseModel() ~ String

Return

TypeDescription
Stringbase model

GetCreateTime

Get creation time

method : public : GetCreateTime() ~ System.Time.Date

Return

TypeDescription
System.Time.Datecreation time

GetDisplayName

Get display name

method : public : GetDisplayName() ~ String

Return

TypeDescription
Stringdisplay name

GetName

Get name

method : public : GetName() ~ String

Return

TypeDescription
Stringname

GetState

Get state

method : public : GetState() ~ String

Return

TypeDescription
Stringstate

GetTemperature

Get temperature

method : public : GetTemperature() ~ Float

Return

TypeDescription
Floattemperature

GetTopK

Get top k

method : public : GetTopK() ~ Int

Return

TypeDescription
Inttop k

GetTopP

Get top p

method : public : GetTopP() ~ Float

Return

TypeDescription
Floattop p

GetUpdateTime

Get update time

method : public : GetUpdateTime() ~ System.Time.Date

Return

TypeDescription
System.Time.Dateupdate time

List

Lists available models

function : List(key:String) ~ Vector<TunedModel>

Parameters

NameTypeDescription
keyStringAPI key

Return

TypeDescription
Vector<TunedModel>available models

ToString

String representation of the instance

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation of the instance