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
Any tips on how to setup pylance to work with instructor properly?
I set up a new poetry project, installed instructor, copied the code snippet from the README, but it seems the patch doesnt return the right type back.
Using python 3.11
I suppose we can't really fix No overloads for "create" match the provided arguments Argument types: (Literal['gpt-4'], type[UserInfo], list[dict[str, str]]) since OpenAI literally doesn't implement that property.
Interpreter is also set correctly:
VSCode settings are set to "basic" typechecking "python.analysis.typeCheckingMode": "basic",
Is it expected to not have the type completion on the responses or did I setup something incorrectly?
The text was updated successfully, but these errors were encountered:
similar issue when you patch the method (patch(create=...)) where all the default openai parameters trigger a error: Arguments for ParamSpec "T_ParamSpec@__call__" are missing (reportCallIssue) warning.
Any tips on how to setup pylance to work with instructor properly?
I set up a new poetry project, installed instructor, copied the code snippet from the README, but it seems the patch doesnt return the right type back.
I suppose we can't really fix
No overloads for "create" match the provided arguments Argument types: (Literal['gpt-4'], type[UserInfo], list[dict[str, str]])
since OpenAI literally doesn't implement that property.Interpreter is also set correctly:
VSCode settings are set to "basic" typechecking
"python.analysis.typeCheckingMode": "basic",
Is it expected to not have the type completion on the responses or did I setup something incorrectly?
The text was updated successfully, but these errors were encountered: