You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: fix the return type of DeepEval.get_model_def_script() for all backends (#5094)
For dpmodel and JAX, previously it returns str, but the type hint is
dict.
For PyTorch and Paddle, previously it returns dict, but the type hint is
str.
Now, all backends return dict, and the type hints are also dict.
Add a test to test it.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Corrected method return type annotations to improve code accuracy and
consistency across inference modules.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments