langchain-ai / langchain-google

MIT License
78 stars 81 forks source link

Kaggle default metadata is list but your default metadata is tuple (google api key matching issue) [bug] #158

Closed gunjak closed 2 months ago

gunjak commented 2 months ago

I have found a bug while matching api key on kaggle.

kaggle_issues

This is the getting error on kaggle notebook

langchain_issue

Here defualt metadata is tuple datatype

Kaggle_git_issues

Here default metadata is of list datatype

May I fix this issue? Thanks

lkuligin commented 2 months ago

Sure, please feel free to send a PR to fix this!

gunjak commented 2 months ago

I have tried another models on the kaggle but they are also not working. Does langchain_google_genai models not for kaggle because models are working in google colab but not on kaggle??

gunjak commented 2 months ago

By review code I found that there is bug from kaggle side. I There metadata should be of tuple type because google model is accepting tuple type. So I have raised issue but did not got response.