Skip to content

Commit b171559

Browse files
jaycee-licopybara-github
authored andcommitted
chore: Internal cleanup
PiperOrigin-RevId: 919827744
1 parent c74822e commit b171559

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

Google.GenAI/types/FunctionCall.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@
2323

2424
namespace Google.GenAI.Types {
2525
/// <summary>
26-
/// A function call.
26+
/// A predicted FunctionCall returned from the model that contains a string representing the
27+
/// FunctionDeclaration.name and a structured JSON object containing the parameters and their
28+
/// values.
2729
/// </summary>
2830

2931
public record FunctionCall {
3032
/// <summary>
31-
/// The unique id of the function call. If populated, the client to execute the `function_call`
32-
/// and return the response with the matching `id`.
33+
/// Optional. The unique id of the function call. If populated, the client to execute the
34+
/// `function_call` and return the response with the matching `id`.
3335
/// </summary>
3436
[JsonPropertyName("id")]
3537
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]

Google.GenAI/types/LatLng.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323

2424
namespace Google.GenAI.Types {
2525
/// <summary>
26-
/// An object that represents a latitude/longitude pair. This is expressed as a pair of doubles
27-
/// to represent degrees latitude and degrees longitude. Unless specified otherwise, this object
28-
/// must conform to the &lt;a
29-
/// href="https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version"&gt; WGS84
30-
/// standard&lt;/a&gt;. Values must be within normalized ranges.
26+
/// An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to
27+
/// represent degrees latitude and degrees longitude. Unless specified otherwise, this object must
28+
/// conform to the WGS84 standard. Values must be within normalized ranges.
3129
/// </summary>
3230

3331
public record LatLng {
@@ -39,7 +37,7 @@ public record LatLng {
3937
public double ? Latitude { get; set; }
4038

4139
/// <summary>
42-
/// The longitude in degrees. It must be in the range [-180.0, +180.0]
40+
/// The longitude in degrees. It must be in the range [-180.0, +180.0].
4341
/// </summary>
4442
[JsonPropertyName("longitude")]
4543
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]

Google.GenAI/types/RetrievalConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Google.GenAI.Types {
2828

2929
public record RetrievalConfig {
3030
/// <summary>
31-
/// Optional. The location of the user.
31+
/// The location of the user.
3232
/// </summary>
3333
[JsonPropertyName("latLng")]
3434
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]

Google.GenAI/types/ToolConfig.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
namespace Google.GenAI.Types {
2525
/// <summary>
26-
/// Tool config. This config is shared for all tools provided in the request.
26+
/// Tool config. This config is shared for all tools provided in the request.
2727
/// </summary>
2828

2929
public record ToolConfig {
@@ -45,8 +45,9 @@ public FunctionCallingConfig
4545
}
4646

4747
/// <summary>
48-
/// If true, the API response will include the server-side tool calls and responses within the
49-
/// `Content` message. This allows clients to observe the server's tool invocations.
48+
/// Optional. If true, the API response will include the server-side tool calls and responses
49+
/// within the `Content` message. This allows clients to observe the server's tool interactions.
50+
/// This field is not supported in Vertex AI.
5051
/// </summary>
5152
[JsonPropertyName("includeServerSideToolInvocations")]
5253
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]

0 commit comments

Comments
 (0)