Functions and their usage

Cross posting this item

It has a bearing on documentation: the documentation for FunctionDeclaration (https://ai.google.dev/api/rest/v1beta/Tool#FunctionDeclaration) mentions adherence to Open API 3.03 specification repeatedly, but fails to explicitly point out that the period, not listed in the set of available characters when composing name, is excluded in a departure from the Open API specification for name. According to Open API specs, implementations may diverge, if they specifically point out where they diverge.

Of course, allowing periods in names and eliminating this departure from Open API 3.03 would be preferable, in my opinion.

1 Like