❗BEFORE YOU BEGIN❗
Are you on discord? 🤗 We'd love to have you asking questions on discord instead: https://discord.com/invite/a3K9c8GRGt
Describe the bug
O1 models (o1, o1-2024-12-17, o3-mini, etc.) fail when used with ArenaGEval because DeepEval internally passes a response_format parameter with type json_schema, which O1 models don't support.
To Reproduce
Steps to reproduce the behavior:
- Create an O1 model: gpt_judge = GPTModel(model="o1")
- Create an ArenaGEval metric with the O1 model: arena_metric = ArenaGEval(name="test", criteria="Compare outputs", model=gpt_judge)
- Create test cases and arena test case with contestants
- Call await arena_metric.a_measure(arena_test_case)
- See error: Error code: 400 - {'error': {'message': "Unsupported parameter: 'temperature' is not supported with this model.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'u...",
Expected behavior
O1 models should work with ArenaGEval, either by automatically detecting that the model doesn't support structured output and falling back to text parsing, or by providing a configuration option to disable structured output. Please also add support for O3
Desktop (please complete the following information):
- OS: Linux Ubuntu
- DeepEval Version: Latest
- Python Version: 3.11
❗BEFORE YOU BEGIN❗
Are you on discord? 🤗 We'd love to have you asking questions on discord instead: https://discord.com/invite/a3K9c8GRGt
Describe the bug
O1 models (o1, o1-2024-12-17, o3-mini, etc.) fail when used with ArenaGEval because DeepEval internally passes a response_format parameter with type json_schema, which O1 models don't support.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
O1 models should work with ArenaGEval, either by automatically detecting that the model doesn't support structured output and falling back to text parsing, or by providing a configuration option to disable structured output. Please also add support for O3
Desktop (please complete the following information):