Interface: WebSearchHit
@kortexya/reasoninglayer / WebSearchHit
Interface: WebSearchHit
Section titled “Interface: WebSearchHit”Defined in: src/types/ingestion.ts:2274
One page a web search found.
Properties
Section titled “Properties”provider
Section titled “provider”provider:
string
Defined in: src/types/ingestion.ts:2276
The provider that answered (for example searxng).
score?
Section titled “score?”
optionalscore?:number
Defined in: src/types/ingestion.ts:2278
Relevance in [0, 1], when the provider reports one.
snippet
Section titled “snippet”snippet:
string
Defined in: src/types/ingestion.ts:2280
The provider’s excerpt of the page.
title:
string
Defined in: src/types/ingestion.ts:2282
The page title, as the provider reports it.
url:
string
Defined in: src/types/ingestion.ts:2284
The page URL: a candidate for ingestUrl.