Skip to main content

IndexSourceInput

@retinue/monorepo


@retinue/monorepo / backend/src / IndexSourceInput

Type Alias: IndexSourceInput

IndexSourceInput = object

Defined in: backend/src/knowledge/index.ts:55

Properties​

authSubject​

readonly authSubject: string

Defined in: backend/src/knowledge/index.ts:65

Who may retrieve this source's chunks.

Required. An optional subject would default to something, and the something would either be too narrow (nothing retrievable) or too wide (everything retrievable by everyone) — and the second failure is silent.


blocks​

readonly blocks: readonly DocumentBlock[]

Defined in: backend/src/knowledge/index.ts:58


sourceId​

readonly sourceId: string

Defined in: backend/src/knowledge/index.ts:57


sourceType​

readonly sourceType: KnowledgeSourceType

Defined in: backend/src/knowledge/index.ts:56