openai-function-calling icon indicating copy to clipboard operation
openai-function-calling copied to clipboard

ImportError: cannot import name 'FunctionInferrer' from 'openai_function_calling'

Open skhaz opened this issue 2 years ago • 2 comments

The example seems not to work. Looking at the code, it appears that "FunctionInferrer" exists but is not exported.

skhaz avatar Mar 27 '24 19:03 skhaz

Hey @skhaz! Thank you for the bug report. I updated the unit tests to import FunctionInferrer from the root module to verify it's importable from there and also the openai_function_calling.function_inferrer module itself. I also ran the examples themselves and didn't have an issue.

Can you post your code and more info about your environment so I can help you get setup?

jakecyr avatar Mar 28 '24 13:03 jakecyr

Closing for now. Feel free to reopen if it's still an issue!

jakecyr avatar May 06 '24 01:05 jakecyr