Skip to content

Revert "Introduce FunctionCall and FunctionResponse types (#6311)" #6360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

rlazo
Copy link
Collaborator

@rlazo rlazo commented Oct 9, 2024

This better aligns FunctionCallParts with the other Parts.

@rlazo rlazo requested review from daymxn and emilypgoogle October 9, 2024 14:50
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Javadoc Changes:
--- /home/runner/diff/original/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml	2024-10-09 14:54:47.483392287 +0000
@@ -60,16 +60,12 @@
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html"
     - title: "FinishReason"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FinishReason.html"
-    - title: "FunctionCall"
-      path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html"
     - title: "FunctionCallPart"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html"
     - title: "FunctionCallingConfig"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html"
     - title: "FunctionDeclaration"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionDeclaration.html"
-    - title: "FunctionResponse"
-      path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html"
     - title: "FunctionResponsePart"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html"
     - title: "GenerateContentResponse"
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCall.html	2024-10-09 14:56:48.959555162 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCall.html	1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
-  <head>
-    <title>FunctionCall</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/android/_reference-head-tags.html" %}
-  </head>
-  <body>
-    <div id="metadata-info-block"></div>
-    <h1>FunctionCall</h1>
-    <p>
-      <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></pre>
-    </p>
-    <hr>
-    <p>The data necessary to invoke function <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code> using the arguments <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code>.</p>
-    <h2>Summary</h2>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public fields</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code></div>
-              <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-            </td>
-          </tr>
-          <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code></div>
-              <p>the name of the function to call</p>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public constructors</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args<br>)</code></div>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="list">
-      <h2>Public fields</h2>
-      <div class="api-item"><a name="getArgs()"></a><a name="setArgs()"></a><a name="getArgs--"></a><a name="setArgs--"></a>
-        <h3 class="api-name" id="args()">args</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></pre>
-        <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-      </div>
-      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
-        <h3 class="api-name" id="name()">name</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></pre>
-        <p>the name of the function to call</p>
-      </div>
-    </div>
-    <div class="list">
-      <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionCall(kotlin.String, kotlin.collections.Map)"></a><a name="FunctionCall-kotlin.String-kotlin.collections.Map-"></a><a name="functioncall"></a>
-        <h3 class="api-name" id="FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args<br>)</pre>
-        <div class="devsite-table-wrapper">
-          <table class="responsive">
-            <colgroup>
-              <col width="40%">
-              <col>
-            </colgroup>
-            <thead>
-              <tr>
-                <th colspan="100%">Parameters</th>
-              </tr>
-            </thead>
-            <tbody class="list">
-              <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name</code></td>
-                <td>
-                  <p>the name of the function to call</p>
-                </td>
-              </tr>
-              <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args</code></td>
-                <td>
-                  <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-                </td>
-              </tr>
-            </tbody>
-          </table>
-        </div>
-      </div>
-    </div>
-  </body>
-</html>
-
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-10-09 14:56:48.959555162 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-10-09 14:54:47.487392290 +0000
@@ -11,7 +11,7 @@
       <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a> implements <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
     </p>
     <hr>
-    <p>Represents a function call request from the model</p>
+    <p>Represents function call name and params received from requests.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -26,10 +26,17 @@
         </thead>
         <tbody class="list">
           <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
+            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#functionCall()">functionCall</a></code></div>
-              <p>The information provided by the model to call a function.</p>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#args()">args</a></code></div>
+              <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
+            </td>
+          </tr>
+          <tr>
+            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#name()">name</a></code></div>
+              <p>the name of the function to call</p>
             </td>
           </tr>
         </tbody>
@@ -49,7 +56,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>&nbsp;functionCall)</code></div>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args<br>)</code></div>
             </td>
           </tr>
         </tbody>
@@ -57,17 +64,22 @@
     </div>
     <div class="list">
       <h2>Public fields</h2>
-      <div class="api-item"><a name="getFunctionCall()"></a><a name="setFunctionCall()"></a><a name="getFunctionCall--"></a><a name="setFunctionCall--"></a>
-        <h3 class="api-name" id="functionCall()">functionCall</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#functionCall()">functionCall</a></pre>
-        <p>The information provided by the model to call a function.</p>
+      <div class="api-item"><a name="getArgs()"></a><a name="setArgs()"></a><a name="getArgs--"></a><a name="setArgs--"></a>
+        <h3 class="api-name" id="args()">args</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#args()">args</a></pre>
+        <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
+      </div>
+      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
+        <h3 class="api-name" id="name()">name</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#name()">name</a></pre>
+        <p>the name of the function to call</p>
       </div>
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionCallPart-com.google.firebase.vertexai.type.FunctionCall-"></a><a name="functioncallpart"></a>
-        <h3 class="api-name" id="FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>&nbsp;functionCall)</pre>
+      <div class="api-item"><a name="FunctionCallPart(kotlin.String, kotlin.collections.Map)"></a><a name="FunctionCallPart-kotlin.String-kotlin.collections.Map-"></a><a name="functioncallpart"></a>
+        <h3 class="api-name" id="FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args<br>)</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -81,9 +93,15 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>&nbsp;functionCall</code></td>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name</code></td>
+                <td>
+                  <p>the name of the function to call</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/Map.html">Map</a>&lt;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;&nbsp;args</code></td>
                 <td>
-                  <p>The information provided by the model to call a function.</p>
+                  <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
                 </td>
               </tr>
             </tbody>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponse.html	2024-10-09 14:56:48.959555162 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponse.html	1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
-  <head>
-    <title>FunctionResponse</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/android/_reference-head-tags.html" %}
-  </head>
-  <body>
-    <div id="metadata-info-block"></div>
-    <h1>FunctionResponse</h1>
-    <p>
-      <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></pre>
-    </p>
-    <hr>
-    <p>The <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code> generated after calling function <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code>.</p>
-    <h2>Summary</h2>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public fields</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code></div>
-              <p>the name of the called function</p>
-            </td>
-          </tr>
-          <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code></div>
-              <p>the response produced by the function as a <code><a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public constructors</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response)</code></div>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="list">
-      <h2>Public fields</h2>
-      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
-        <h3 class="api-name" id="name()">name</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></pre>
-        <p>the name of the called function</p>
-      </div>
-      <div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
-        <h3 class="api-name" id="response()">response</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></pre>
-        <p>the response produced by the function as a <code><a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-      </div>
-    </div>
-    <div class="list">
-      <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponse(kotlin.String, kotlinx.serialization.json.JsonObject)"></a><a name="FunctionResponse-kotlin.String-kotlinx.serialization.json.JsonObject-"></a><a name="functionresponse"></a>
-        <h3 class="api-name" id="FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response)</pre>
-        <div class="devsite-table-wrapper">
-          <table class="responsive">
-            <colgroup>
-              <col width="40%">
-              <col>
-            </colgroup>
-            <thead>
-              <tr>
-                <th colspan="100%">Parameters</th>
-              </tr>
-            </thead>
-            <tbody class="list">
-              <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name</code></td>
-                <td>
-                  <p>the name of the called function</p>
-                </td>
-              </tr>
-              <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response</code></td>
-                <td>
-                  <p>the response produced by the function as a <code><a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-                </td>
-              </tr>
-            </tbody>
-          </table>
-        </div>
-      </div>
-    </div>
-  </body>
-</html>
-
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-10-09 14:56:48.959555162 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-10-09 14:54:47.487392290 +0000
@@ -11,7 +11,7 @@
       <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a> implements <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
     </p>
     <hr>
-    <p>The result of calling a function as requested by the model.</p>
+    <p>Represents function call output to be returned to the model when it requests a function call.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -26,10 +26,17 @@
         </thead>
         <tbody class="list">
           <tr>
-            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
+            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#functionResponse()">functionResponse</a></code></div>
-              <p>The information to send back to the model as the result of a functions call.</p>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#name()">name</a></code></div>
+              <p>the name of the called function</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#response()">response</a></code></div>
+              <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
             </td>
           </tr>
         </tbody>
@@ -49,7 +56,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>&nbsp;functionResponse)</code></div>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response)</code></div>
             </td>
           </tr>
         </tbody>
@@ -57,17 +64,22 @@
     </div>
     <div class="list">
       <h2>Public fields</h2>
