Heuristic:Openai Openai python Warning Deprecated Eval Stored Completions
| Knowledge Sources | |
|---|---|
| Domains | Evaluations, Deprecation |
| Last Updated | 2026-02-15 10:00 GMT |
Overview
Deprecation warning for EvalStoredCompletionsDataSourceConfig, which has been superseded by LogsDataSourceConfig.
Description
The EvalStoredCompletionsDataSourceConfig Pydantic model in types/eval_stored_completions_data_source_config.py carries a class-level deprecation note: "Deprecated in favor of LogsDataSourceConfig." This type is still present in the SDK for backward compatibility but should not be used in new evaluation configurations.
Usage
This warning applies when you encounter code referencing EvalStoredCompletionsDataSourceConfig as a data source type for evaluations. Migrate to LogsDataSourceConfig instead.
The Insight (Rule of Thumb)
- Action: Replace EvalStoredCompletionsDataSourceConfig with LogsDataSourceConfig in evaluation configurations.
- Trade-off: None — LogsDataSourceConfig is a direct replacement with the same capabilities.
Reasoning
The stored completions data source configuration was renamed/replaced to better reflect its actual purpose (logs-based evaluation data sourcing). The old type alias remains for backward compatibility but will eventually be removed.