`DeprecationWarning` raised on `import instructor` vs. use of `Mode.FUNCTIONS`
boydgreenfield opened this issue · comments
- This is actually a bug report.
- ~I am not getting good LLM Results
I have tried asking for help in the community on discord or discussions and have not received a response.I have tried searching the documentation and have not found an answer.
What Model are you using?
N/A
Describe the bug
Instructor is raising a DeprecationWarning
on import vs. access of the Mode.FUNCTIONS
mode.
To Reproduce
import warnings
warnings.simplefilter("default")
import instructor
Expected behavior
A DeprecationWarning
is only raised on access to Mode.FUNCTIONS
Screenshots
N/A
@boydgreenfield what version was this on? Can't reproduce on Python 3.12.1 with instructor 1.3.3