-      <div class="api-item"><a name="getFunctionResponse()"></a><a name="setFunctionResponse()"></a><a name="getFunctionResponse--"></a><a name="setFunctionResponse--"></a>
-        <h3 class="api-name" id="functionResponse()">functionResponse</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#functionResponse()">functionResponse</a></pre>
-        <p>The information to send back to the model as the result of a functions call.</p>
+      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
+        <h3 class="api-name" id="name()">name</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#name()">name</a></pre>
+        <p>the name of the called function</p>
+      </div>
+      <div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
+        <h3 class="api-name" id="response()">response</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#response()">response</a></pre>
+        <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
       </div>
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponsePart-com.google.firebase.vertexai.type.FunctionResponse-"></a><a name="functionresponsepart"></a>
-        <h3 class="api-name" id="FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>&nbsp;functionResponse)</pre>
+      <div class="api-item"><a name="FunctionResponsePart(kotlin.String, kotlinx.serialization.json.JsonObject)"></a><a name="FunctionResponsePart-kotlin.String-kotlinx.serialization.json.JsonObject-"></a><a name="functionresponsepart"></a>
+        <h3 class="api-name" id="FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response)</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -81,9 +93,15 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>&nbsp;functionResponse</code></td>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;name</code></td>
+                <td>
+                  <p>the name of the called function</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/kotlinx/serialization/json/JsonObject.html">JsonObject</a>&nbsp;response</code></td>
                 <td>
-                  <p>The information to send back to the model as the result of a functions call.</p>
+                  <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
                 </td>
               </tr>
             </tbody>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html	2024-10-09 14:56:48.963555169 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html	2024-10-09 14:54:47.491392293 +0000
@@ -30,13 +30,13 @@
               <tr>
                 <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a></code></td>
                 <td>
-                  <p>Represents a function call request from the model</p>
+                  <p>Represents function call name and params received from requests.</p>
                 </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
                 <td>
-                  <p>The result of calling a function as requested by the model.</p>
+                  <p>Represents function call output to be returned to the model when it requests a function call.</p>
                 </td>
               </tr>
               <tr>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html	2024-10-09 14:56:48.959555162 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html	2024-10-09 14:54:47.487392290 +0000
@@ -90,15 +90,9 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
-            <td>
-              <p>The data necessary to invoke function <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code> using the arguments <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code>.</p>
-            </td>
-          </tr>
-          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a></code></td>
             <td>
-              <p>Represents a function call request from the model</p>
+              <p>Represents function call name and params received from requests.</p>
             </td>
           </tr>
           <tr>
@@ -114,15 +108,9 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
-            <td>
-              <p>The <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code> generated after calling function <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code>.</p>
-            </td>
-          </tr>
-          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
             <td>
-              <p>The result of calling a function as requested by the model.</p>
+              <p>Represents function call output to be returned to the model when it requests a function call.</p>
             </td>
           </tr>
           <tr>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml	2024-10-09 14:56:48.951555150 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml	2024-10-09 14:54:47.479392286 +0000
@@ -56,16 +56,12 @@
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html"
     - title: "FinishReason"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FinishReason.html"
-    - title: "FunctionCall"
-      path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html"
     - title: "FunctionCallPart"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html"
     - title: "FunctionCallingConfig"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html"
     - title: "FunctionDeclaration"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html"
