objectiveai 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -911,6 +911,8 @@ export interface ScoreLlmWithoutIndicesWithMetadata extends ScoreLlmWithoutIndic
|
|
|
911
911
|
completion_tokens: number;
|
|
912
912
|
prompt_tokens: number;
|
|
913
913
|
total_cost: number;
|
|
914
|
+
average_confidence: number;
|
|
915
|
+
conformity: number;
|
|
914
916
|
}
|
|
915
917
|
export interface ScoreLlm extends ScoreLlmWithoutIndices {
|
|
916
918
|
index: number;
|
|
@@ -945,7 +947,13 @@ export declare namespace ScoreLlm {
|
|
|
945
947
|
}
|
|
946
948
|
export type MultichatLlmBase = ScoreLlmBase;
|
|
947
949
|
export type MultichatLlmWithoutIndices = ScoreLlmWithoutIndices;
|
|
948
|
-
export
|
|
950
|
+
export interface MultichatLlmWithoutIndicesWithMetadata extends MultichatLlmWithoutIndices {
|
|
951
|
+
created: string;
|
|
952
|
+
requests: number;
|
|
953
|
+
completion_tokens: number;
|
|
954
|
+
prompt_tokens: number;
|
|
955
|
+
total_cost: number;
|
|
956
|
+
}
|
|
949
957
|
export type MultichatLlm = ScoreLlm;
|
|
950
958
|
export declare namespace MultichatLlm {
|
|
951
959
|
function list(openai: OpenAI, listOptions?: Models.ListOptions, options?: OpenAI.RequestOptions): Promise<{
|
|
@@ -976,6 +984,8 @@ export interface ScoreModelWithMetadata extends ScoreModel {
|
|
|
976
984
|
completion_tokens: number;
|
|
977
985
|
prompt_tokens: number;
|
|
978
986
|
total_cost: number;
|
|
987
|
+
average_winner_confidence: number;
|
|
988
|
+
decisiveness: number;
|
|
979
989
|
}
|
|
980
990
|
export declare namespace ScoreModel {
|
|
981
991
|
type Weight = Weight.Static | Weight.TrainingTable;
|
|
@@ -1006,7 +1016,13 @@ export declare namespace ScoreModel {
|
|
|
1006
1016
|
}
|
|
1007
1017
|
export type MultichatModelBase = ScoreModelBase;
|
|
1008
1018
|
export type MultichatModel = ScoreModel;
|
|
1009
|
-
export
|
|
1019
|
+
export interface MultichatModelWithMetadata extends MultichatModel {
|
|
1020
|
+
created: string;
|
|
1021
|
+
requests: number;
|
|
1022
|
+
completion_tokens: number;
|
|
1023
|
+
prompt_tokens: number;
|
|
1024
|
+
total_cost: number;
|
|
1025
|
+
}
|
|
1010
1026
|
export declare namespace MultichatModel {
|
|
1011
1027
|
function list(openai: OpenAI, listOptions?: Models.ListOptions, options?: OpenAI.RequestOptions): Promise<{
|
|
1012
1028
|
data: string[];
|