Google Generative AI SDK
C#
Show/Hide TOC
Function
Call
Extensions Class
Provides extension methods for working with function call-related types.
Definition
Namespace:
GenerativeAI
Assembly:
GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
Copy
public
static
class
FunctionCallExtensions
Inheritance
Object
FunctionCallExtensions
Methods
ToFunctionCallContent
Converts a nullable
FunctionResponse
into a
Content
object configured with the role of "function" and containing the response as a single part of the content.
See Also
Reference
GenerativeAI Namespace
In This Article
Definition
Methods
See Also