-    - title: "FunctionResponse"
-      path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html"
     - title: "FunctionResponsePart"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html"
     - title: "GenerateContentResponse"
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCall.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCall.html	1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
-  <head>
-    <title>FunctionCall</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/kotlin/_reference-head-tags.html" %}
-  </head>
-  <body>
-    <div id="metadata-info-block"></div>
-    <h1>FunctionCall</h1>
-    <p>
-      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></pre>
-    </p>
-    <hr>
-    <p>The data necessary to invoke function <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code> using the arguments <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code>.</p>
-    <h2>Summary</h2>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public constructors</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;)</code></div>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public properties</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code></div>
-              <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-            </td>
-          </tr>
-          <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code></div>
-              <p>the name of the function to call</p>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="list">
-      <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionCall(kotlin.String, kotlin.collections.Map)"></a><a name="FunctionCall-kotlin.String-kotlin.collections.Map-"></a><a name="functioncall"></a>
-        <h3 class="api-name" id="FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</h3>
-        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;)</pre>
-        <div class="devsite-table-wrapper">
-          <table class="responsive">
-            <colgroup>
-              <col width="40%">
-              <col>
-            </colgroup>
-            <thead>
-              <tr>
-                <th colspan="100%">Parameters</th>
-              </tr>
-            </thead>
-            <tbody class="list">
-              <tr>
-                <td><code>name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
-                <td>
-                  <p>the name of the function to call</p>
-                </td>
-              </tr>
-              <tr>
-                <td><code>args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
-                <td>
-                  <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-                </td>
-              </tr>
-            </tbody>
-          </table>
-        </div>
-      </div>
-    </div>
-    <div class="list">
-      <h2>Public properties</h2>
-      <div class="api-item"><a name="getArgs()"></a><a name="setArgs()"></a><a name="getArgs--"></a><a name="setArgs--"></a>
-        <h3 class="api-name" id="args()">args</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</pre>
-        <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
-      </div>
-      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
-        <h3 class="api-name" id="name()">name</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
-        <p>the name of the function to call</p>
-      </div>
-    </div>
-  </body>
-</html>
-
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-10-09 14:54:47.479392286 +0000
@@ -11,7 +11,7 @@
       <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a> : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
     </p>
     <hr>
-    <p>Represents a function call request from the model</p>
+    <p>Represents function call name and params received from requests.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -27,7 +27,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</a>(functionCall:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>)</code></div>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;)</code></div>
             </td>
           </tr>
         </tbody>
@@ -46,10 +46,17 @@
         </thead>
         <tbody class="list">
           <tr>
-            <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#functionCall()">functionCall</a></code></div>
-              <p>The information provided by the model to call a function.</p>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#args()">args</a></code></div>
+              <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#name()">name</a></code></div>
+              <p>the name of the function to call</p>
             </td>
           </tr>
         </tbody>
@@ -57,9 +64,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionCallPart-com.google.firebase.vertexai.type.FunctionCall-"></a><a name="functioncallpart"></a>
-        <h3 class="api-name" id="FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</h3>
-        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(com.google.firebase.vertexai.type.FunctionCall)">FunctionCallPart</a>(functionCall:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a>)</pre>
+      <div class="api-item"><a name="FunctionCallPart(kotlin.String, kotlin.collections.Map)"></a><a name="FunctionCallPart-kotlin.String-kotlin.collections.Map-"></a><a name="functioncallpart"></a>
+        <h3 class="api-name" id="FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</h3>
+        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;)</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -73,9 +80,15 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>functionCall:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
+                <td><code>name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+                <td>
+                  <p>the name of the function to call</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code>args:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</code></td>
                 <td>
-                  <p>The information provided by the model to call a function.</p>
+                  <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
                 </td>
               </tr>
             </tbody>
@@ -85,10 +98,15 @@
     </div>
     <div class="list">
       <h2>Public properties</h2>
-      <div class="api-item"><a name="getFunctionCall()"></a><a name="setFunctionCall()"></a><a name="getFunctionCall--"></a><a name="setFunctionCall--"></a>
-        <h3 class="api-name" id="functionCall()">functionCall</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#functionCall()">functionCall</a>:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></pre>
-        <p>The information provided by the model to call a function.</p>
+      <div class="api-item"><a name="getArgs()"></a><a name="setArgs()"></a><a name="getArgs--"></a><a name="setArgs--"></a>
+        <h3 class="api-name" id="args()">args</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#args()">args</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>&gt;</pre>
+        <p>the function parameters and values as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a></code></p>
+      </div>
+      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
+        <h3 class="api-name" id="name()">name</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#name()">name</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
+        <p>the name of the function to call</p>
       </div>
     </div>
   </body>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html	1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
