How to import GoogleAIFileManager from @google/generative-ai/files
I am new to deno, I am trying to import GoogleAIFileManager from : @google/generative-ai/files, but it is impossible to me 😦
deno.json
2 Replies
Fixed with this
You don't need esm, its not recommended its hash changes from time to time it gets annoying
This should work
You can check the full example here
https://github.com/sigmaSd/gemini-2-cookbook-deno/blob/master/get_started.ipynb