Skip to content
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

Introduce FunctionCall and FunctionResponse types #6311

Merged
merged 4 commits into from
Sep 27, 2024
Merged

Conversation

rlazo
Copy link
Collaborator

@rlazo rlazo commented Sep 25, 2024

Their *part counter parts will now wrap them, instead of exposing the underlying structure directly.

Their *part counter parts will now wrap them, instead of exposing the
underlying structure directly.
Copy link
Contributor

github-actions bot commented Sep 25, 2024

Javadoc Changes:
--- /home/runner/diff/original/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml	2024-09-27 19:31:36.238199353 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml	2024-09-27 19:29:24.535152972 +0000
@@ -59,12 +59,16 @@
       path: "/docs/reference/android/com/google/firebase/vertexai/type/CountTokensResponse.html"
     - title: "FileDataPart"
       path: "/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.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	1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCall.html	2024-09-27 19:29:24.532152972 +0000
@@ -0,0 +1,114 @@
+<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-09-27 19:31:36.233199352 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-09-27 19:29:24.530152971 +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 function call name and params received from requests.</p>
+    <p>Represents a function call request from the model</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -26,17 +26,10 @@
         </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/java/lang/String.html">String</a>&gt;</code></td>
+            <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>
-              <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>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -56,7 +49,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <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/java/lang/String.html">String</a>&gt;&nbsp;args<br>)</code></div>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -64,22 +57,17 @@
     </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/java/lang/String.html">String</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 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>
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <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/java/lang/String.html">String</a>&gt;&nbsp;args<br>)</pre>
+      <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="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -93,15 +81,9 @@
             </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/java/lang/String.html">String</a>&gt;&nbsp;args</code></td>
+                <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>
-                  <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>
+                  <p>The information provided by the model to call a function.</p>
                 </td>
               </tr>
             </tbody>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponse.html	1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponse.html	2024-09-27 19:29:24.529152971 +0000
@@ -0,0 +1,114 @@
+<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-09-27 19:31:36.233199352 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-09-27 19:29:24.529152971 +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>Represents function call output to be returned to the model when it requests a function call.</p>
+    <p>The result of calling a function as requested by the model.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -26,17 +26,10 @@
         </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><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>
-              <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="https://developer.android.com/reference/kotlin/org/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>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -56,7 +49,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html#FunctionResponsePart(kotlin.String,org.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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a>&nbsp;response)</code></div>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -64,22 +57,17 @@
     </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/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="https://developer.android.com/reference/kotlin/org/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 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>
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponsePart(kotlin.String, org.json.JSONObject)"></a><a name="FunctionResponsePart-kotlin.String-org.json.JSONObject-"></a><a name="functionresponsepart"></a>
-        <h3 class="api-name" id="FunctionResponsePart(kotlin.String,org.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,org.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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a>&nbsp;response)</pre>
+      <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="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -93,15 +81,9 @@
             </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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a>&nbsp;response</code></td>
+                <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>
-                  <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>
+                  <p>The information to send back to the model as the result of a functions call.</p>
                 </td>
               </tr>
             </tbody>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html	2024-09-27 19:31:36.233199352 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html	2024-09-27 19:29:24.530152971 +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 function call name and params received from requests.</p>
+                  <p>Represents a function call request from the model</p>
                 </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
                 <td>
-                  <p>Represents function call output to be returned to the model when it requests a function call.</p>
+                  <p>The result of calling a function as requested by the model.</p>
                 </td>
               </tr>
               <tr>
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html	2024-09-27 19:31:36.233199352 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html	2024-09-27 19:29:24.530152971 +0000
@@ -78,9 +78,15 @@
             </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 function call name and params received from requests.</p>
+              <p>Represents a function call request from the model</p>
             </td>
           </tr>
           <tr>
@@ -96,9 +102,15 @@
             </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>Represents function call output to be returned to the model when it requests a function call.</p>
+              <p>The result of calling a function as requested by the model.</p>
             </td>
           </tr>
           <tr>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml	2024-09-27 19:31:36.231199351 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml	2024-09-27 19:29:24.527152970 +0000
