fix samplescount
This commit is contained in:
@@ -39,7 +39,8 @@ namespace AICore.Facade
|
||||
prompt = "",
|
||||
description = "",
|
||||
helpurl = "",
|
||||
aiactiontype = ""
|
||||
aiactiontype = "",
|
||||
samples_count = 0
|
||||
}
|
||||
};
|
||||
|
||||
@@ -58,7 +59,8 @@ namespace AICore.Facade
|
||||
Prompt = x.prompt,
|
||||
OwnsoftRefLink = x.helpurl,
|
||||
IsOwnsoftPrompt = true,
|
||||
ActionType = GetAiActionType(x.aiactiontype, aiActionType)
|
||||
ActionType = GetAiActionType(x.aiactiontype, aiActionType),
|
||||
SamplesCount = x.samples_count,
|
||||
});
|
||||
|
||||
return data.Where(x => x.ActionType == aiActionType); ;
|
||||
|
||||
Reference in New Issue
Block a user