Mark Daoust

Results 254 comments of Mark Daoust

@mwigh - Nice, I'll have to investigate this deeper. Can you send that commit as a PR?

It's interesting that Schema supports both "required" and "nullable" flags. That's a subtle distinction.

Related: https://github.com/google-gemini/generative-ai-python/issues/642

Hi, sorry about the slow response here. This seems to be fixed. I've seen just about every stop reason, and usage-metadata is consistently populated.

`asyncio.to_thread`, interesting. That's new to me. The implementation of that upload function is kind of messy (see https://github.com/google-gemini/generative-ai-python/issues/327). When I was writing it there just didn't seem to be a...

https://github.com/google-gemini/generative-ai-python/pull/586

Hi, sorry there are some filters that we just can't turn off, these all go into the "OTHER" finish reason. For example: one of the non-configurable filters is child safety,...

@dipakmeher - I sent that to the owners as an example of a false positive. Thanks for reporting.

Hi, I think we may start supporting more block reasons soon, this will give you more information in cases where it's blocked by something other than the (settable) safety filters.

Right, thanks. @shilpakancharla IIRC you did the embedding implementation, could you fix this?