KnowledgeBaseGraphSearchReference interface

A graph result or a hydrated source document returned by graph-based knowledge retrieval.

Extends

Properties

graphIndexName

Graph index that produced the result or source-document evidence.

type

The discriminator value.

Inherited Properties

activitySource

The source activity ID for the reference.

id

The ID of the reference.

rerankerScore

The reranker score for the document reference.

sourceData

The source data for the reference.

Property Details

graphIndexName

Graph index that produced the result or source-document evidence.

graphIndexName?: string

Property Value

string

type

The discriminator value.

type: "graphSearch"

Property Value

"graphSearch"

Inherited Property Details

activitySource

The source activity ID for the reference.

activitySource: number

Property Value

number

Inherited From KnowledgeBaseReference.activitySource

id

The ID of the reference.

id: string

Property Value

string

Inherited From KnowledgeBaseReference.id

rerankerScore

The reranker score for the document reference.

rerankerScore?: number

Property Value

number

Inherited From KnowledgeBaseReference.rerankerScore

sourceData

The source data for the reference.

sourceData?: Record<string, unknown>

Property Value

Record<string, unknown>

Inherited From KnowledgeBaseReference.sourceData