Skip to content

Interface: OsfSearchResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Query / OsfSearchResponse

Interface: OsfSearchResponse

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

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:168

Matched entities with provenance.


relations

relations: DiscoveredRelationDto[]

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

Discovered relations between entities.


stats

stats: OsfSearchStatsDto

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

Search statistics.


suspended?

optional suspended: SuspendedQueryDto | null

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

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