instructor
instructor copied to clipboard
`DeprecationWarning` raised on `import instructor` vs. use of `Mode.FUNCTIONS`
- [X] 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