dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Module dsp has no attribute google

Open aparnajore opened this issue 1 year ago • 4 comments

I am trying to use Google LM but getting error that module dsp has no attribute google.

aparnajore avatar Feb 20 '24 10:02 aparnajore

Fixed with #419, for now, you can directly import it with dsp.modules.google import Google.

KCaverly avatar Feb 20 '24 16:02 KCaverly

Still facing issues like google_api_error is not defined and api_key is not an argument of Google class.

aparnajore avatar Feb 21 '24 08:02 aparnajore

Thanks @aparnajore, for following up, those have been wrapped up in the PR

KCaverly avatar Feb 21 '24 20:02 KCaverly

Hello @KCaverly, Thanks for the update. Could you please let me know when it will be reflected in the main code?

aparnajore avatar Feb 22 '24 05:02 aparnajore

@KCaverly Do we have any update on the above concern?

shishanksid avatar Feb 23 '24 13:02 shishanksid

This is now merged into main. Will be in the pypi release too.

okhat avatar Feb 23 '24 13:02 okhat