-  <head>
-    <title>FunctionResponse</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/kotlin/_reference-head-tags.html" %}
-  </head>
-  <body>
-    <div id="metadata-info-block"></div>
-    <h1>FunctionResponse</h1>
-    <p>
-      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></pre>
-    </p>
-    <hr>
-    <p>The <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code> generated after calling function <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code>.</p>
-    <h2>Summary</h2>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public constructors</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a>)</code></div>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="devsite-table-wrapper">
-      <table class="responsive">
-        <colgroup>
-          <col width="40%">
-          <col>
-        </colgroup>
-        <thead>
-          <tr>
-            <th colspan="100%"><h3>Public properties</h3></th>
-          </tr>
-        </thead>
-        <tbody class="list">
-          <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code></div>
-              <p>the name of the called function</p>
-            </td>
-          </tr>
-          <tr>
-            <td><code><a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
-            <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code></div>
-              <p>the response produced by the function as a <code><a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="list">
-      <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponse(kotlin.String, kotlinx.serialization.json.JsonObject)"></a><a name="FunctionResponse-kotlin.String-kotlinx.serialization.json.JsonObject-"></a><a name="functionresponse"></a>
-        <h3 class="api-name" id="FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</h3>
-        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#FunctionResponse(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponse</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a>)</pre>
-        <div class="devsite-table-wrapper">
-          <table class="responsive">
-            <colgroup>
-              <col width="40%">
-              <col>
-            </colgroup>
-            <thead>
-              <tr>
-                <th colspan="100%">Parameters</th>
-              </tr>
-            </thead>
-            <tbody class="list">
-              <tr>
-                <td><code>name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
-                <td>
-                  <p>the name of the called function</p>
-                </td>
-              </tr>
-              <tr>
-                <td><code>response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
-                <td>
-                  <p>the response produced by the function as a <code><a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-                </td>
-              </tr>
-            </tbody>
-          </table>
-        </div>
-      </div>
-    </div>
-    <div class="list">
-      <h2>Public properties</h2>
-      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
-        <h3 class="api-name" id="name()">name</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
-        <p>the name of the called function</p>
-      </div>
-      <div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
-        <h3 class="api-name" id="response()">response</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a>:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></pre>
-        <p>the response produced by the function as a <code><a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></p>
-      </div>
-    </div>
-  </body>
-</html>
-
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-10-09 14:54:47.479392286 +0000
@@ -11,7 +11,7 @@
       <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a> : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
     </p>
     <hr>
-    <p>The result of calling a function as requested by the model.</p>
+    <p>Represents function call output to be returned to the model when it requests a function call.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -27,7 +27,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</a>(functionResponse:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>)</code></div>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a>)</code></div>
             </td>
           </tr>
         </tbody>
@@ -46,10 +46,17 @@
         </thead>
         <tbody class="list">
           <tr>
-            <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#functionResponse()">functionResponse</a></code></div>
-              <p>The information to send back to the model as the result of a functions call.</p>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#name()">name</a></code></div>
+              <p>the name of the called function</p>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#response()">response</a></code></div>
+              <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
             </td>
           </tr>
         </tbody>
@@ -57,9 +64,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponsePart-com.google.firebase.vertexai.type.FunctionResponse-"></a><a name="functionresponsepart"></a>
-        <h3 class="api-name" id="FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</h3>
-        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(com.google.firebase.vertexai.type.FunctionResponse)">FunctionResponsePart</a>(functionResponse:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a>)</pre>
+      <div class="api-item"><a name="FunctionResponsePart(kotlin.String, kotlinx.serialization.json.JsonObject)"></a><a name="FunctionResponsePart-kotlin.String-kotlinx.serialization.json.JsonObject-"></a><a name="functionresponsepart"></a>
+        <h3 class="api-name" id="FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</h3>
+        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(kotlin.String,kotlinx.serialization.json.JsonObject)">FunctionResponsePart</a>(name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>,&nbsp;response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a>)</pre>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -73,9 +80,15 @@
             </thead>
             <tbody class="list">
               <tr>
-                <td><code>functionResponse:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
+                <td><code>name:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+                <td>
+                  <p>the name of the called function</p>
+                </td>
+              </tr>
+              <tr>
+                <td><code>response:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></code></td>
                 <td>
-                  <p>The information to send back to the model as the result of a functions call.</p>
+                  <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
                 </td>
               </tr>
             </tbody>
@@ -85,10 +98,15 @@
     </div>
     <div class="list">
       <h2>Public properties</h2>
