@wix/evalforge-evaluator 0.210.0 → 0.212.0
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/build/index.js +34 -3
- package/build/index.js.map +1 -1
- package/build/index.mjs +34 -3
- package/build/index.mjs.map +1 -1
- package/package.json +3 -3
package/build/index.mjs
CHANGED
|
@@ -5799,7 +5799,11 @@ var _evalRun = {
|
|
|
5799
5799
|
startedAt: "google.protobuf.Timestamp",
|
|
5800
5800
|
completedAt: "google.protobuf.Timestamp",
|
|
5801
5801
|
createdAt: "google.protobuf.Timestamp",
|
|
5802
|
-
updatedAt: "google.protobuf.Timestamp"
|
|
5802
|
+
updatedAt: "google.protobuf.Timestamp",
|
|
5803
|
+
results: "_evalRunResult",
|
|
5804
|
+
aggregateMetrics: "_evalMetrics",
|
|
5805
|
+
runAnalysis: "_runAnalysis",
|
|
5806
|
+
remoteJob: "_remoteJob"
|
|
5803
5807
|
};
|
|
5804
5808
|
var _evalRunResult = {
|
|
5805
5809
|
passRate: "DOUBLE",
|
|
@@ -5831,6 +5835,8 @@ var _lLMTraceSummary = {
|
|
|
5831
5835
|
var _modelConfig = { temperature: "google.protobuf.DoubleValue" };
|
|
5832
5836
|
var _pushTraceEventRequest = { event: "_liveTraceEvent" };
|
|
5833
5837
|
var _pushTraceEventResponse = {};
|
|
5838
|
+
var _remoteJob = { statusCheckedAt: "google.protobuf.Timestamp" };
|
|
5839
|
+
var _runAnalysis = { generatedAt: "google.protobuf.Timestamp" };
|
|
5834
5840
|
function resolveWixEvalforgeV1EvalRunServiceUrl(opts) {
|
|
5835
5841
|
var domainToMappings = {
|
|
5836
5842
|
"dev._base_domain_": [
|
|
@@ -5868,13 +5874,32 @@ function resolveWixEvalforgeV1EvalRunServiceUrl(opts) {
|
|
|
5868
5874
|
srcPath: "/_api/evalforge-backend",
|
|
5869
5875
|
destPath: ""
|
|
5870
5876
|
}
|
|
5877
|
+
],
|
|
5878
|
+
"www.wixapis.com": [
|
|
5879
|
+
{
|
|
5880
|
+
srcPath: "/_api/evalforge-backend",
|
|
5881
|
+
destPath: ""
|
|
5882
|
+
}
|
|
5871
5883
|
]
|
|
5872
5884
|
};
|
|
5873
5885
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
5874
5886
|
}
|
|
5875
5887
|
function getEvalRun(payload) {
|
|
5876
5888
|
var _a = serializer(_getEvalRunRequest, {}), toReq = _a.toJSON, fromReq = _a.fromJSON;
|
|
5877
|
-
var fromRes = serializer(_getEvalRunResponse, {
|
|
5889
|
+
var fromRes = serializer(_getEvalRunResponse, {
|
|
5890
|
+
_assertionResult,
|
|
5891
|
+
_conversationMessage,
|
|
5892
|
+
_evalMetrics,
|
|
5893
|
+
_evalRun,
|
|
5894
|
+
_evalRunResult,
|
|
5895
|
+
_lLMBreakdownStats,
|
|
5896
|
+
_lLMTrace,
|
|
5897
|
+
_lLMTraceStep,
|
|
5898
|
+
_lLMTraceSummary,
|
|
5899
|
+
_modelConfig,
|
|
5900
|
+
_remoteJob,
|
|
5901
|
+
_runAnalysis
|
|
5902
|
+
}).fromJSON;
|
|
5878
5903
|
function __getEvalRun(_a2) {
|
|
5879
5904
|
var host = _a2.host;
|
|
5880
5905
|
var serializedData = toReq(payload);
|
|
@@ -6272,6 +6297,12 @@ function resolveWixEvalforgeV1CapabilityServiceUrl(opts) {
|
|
|
6272
6297
|
srcPath: "/_api/evalforge-backend",
|
|
6273
6298
|
destPath: ""
|
|
6274
6299
|
}
|
|
6300
|
+
],
|
|
6301
|
+
"www.wixapis.com": [
|
|
6302
|
+
{
|
|
6303
|
+
srcPath: "/_api/evalforge-backend",
|
|
6304
|
+
destPath: ""
|
|
6305
|
+
}
|
|
6275
6306
|
]
|
|
6276
6307
|
};
|
|
6277
6308
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -6348,7 +6379,7 @@ function getLatestCapabilityVersion(payload) {
|
|
|
6348
6379
|
optInTransformResponse: true
|
|
6349
6380
|
},
|
|
6350
6381
|
url: resolveWixEvalforgeV1CapabilityServiceUrl({
|
|
6351
|
-
protoPath: "/v1/projects/{projectId}/capabilities/{capabilityId}/
|
|
6382
|
+
protoPath: "/v1/projects/{projectId}/capabilities/{capabilityId}/latest-version",
|
|
6352
6383
|
data: serializedData,
|
|
6353
6384
|
host
|
|
6354
6385
|
}),
|