Skip to main content

ToolSearchDeps

@retinue/monorepo


@retinue/monorepo / backend/src / ToolSearchDeps

Type Alias: ToolSearchDeps

ToolSearchDeps = object

Defined in: backend/src/tools/find.ts:67

Properties​

candidates?​

readonly optional candidates?: number

Defined in: backend/src/tools/find.ts:70


embeddings?​

readonly optional embeddings?: EmbeddingProvider

Defined in: backend/src/tools/find.ts:69

Absent means keyword-only — see the note above on why that is the honest default.


minKeywordScore?​

readonly optional minKeywordScore?: number

Defined in: backend/src/tools/find.ts:73

The absolute keyword floor. See MIN_KEYWORD_SCORE.


minSimilarity?​

readonly optional minSimilarity?: number

Defined in: backend/src/tools/find.ts:75

The absolute semantic floor, for the same reason. Defaults to the platform's SEMANTIC_RELEVANCE_FLOOR.


relevanceFloor?​

readonly optional relevanceFloor?: number

Defined in: backend/src/tools/find.ts:71