Skip to content

Commit dec1c1b

Browse files
authored
Update README.md
1 parent 6204e2a commit dec1c1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ our [Wiki Page](https://github.com/gunpal5/Google_GenerativeAI/wiki/initializati
111111
3. **Initialize GoogleAI**
112112
Provide the API key when creating an instance of the GoogleAI class:
113113
```csharp
114-
var googleAI = new GoogleAI("Your_API_Key");
114+
var googleAI = new GoogleAi("Your_API_Key");
115115
```
116116

117117
4. **Obtain a GenerativeModel**
@@ -130,7 +130,7 @@ our [Wiki Page](https://github.com/gunpal5/Google_GenerativeAI/wiki/initializati
130130

131131
```csharp
132132
var apiKey = "YOUR_GOOGLE_API_KEY";
133-
var googleAI = new GoogleAI(apiKey);
133+
var googleAI = new GoogleAi(apiKey);
134134

135135
var googleModel = googleAI.CreateGenerativeModel("models/gemini-1.5-flash");
136136
var googleResponse = await googleModel.GenerateContentAsync("How is the weather today?");
@@ -195,8 +195,8 @@ Below is an example using the model name "gemini-1.5-flash":
195195
```csharp
196196
// Example: Starting a chat session with a Google AI GenerativeModel
197197
198-
// 1) Initialize your AI instance (GoogleAI) with credentials or environment variables
199-
var googleAI = new GoogleAI("YOUR_GOOGLE_API_KEY");
198+
// 1) Initialize your AI instance (GoogleAi) with credentials or environment variables
199+
var googleAI = new GoogleAi("YOUR_GOOGLE_API_KEY");
200200

201201
// 2) Create a GenerativeModel using the model name "gemini-1.5-flash"
202202
var generativeModel = googleAI.CreateGenerativeModel("models/gemini-1.5-flash");
@@ -728,4 +728,4 @@ We encourage you to explore the wiki to unlock the full potential of the Generat
728728

729729
---
730730
Feel free to open an issue or submit a pull request if you encounter any problems or want to propose improvements! Your
731-
feedback helps us continue to refine and expand this SDK.
731+
feedback helps us continue to refine and expand this SDK.

0 commit comments

Comments
 (0)