@memberjunction/realtime-widget 6.3.0-edge.0 → 6.3.0-edge.2
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/embed/chunks/UserViewEngine-UMZLZOPX.js +7 -0
- package/dist/embed/chunks/{chunk-CFNJUN5T.js → chunk-3U2F5LA6.js} +82054 -45446
- package/dist/embed/chunks/{chunk-MIJGWKAT.js → chunk-CIZSPKQR.js} +10 -1
- package/dist/embed/chunks/{chunk-3SGPPDAR.js → chunk-KHEWGJIZ.js} +3131 -3027
- package/dist/embed/chunks/{chunk-PYHZMJHO.js → chunk-KJ4DC2CQ.js} +3689 -769
- package/dist/embed/chunks/{chunk-P7OZVUW4.js → chunk-S3PJ645E.js} +2138 -279
- package/dist/embed/chunks/{dist-PBT4EYQL.js → dist-IPM3QV6N.js} +5 -5
- package/dist/embed/chunks/{guest-tool-relay-US5DJL75.js → guest-tool-relay-CMMC47BO.js} +6 -6
- package/dist/embed/chunks/{guest-voice-mint-VBOHRPWJ.js → guest-voice-mint-35OTDWNM.js} +6 -6
- package/dist/embed/chunks/{realtime-voice-controller-4ZREZIRH.js → realtime-voice-controller-JCMNRHMU.js} +352 -32
- package/dist/embed/chunks/{runtime-widget-transport-JX4WL4BP.js → runtime-widget-transport-3QBNDBED.js} +12 -10
- package/dist/embed/mj-widget.js +9 -8
- package/dist/session/widget-session-client.js +2 -2
- package/dist/session/widget-session-client.js.map +1 -1
- package/dist/transport/runtime-widget-transport.d.ts.map +1 -1
- package/dist/transport/runtime-widget-transport.js +2 -1
- package/dist/transport/runtime-widget-transport.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +9 -9
- package/dist/embed/chunks/UserViewEngine-SLKE6LBB.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsPlainObject,
|
|
3
3
|
SafeDeepMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KHEWGJIZ.js";
|
|
5
5
|
|
|
6
6
|
// ../../AI/Core/dist/generic/baseModel.js
|
|
7
7
|
var BaseResult = class {
|
|
@@ -2684,6 +2684,14 @@ var BaseLLM = class extends BaseModel {
|
|
|
2684
2684
|
}
|
|
2685
2685
|
};
|
|
2686
2686
|
|
|
2687
|
+
// ../../AI/Core/dist/generic/decision.types.js
|
|
2688
|
+
var PLATT_LOGIT_CLAMP = 1e-6;
|
|
2689
|
+
function ApplyPlattCalibration(p, calibration) {
|
|
2690
|
+
const clamped = Math.min(1 - PLATT_LOGIT_CLAMP, Math.max(PLATT_LOGIT_CLAMP, p));
|
|
2691
|
+
const logit = Math.log(clamped / (1 - clamped));
|
|
2692
|
+
return 1 / (1 + Math.exp(-(calibration.A * logit + calibration.B)));
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2687
2695
|
// ../../AI/Core/dist/generic/apiKeyDictionary.js
|
|
2688
2696
|
var AIAPIKeys = class _AIAPIKeys {
|
|
2689
2697
|
static {
|
|
@@ -3686,6 +3694,7 @@ function fragmentTiming(data, init) {
|
|
|
3686
3694
|
}
|
|
3687
3695
|
|
|
3688
3696
|
export {
|
|
3697
|
+
ApplyPlattCalibration,
|
|
3689
3698
|
RealtimeConversationMemory,
|
|
3690
3699
|
RenderRealtimeMemorySeed,
|
|
3691
3700
|
RenderRealtimeMemorySeedAsContextNote,
|