@@ -55,12 +55,16 @@
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/CountTokensResponse.html"
     - title: "FileDataPart"
       path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.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	1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCall.html	2024-09-27 19:29:24.525152970 +0000
@@ -0,0 +1,114 @@
+<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-09-27 19:31:36.227199349 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html	2024-09-27 19:29:24.523152969 +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 function call name and params received from requests.</p>
+    <p>Represents a function call request from the model</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(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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?&gt;)</code></div>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -46,17 +46,10 @@
         </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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?&gt;</code></td>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
             <td>
-              <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>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -64,9 +57,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?&gt;)</pre>
+      <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="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -80,15 +73,9 @@
             </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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?&gt;</code></td>
+                <td><code>functionCall:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></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>
+                  <p>The information provided by the model to call a function.</p>
                 </td>
               </tr>
             </tbody>
@@ -98,15 +85,10 @@
     </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/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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</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 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>
     </div>
   </body>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html	1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html	2024-09-27 19:29:24.522152969 +0000
@@ -0,0 +1,114 @@
+<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-09-27 19:31:36.226199349 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html	2024-09-27 19:29:24.523152969 +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>Represents function call output to be returned to the model when it requests a function call.</p>
+    <p>The result of calling a function as requested by the model.</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(kotlin.String,org.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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a>)</code></div>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -46,17 +46,10 @@
         </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><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
             <td>
-              <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="https://developer.android.com/reference/kotlin/org/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>
+              <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>
             </td>
           </tr>
         </tbody>
@@ -64,9 +57,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="FunctionResponsePart(kotlin.String, org.json.JSONObject)"></a><a name="FunctionResponsePart-kotlin.String-org.json.JSONObject-"></a><a name="functionresponsepart"></a>
-        <h3 class="api-name" id="FunctionResponsePart(kotlin.String,org.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,org.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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a>)</pre>
+      <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="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
@@ -80,15 +73,9 @@
             </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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></td>
+                <td><code>functionResponse:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
                 <td>
-                  <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>
+                  <p>The information to send back to the model as the result of a functions call.</p>
                 </td>
               </tr>
             </tbody>
@@ -98,15 +85,10 @@
     </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/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="https://developer.android.com/reference/kotlin/org/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 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>
     </div>
   </body>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html	2024-09-27 19:31:36.227199349 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html	2024-09-27 19:29:24.523152969 +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 function call name and params received from requests.</p>
+                  <p>Represents a function call request from the model</p>
                 </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a></code></td>
                 <td>
-                  <p>Represents function call output to be returned to the model when it requests a function call.</p>
+                  <p>The result of calling a function as requested by the model.</p>
                 </td>
               </tr>
               <tr>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html	2024-09-27 19:31:36.227199349 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html	2024-09-27 19:29:24.523152969 +0000
@@ -74,9 +74,15 @@
             </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 function call name and params received from requests.</p>
+              <p>Represents a function call request from the model</p>
             </td>
           </tr>
           <tr>
@@ -92,9 +98,15 @@
             </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>Represents function call output to be returned to the model when it requests a function call.</p>
+              <p>The result of calling a function as requested by the model.</p>
             </td>
           </tr>
           <tr>

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 25, 2024

@rlazo rlazo added this to the vertexai-ga milestone Sep 25, 2024
Copy link
Contributor

github-actions bot commented Sep 25, 2024

Unit Test Results

  16 files    16 suites   15s ⏱️
107 tests 107 ✔️ 0 💤 0
214 runs  214 ✔️ 0 💤 0

Results for commit e64ff6b.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • firebase-vertexai

    TypeBase (552132b)Merge (c1f9e86)Diff
    aar474 kB476 kB+2.19 kB (+0.5%)
    apk (release)9.29 MB9.30 MB+1.60 kB (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/FTqvuam9OU.html

@rlazo
Copy link
Collaborator Author

rlazo commented Sep 26, 2024

friendly ping

@rlazo rlazo requested a review from daymxn September 26, 2024 14:55
@rlazo rlazo merged commit 7bab838 into main Sep 27, 2024
27 checks passed
@rlazo rlazo deleted the rl.function.call.wrap branch September 27, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants