-
Notifications
You must be signed in to change notification settings - Fork 573
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
Conversation
This file contains 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
Their *part counter parts will now wrap them, instead of exposing the underlying structure directly.
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><@<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-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><@<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/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/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> @<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/java/lang/String.html">String</a>> 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> 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 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/java/lang/String.html">String</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 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>
</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 <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/java/lang/String.html">String</a>> 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 <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="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> 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/java/lang/String.html">String</a>> 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> 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> 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-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> name, @<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> 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> 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 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="https://developer.android.com/reference/kotlin/org/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 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>
</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 <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> name, @<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> 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 <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="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> 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> 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> 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: <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-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: <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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?>)</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: <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><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <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/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: <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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?>)</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: <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: <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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?></code></td>
+ <td><code>functionCall: <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 <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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</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 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>
</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: <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-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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <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: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, response: <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: <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: <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="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a></code></td>
+ <td><code>functionResponse: <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 <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="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 <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>
</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> |
Generated by 🚫 Danger |
Coverage Report 1Affected ProductsNo changes between base commit (552132b) and merge commit (c1f9e86).Test Logs |
Size Report 1Affected Products
Test Logs |
friendly ping |
emilypgoogle
approved these changes
Sep 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Their *part counter parts will now wrap them, instead of exposing the underlying structure directly.