UNPKG

@arizeai/phoenix-client

Version:
13 lines 497 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getExampleGlobalId = getExampleGlobalId; /** * The example's node GlobalID, which experiment runs record as their * `dataset_example_id`. Servers that predate the `nodeId` field deliver the * GlobalID in the `id` field instead. */ function getExampleGlobalId(example) { var _a; return (_a = example.nodeId) !== null && _a !== void 0 ? _a : example.id; } //# sourceMappingURL=getExampleGlobalId.js.map