-      <div class="api-item"><a name="getFunctionResponse()"></a><a name="setFunctionResponse()"></a><a name="getFunctionResponse--"></a><a name="setFunctionResponse--"></a>
-        <h3 class="api-name" id="functionResponse()">functionResponse</h3>
-        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#functionResponse()">functionResponse</a>:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></pre>
-        <p>The information to send back to the model as the result of a functions call.</p>
+      <div class="api-item"><a name="getName()"></a><a name="setName()"></a><a name="getName--"></a><a name="setName--"></a>
+        <h3 class="api-name" id="name()">name</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#name()">name</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
+        <p>the name of the called function</p>
+      </div>
+      <div class="api-item"><a name="getResponse()"></a><a name="setResponse()"></a><a name="getResponse--"></a><a name="setResponse--"></a>
+        <h3 class="api-name" id="response()">response</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#response()">response</a>:&nbsp;<a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonObject.html">JsonObject</a></pre>
+        <p>the response produced by the function as a <code><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></p>
       </div>
     </div>
   </body>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html	2024-10-09 14:54:47.483392287 +0000
@@ -30,13 +30,13 @@
               <tr>
                 <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a></code></td>
                 <td>
-                  <p>Represents a function call request from the model</p>
+                  <p>Represents function call name and params received from requests.</p>
                 </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
                 <td>
-                  <p>The result of calling a function as requested by the model.</p>
+                  <p>Represents function call output to be returned to the model when it requests a function call.</p>
                 </td>
               </tr>
               <tr>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html	2024-10-09 14:56:48.955555156 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html	2024-10-09 14:54:47.479392286 +0000
@@ -86,15 +86,9 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
-            <td>
-              <p>The data necessary to invoke function <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a></code> using the arguments <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a></code>.</p>
-            </td>
-          </tr>
-          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a></code></td>
             <td>
-              <p>Represents a function call request from the model</p>
+              <p>Represents function call name and params received from requests.</p>
             </td>
           </tr>
           <tr>
@@ -110,15 +104,9 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
-            <td>
-              <p>The <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a></code> generated after calling function <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a></code>.</p>
-            </td>
-          </tr>
-          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
             <td>
-              <p>The result of calling a function as requested by the model.</p>
+              <p>Represents function call output to be returned to the model when it requests a function call.</p>
             </td>
           </tr>
           <tr>

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Test Results

 20 files   -    985   20 suites   - 985   15s ⏱️ - 34m 47s
112 tests  -  5 697  112 ✅  -  5 674  0 💤  - 22  0 ❌  - 1 
224 runs   - 11 291  224 ✅  - 11 246  0 💤  - 44  0 ❌  - 1 

Results for commit 9d951c7. ± Comparison against base commit d6ee0d2.

This pull request removes 5697 tests.
com.google.android.datatransport.cct.CctBackendFactoryTest ‑ create_returnCCTBackend_WhenBackendNameIsCCT
com.google.android.datatransport.cct.CctDestinationTest ‑ cctDestination_shouldOnlySupportProtoAndJson
com.google.android.datatransport.cct.CctDestinationTest ‑ cctDestination_shouldSupportProtoAndJson
com.google.android.datatransport.cct.CctTransportBackendTest ‑ decorate_whenOffline_shouldProperlyPopulateNetworkInfo
com.google.android.datatransport.cct.CctTransportBackendTest ‑ decorate_whenOnline_shouldProperlyPopulateNetworkInfo
com.google.android.datatransport.cct.CctTransportBackendTest ‑ schedule_shouldAddCookieOnPseudonymousIds
com.google.android.datatransport.cct.CctTransportBackendTest ‑ schedule_shouldDropCookieOnMixedPseudonymousIds
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_CompressedResponseIsUncompressed
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_whenBackendRedirectsMoreThan5Times_shouldOnlyRedirect4Times
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_whenBackendRedirects_shouldCorrectlyFollowTheRedirectViaPost
…

@rlazo rlazo enabled auto-merge (squash) October 9, 2024 14:59
@rlazo rlazo merged commit 3271557 into main Oct 9, 2024
29 checks passed
@rlazo rlazo deleted the rl.function.part.revert branch October 9, 2024 15:20
@firebase firebase locked and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants