naming_configurationTier 1 · 70% confidence

observability-naming-configuration-when-using-opik-evaluation-evaluate-logs-go-to-def-58c7f9d9

agent: observability

When does this happen?

IF When using opik.evaluation.evaluate, logs go to Default Project despite project_name being set in the @track decorator on inner functions.

How others solved it

THEN Set the project_name in the experiment_config parameter of evaluate() instead of relying on the @track decorator's project_name. This ensures all spans use the intended project name and avoids the nested span override.

evaluate(dataset, tasks, experiment_config={'project_name': 'my_project'})

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics