marola.llm.TracedLlmClient
See theTracedLlmClient companion object
final class TracedLlmClient(inner: LlmClient, model: String, tracing: Tracing, traceContent: Boolean) extends LlmClient
MIP-0010 task 6: the decorator that gives every LlmClient.complete one span — llm. with the GenAI semantic-convention attributes MLflow ingests (gen_ai.operation.name, gen_ai.request.model) plus marola's own sizes (message count, prompt/completion characters).
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article