This example shows how to use Gemini
To run this example, you need to have a project on Google Cloud with access to Vertex AI API. For more information please refer to Google Vertex AI.
Note
You can find the complete sample code here
Step 1: Install AutoGen.Gemini and AutoGen.SourceGenerator
First, install the AutoGen.Gemini package using the following command:
dotnet add package AutoGen.Gemini
dotnet add package AutoGen.SourceGenerator
The AutoGen.SourceGenerator package is required to generate the Function
Step 2: Add using statement
It looks like the sample you are looking for does not exist.
Step 3: Create MovieFunction
It looks like the sample you are looking for does not exist.
Step 4: Create a Gemini agent
It looks like the sample you are looking for does not exist.
Step 5: Single turn function call
It looks like the sample you are looking for does not exist.
Step 6: Multi-turn function call
It looks like the sample you are looking for does not exist.