@arizeai/phoenix-client
Version:
A client for the Phoenix API
9 lines • 329 B
JavaScript
/**
* 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.
*/
export function getExampleGlobalId(example) {
return example.nodeId ?? example.id;
}
//# sourceMappingURL=getExampleGlobalId.js.map