symfonic.evals.provider_evidence¶
provider_evidence ¶
Opt-in capture of the messages delivered at the chat-model boundary.
ProviderEvidenceRecorder ¶
Wrap a model provider and retain what its chat models actually receive.
This is evaluation instrumentation, not inference logic. It captures in a LangChain callback at the provider boundary, after prompt assembly and attachment encoding. Reading the original eval prompt would be easier but would turn a dropped context block into a false green.
Source code in src/symfonic/evals/provider_evidence.py
calls
property
¶
All captured batches, for diagnostics owned by the evaluation.
calls_since ¶
Actual message batches delivered after cursor.
Source code in src/symfonic/evals/provider_evidence.py
cursor ¶
get_chat_model ¶
Return the provider's model with the capture callback installed.