Skip to content

Interface: OsfSearchResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Query / OsfSearchResponse

Interface: OsfSearchResponse

Defined in: src/types/query.ts:162

Response from structured search.

Remarks

When the query is too vague, the response includes suspended with information about what is missing and how to refine the query. This models residuation at the query level.

Properties

entities

entities: MatchedEntityDto[]

Defined in: src/types/query.ts:164

Matched entities with provenance.


relations

relations: DiscoveredRelationDto[]

Defined in: src/types/query.ts:166

Discovered relations between entities.


stats

stats: OsfSearchStatsDto

Defined in: src/types/query.ts:170

Search statistics.


suspended?

optional suspended: SuspendedQueryDto | null

Defined in: src/types/query.ts:168

If query was incomplete, information about what’s missing.