/** * This file was auto-generated by Fern from our API Definition. */ export interface EntityEdge { /** Additional attributes of the edge. Dependent on edge types */ attributes?: Record; /** Creation time of the edge */ createdAt: string; /** List of episode ids that reference these entity edges */ episodes?: string[]; /** Datetime of when the node was invalidated */ expiredAt?: string; /** Fact representing the edge and nodes that it connects */ fact: string; /** Datetime of when the fact stopped being true */ invalidAt?: string; /** Name of the edge, relation name */ name: string; /** * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation. * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF). */ relevance?: number; /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */ score?: number; /** UUID of the source node */ sourceNodeUuid: string; /** UUID of the target node */ targetNodeUuid: string; /** UUID of the edge */ uuid: string; /** Datetime of when the fact became true */ validAt?: string; }