Integrations
OpenTelemetry
Read GenAI spans from an OTLP JSON export into a ModelStill dataset.
modelstill ingest otel traces.json --out data/otel.jsonlThe file is either one ExportTraceServiceRequest object or the collector file exporter's JSON lines, one object per line.
Which spans count
A span counts when it has any gen_ai.* attribute. The input is read from the first of these that is present:
gen_ai.input.messages, withgen_ai.system_instructionsprepended as a system message (the current convention);- the indexed
gen_ai.prompt.<n>.roleand.contentattributes, as older instrumentations write them; - the
gen_ai.content.promptspan event'sgen_ai.promptattribute.
The answer comes from gen_ai.output.messages (the first choice), gen_ai.completion.0.content, or the gen_ai.content.completion event.
- Message parts that are all text are flattened to
{"role", "content"}. Tool calls and other parts are kept as they are. - The output key is
gen_ai.response.model, the model that actually answered, falling back togen_ai.request.model. - A span with status
ERRORbecomes an error output.
Braintrust
Read Braintrust project logs and datasets into a ModelStill dataset, and record Braintrust experiments as runs, from an export file or the REST API.
DeepEval, Inspect and Promptfoo
Record other eval tools' results as ModelStill runs, then compare them case by case and gate them with intervals.