-
Notifications
You must be signed in to change notification settings - Fork 626
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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><@<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>, @<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>></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> @<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> name,<br> @<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><@<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>, @<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>> 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 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><@<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>, @<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>> <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 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> <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 <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCall.html#FunctionCall(kotlin.String,kotlin.collections.Map)">FunctionCall</a>(<br> @<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> name,<br> @<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><@<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>, @<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>> 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> 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><@<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>, @<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>> 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><@<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>, @<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>></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> 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> @<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> name,<br> @<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><@<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>, @<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>> 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 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> <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 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><@<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>, @<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>> <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 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> <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 <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> 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 <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html#FunctionCallPart(kotlin.String,kotlin.collections.Map)">FunctionCallPart</a>(<br> @<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> name,<br> @<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><@<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>, @<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>> 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> 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> 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><@<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>, @<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>> 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> name, @<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> 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 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> <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 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> <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 <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> name, @<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> 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> 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> 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> 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> name, @<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> 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 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> <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 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> <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 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> <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 <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> 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 <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> name, @<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> 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> 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> 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> 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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, args: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>></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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, args: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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>
- </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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#args()">args</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html#name()">name</a>: <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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, args: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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/FunctionCall.html">FunctionCall</a></code></td>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>></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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, args: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>>)</pre>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
@@ -73,9 +80,15 @@
</thead>
<tbody class="list">
<tr>
- <td><code>functionCall: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCall.html">FunctionCall</a></code></td>
+ <td><code>name: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</a>></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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#functionCall()">functionCall</a>: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#args()">args</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <a href="/docs/reference/kotlin/kotlinx/serialization/json/JsonElement.html">JsonElement</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">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html#name()">name</a>: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <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: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#name()">name</a>: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html#response()">response</a>: <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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponse.html">FunctionResponse</a></code></td>
+ <td><code>name: <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: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#functionResponse()">functionResponse</a>: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#name()">name</a>: <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 <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html#response()">response</a>: <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> |
Test Results 20 files - 985 20 suites - 985 15s ⏱️ - 34m 47s Results for commit 9d951c7. ± Comparison against base commit d6ee0d2. This pull request removes 5697 tests.
|
emilypgoogle
approved these changes
Oct 9, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This better aligns FunctionCallParts with the other Parts.