Skip to content

Interface: SemanticProbeAdapter

Defined in: packages/core/src/introspection/SemanticProbe.ts:53

Pluggable LLM adapter for semantic evaluation.

Implementations should call an LLM with the provided prompt and return the structured evaluation result.

Properties

name

ts
readonly name: string;

Defined in: packages/core/src/introspection/SemanticProbe.ts:55

Human-readable name (e.g., 'claude-3.5', 'gpt-4o')

Methods

evaluate()

ts
evaluate(prompt): Promise<string>;

Defined in: packages/core/src/introspection/SemanticProbe.ts:62

Send a semantic evaluation prompt to the LLM.

Parameters

ParameterTypeDescription
promptstringComplete evaluation prompt

Returns

Promise<string>

Raw LLM response text