pub struct ExtractionLlmJudge { /* private fields */ }Expand description
Wraps an HttpExtractionProvider so it can be used as a [LlmJudge]
for the CognitiveLlmService.
The extraction provider already handles OpenAI, Anthropic, Ollama, and Custom endpoints with retry logic — this adapter simply maps the interface.
Implementations§
Source§impl ExtractionLlmJudge
impl ExtractionLlmJudge
Sourcepub fn new(provider: HttpExtractionProvider) -> Self
pub fn new(provider: HttpExtractionProvider) -> Self
Create a new adapter from an existing extraction provider.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractionLlmJudge
impl !RefUnwindSafe for ExtractionLlmJudge
impl Send for ExtractionLlmJudge
impl Sync for ExtractionLlmJudge
impl Unpin for ExtractionLlmJudge
impl UnsafeUnpin for ExtractionLlmJudge
impl !UnwindSafe for ExtractionLlmJudge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more