-
Notifications
You must be signed in to change notification settings - Fork 578
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
Improvements to vertexAI types #6309
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
Improve `FunctionCallingConfig`
They use to be at the top level `ToolConfig` class, but they belong at one level below.
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml 2024-09-25 16:42:02.411573243 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/client/firebase-vertexai/_toc.yaml 2024-09-25 16:39:49.317787795 +0000
@@ -43,8 +43,6 @@
- title: "Classes"
section:
- - title: "BlobPart"
- path: "/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html"
- title: "Candidate"
path: "/docs/reference/android/com/google/firebase/vertexai/type/Candidate.html"
- title: "Citation"
@@ -79,6 +77,8 @@
path: "/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfigKt.html"
- title: "ImagePart"
path: "/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html"
+ - title: "InlineDataPart"
+ path: "/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html"
- title: "PartKt"
path: "/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html"
- title: "PromptFeedback"
@@ -111,8 +111,8 @@
path: "/docs/reference/android/com/google/firebase/vertexai/type/BlockReason.html"
- title: "FinishReason"
path: "/docs/reference/android/com/google/firebase/vertexai/type/FinishReason.html"
- - title: "FunctionCallingConfig.Mode"
- path: "/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html"
+ - title: "HarmBlockMethod"
+ path: "/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html"
- title: "HarmBlockThreshold"
path: "/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html"
- title: "HarmCategory" --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/GenerativeModel.html 2024-09-25 16:42:02.404573202 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/GenerativeModel.html 2024-09-25 16:39:49.310787752 +0000
@@ -41,57 +41,6 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public fields</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code>final <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html">GenerationConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#generationConfig()">generationConfig</a></code></div>
- </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/GenerativeModel.html#modelName()">modelName</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code>final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/SafetySetting.html">SafetySetting</a>></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#safetySettings()">safetySettings</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code>final <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.html">Content</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#systemInstruction()">systemInstruction</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code>final <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#toolConfig()">toolConfig</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code>final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/Tool.html">Tool</a>></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#tools()">tools</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 methods</h3></th>
</tr>
</thead>
@@ -170,33 +119,6 @@
</table>
</div>
<div class="list">
- <h2>Public fields</h2>
- <div class="api-item"><a name="getGenerationConfig()"></a><a name="setGenerationConfig()"></a><a name="getGenerationConfig--"></a><a name="setGenerationConfig--"></a>
- <h3 class="api-name" id="generationConfig()">generationConfig</h3>
- <pre class="api-signature no-pretty-print">public final <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html">GenerationConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#generationConfig()">generationConfig</a></pre>
- </div>
- <div class="api-item"><a name="getModelName()"></a><a name="setModelName()"></a><a name="getModelName--"></a><a name="setModelName--"></a>
- <h3 class="api-name" id="modelName()">modelName</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/GenerativeModel.html#modelName()">modelName</a></pre>
- </div>
- <div class="api-item"><a name="getSafetySettings()"></a><a name="setSafetySettings()"></a><a name="getSafetySettings--"></a><a name="setSafetySettings--"></a>
- <h3 class="api-name" id="safetySettings()">safetySettings</h3>
- <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/SafetySetting.html">SafetySetting</a>> <a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#safetySettings()">safetySettings</a></pre>
- </div>
- <div class="api-item"><a name="getSystemInstruction()"></a><a name="setSystemInstruction()"></a><a name="getSystemInstruction--"></a><a name="setSystemInstruction--"></a>
- <h3 class="api-name" id="systemInstruction()">systemInstruction</h3>
- <pre class="api-signature no-pretty-print">public final <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.html">Content</a> <a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#systemInstruction()">systemInstruction</a></pre>
- </div>
- <div class="api-item"><a name="getToolConfig()"></a><a name="setToolConfig()"></a><a name="getToolConfig--"></a><a name="setToolConfig--"></a>
- <h3 class="api-name" id="toolConfig()">toolConfig</h3>
- <pre class="api-signature no-pretty-print">public final <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#toolConfig()">toolConfig</a></pre>
- </div>
- <div class="api-item"><a name="getTools()"></a><a name="setTools()"></a><a name="getTools--"></a><a name="setTools--"></a>
- <h3 class="api-name" id="tools()">tools</h3>
- <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/Tool.html">Tool</a>> <a href="/docs/reference/android/com/google/firebase/vertexai/GenerativeModel.html#tools()">tools</a></pre>
- </div>
- </div>
- <div class="list">
<h2>Public methods</h2>
<div class="api-item"><a name="countTokens-android.graphics.Bitmap-"></a><a name="counttokens"></a>
<h3 class="api-name" id="countTokens(android.graphics.Bitmap)">countTokens</h3> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/BlobPart.html 2024-09-25 16:42:02.405573208 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/BlobPart.html 1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
- <head>
- <title>BlobPart</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/android/_reference-head-tags.html" %}
- </head>
- <body>
- <div id="metadata-info-block"></div>
- <h1>BlobPart</h1>
- <p>
- <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a> implements <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
- </p>
- <hr>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</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> byte[]</code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html#blob()">blob</a></code></div>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/BlobPart.html#mimeType()">mimeType</a></code></div>
- <p>an IANA standard MIME type.</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/BlobPart.html#BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] blob)</code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="list">
- <h2>Public fields</h2>
- <div class="api-item"><a name="getBlob()"></a><a name="setBlob()"></a><a name="getBlob--"></a><a name="setBlob--"></a>
- <h3 class="api-name" id="blob()">blob</h3>
- <pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html#blob()">blob</a></pre>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
- </div>
- <div class="api-item"><a name="getMimeType()"></a><a name="setMimeType()"></a><a name="getMimeType--"></a><a name="setMimeType--"></a>
- <h3 class="api-name" id="mimeType()">mimeType</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/BlobPart.html#mimeType()">mimeType</a></pre>
- <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
- </div>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="BlobPart(kotlin.String, kotlin.ByteArray)"></a><a name="BlobPart-kotlin.String-kotlin.ByteArray-"></a><a name="blobpart"></a>
- <h3 class="api-name" id="BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html#BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] blob)</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> mimeType</code></td>
- <td>
- <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
- </td>
- </tr>
- <tr>
- <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] blob</code></td>
- <td>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </body>
-</html>
- --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Citation.html 2024-09-25 16:42:02.407573220 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Citation.html 2024-09-25 16:39:49.313787770 +0000
@@ -40,6 +40,13 @@
</td>
</tr>
<tr>
+ <td><code>final <a href="https://developer.android.com/reference/kotlin/java/util/Calendar.html">Calendar</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#publicationDate()">publicationDate</a></code></div>
+ <p>Publication date of the attribution, if available.</p>
+ </td>
+ </tr>
+ <tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#startIndex()">startIndex</a></code></div>
@@ -49,6 +56,13 @@
<tr>
<td><code>final <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/Citation.html#title()">title</a></code></div>
+ <p>Title of the attribution.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>final <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/Citation.html#uri()">uri</a></code></div>
<p>A link to the cited source, if available.</p>
</td>
@@ -68,11 +82,21 @@
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#license()">license</a></pre>
<p>The license the cited source work is distributed under, if specified.</p>
</div>
+ <div class="api-item"><a name="getPublicationDate()"></a><a name="setPublicationDate()"></a><a name="getPublicationDate--"></a><a name="setPublicationDate--"></a>
+ <h3 class="api-name" id="publicationDate()">publicationDate</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/util/Calendar.html">Calendar</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#publicationDate()">publicationDate</a></pre>
+ <p>Publication date of the attribution, if available.</p>
+ </div>
<div class="api-item"><a name="getStartIndex()"></a><a name="setStartIndex()"></a><a name="getStartIndex--"></a><a name="setStartIndex--"></a>
<h3 class="api-name" id="startIndex()">startIndex</h3>
<pre class="api-signature no-pretty-print">public final int <a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#startIndex()">startIndex</a></pre>
<p>The inclusive beginning of a sequence in a model response that derives from a cited source.</p>
</div>
+ <div class="api-item"><a name="getTitle()"></a><a name="setTitle()"></a><a name="getTitle--"></a><a name="setTitle--"></a>
+ <h3 class="api-name" id="title()">title</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#title()">title</a></pre>
+ <p>Title of the attribution.</p>
+ </div>
<div class="api-item"><a name="getUri()"></a><a name="setUri()"></a><a name="getUri--"></a><a name="setUri--"></a>
<h3 class="api-name" id="uri()">uri</h3>
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Citation.html#uri()">uri</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Content.Builder.html 2024-09-25 16:42:02.408573226 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Content.Builder.html 2024-09-25 16:39:49.315787783 +0000
@@ -77,22 +77,22 @@
<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/Content.Builder.html">Content.Builder</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addBlob(kotlin.String,kotlin.ByteArray)">addBlob</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] blob)</code></div>
- <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addFileData(kotlin.String,kotlin.String)">addFileData</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> uri, @<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> mimeType)</code></div>
+ <p>Wraps the provided Google Cloud Storage for Firebase <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#fileData(kotlin.String,kotlin.String)">uri</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#fileData(kotlin.String,kotlin.String)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</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/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addFileData(kotlin.String,kotlin.String)">addFileData</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> uri, @<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> mimeType)</code></div>
- <p>Wraps the provided Google Cloud Storage for Firebase <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#fileData(kotlin.String,kotlin.String)">uri</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#fileData(kotlin.String,kotlin.String)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addImage(android.graphics.Bitmap)">addImage</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a> image)</code></div>
+ <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#image(android.graphics.Bitmap)">image</a></code> inside an <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</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/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addImage(android.graphics.Bitmap)">addImage</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a> image)</code></div>
- <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#image(android.graphics.Bitmap)">image</a></code> inside an <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addInlineData(kotlin.String,kotlin.ByteArray)">addInlineData</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] bytes)</code></div>
+ <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">bytes</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
</td>
</tr>
<tr>
@@ -142,11 +142,6 @@
</div>
<div class="list">
<h2>Public methods</h2>
- <div class="api-item"><a name="addBlob(kotlin.String, kotlin.ByteArray)"></a><a name="addBlob-kotlin.String-kotlin.ByteArray-"></a><a name="addblob"></a>
- <h3 class="api-name" id="addBlob(kotlin.String,kotlin.ByteArray)">addBlob</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/Content.Builder.html">Content.Builder</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addBlob(kotlin.String,kotlin.ByteArray)">addBlob</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] blob)</pre>
- <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
- </div>
<div class="api-item"><a name="addFileData(kotlin.String, kotlin.String)"></a><a name="addFileData-kotlin.String-kotlin.String-"></a><a name="addfiledata"></a>
<h3 class="api-name" id="addFileData(kotlin.String,kotlin.String)">addFileData</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/Content.Builder.html">Content.Builder</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addFileData(kotlin.String,kotlin.String)">addFileData</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> uri, @<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> mimeType)</pre>
@@ -157,6 +152,11 @@
<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/Content.Builder.html">Content.Builder</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addImage(android.graphics.Bitmap)">addImage</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a> image)</pre>
<p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#image(android.graphics.Bitmap)">image</a></code> inside an <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
</div>
+ <div class="api-item"><a name="addInlineData(kotlin.String, kotlin.ByteArray)"></a><a name="addInlineData-kotlin.String-kotlin.ByteArray-"></a><a name="addinlinedata"></a>
+ <h3 class="api-name" id="addInlineData(kotlin.String,kotlin.ByteArray)">addInlineData</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/Content.Builder.html">Content.Builder</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addInlineData(kotlin.String,kotlin.ByteArray)">addInlineData</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] bytes)</pre>
+ <p>Wraps the provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">bytes</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> and adds it to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ </div>
<div class="api-item"><a name="addPart-com.google.firebase.vertexai.type.Part-"></a><a name="addpart"></a>
<h3 class="api-name" id="addPart(com.google.firebase.vertexai.type.Part)">addPart</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/Content.Builder.html">Content.Builder</a> <T extends <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a>> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Content.Builder.html#addPart(com.google.firebase.vertexai.type.Part)">addPart</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> T data)</pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html 2024-09-25 16:39:49.314787776 +0000
@@ -0,0 +1,71 @@
+<html devsite="true">
+ <head>
+ <title>FunctionCallingConfig.Companion</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>FunctionCallingConfig.Companion</h1>
+ <p>
+ <pre>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html">FunctionCallingConfig.Companion</a></pre>
+ </p>
+ <hr>
+ <h2>Summary</h2>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <colgroup>
+ <col width="40%">
+ <col>
+ </colgroup>
+ <thead>
+ <tr>
+ <th colspan="100%"><h3>Public methods</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</code></div>
+ <p>The model always predicts a provided function call to answer every query.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>()</code></div>
+ <p>The default behavior for function calling.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>()</code></div>
+ <p>The model will never predict a function call to answer a query.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Public methods</h2>
+ <div class="api-item"><a name="any-kotlin.collections.List-"></a><a name="any"></a>
+ <h3 class="api-name" id="any(kotlin.collections.List)">any</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</pre>
+ <p>The model always predicts a provided function call to answer every query.</p>
+ </div>
+ <div class="api-item"><a name="auto--"></a><a name="auto"></a>
+ <h3 class="api-name" id="auto()">auto</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>()</pre>
+ <p>The default behavior for function calling. The model calls functions to answer queries at its discretion</p>
+ </div>
+ <div class="api-item"><a name="none--"></a><a name="none"></a>
+ <h3 class="api-name" id="none()">none</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>()</pre>
+ <p>The model will never predict a function call to answer a query. This can also be achieved by not passing any tools to the model.</p>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html 2024-09-25 16:42:02.408573226 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html 1970-01-01 00:00:00.000000000 +0000
@@ -1,151 +0,0 @@
-<html devsite="true">
- <head>
- <title>FunctionCallingConfig.Mode</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/android/_reference-head-tags.html" %}
- </head>
- <body>
- <div id="metadata-info-block"></div>
- <h1>FunctionCallingConfig.Mode</h1>
- <p>
- <pre>public enum <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> extends <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></pre>
- </p>
- <div class="devsite-table-wrapper">
- <table class="jd-inheritance-table">
- <tbody>
- <tr>
- <td colspan="3"><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">java.lang.Object</a></td>
- </tr>
- <tr>
- <td class="jd-inheritance-space"> ↳</td>
- <td colspan="2"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">kotlin.Enum</a></td>
- </tr>
- <tr>
- <td> </td>
- <td class="jd-inheritance-space"> ↳</td>
- <td colspan="1"><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">com.google.firebase.vertexai.type.FunctionCallingConfig.Mode</a></td>
- </tr>
- </tbody>
- </table>
- </div>
- <hr>
- <p>Configuration for dictating when the model should call the attached function.</p>
- <h2>Summary</h2>
- <div class="devsite-table-wrapper">
- <table class="responsive">
- <colgroup>
- <col width="40%">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th colspan="100%"><h3>Enum Values</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">ANY</a></code></td>
- <td>
- <p>The model always predicts a provided function call to answer every query.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#AUTO">AUTO</a></code></td>
- <td>
- <p>The default behavior for function calling.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#NONE">NONE</a></code></td>
- <td>
- <p>The model will never predict a function call to answer a query.</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 methods</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="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#valueOf(kotlin.String)">valueOf</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> value)</code></div>
- <p>Returns the enum constant of this type with the specified name.</p>
- </td>
- </tr>
- <tr>
- <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> FunctionCallingConfig.Mode[]</code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#values()">values</a>()</code></div>
- <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="list">
- <h2>Enum Values</h2>
- <div class="api-item">
- <h3 class="api-name" id="ANY">ANY</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">FunctionCallingConfig.Mode.ANY</a></pre>
- <p>The model always predicts a provided function call to answer every query.</p>
- </div>
- <div class="api-item">
- <h3 class="api-name" id="AUTO">AUTO</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#AUTO">FunctionCallingConfig.Mode.AUTO</a></pre>
- <p>The default behavior for function calling. The model calls functions to answer queries at its discretion</p>
- </div>
- <div class="api-item">
- <h3 class="api-name" id="NONE">NONE</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#NONE">FunctionCallingConfig.Mode.NONE</a></pre>
- <p>The model will never predict a function call to answer a query. This can also be achieved by not passing any tools to the model.</p>
- </div>
- </div>
- <div class="list">
- <h2>Public methods</h2>
- <div class="api-item"><a name="valueOf-kotlin.String-"></a><a name="valueof"></a>
- <h3 class="api-name" id="valueOf(kotlin.String)">valueOf</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/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#valueOf(kotlin.String)">valueOf</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> value)</pre>
- <p>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p>
- <div class="devsite-table-wrapper">
- <table class="responsive">
- <colgroup>
- <col width="40%">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th colspan="100%">Throws</th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">kotlin.IllegalArgumentException</a> kotlin.IllegalArgumentException</code></td>
- <td>
- <p>if this enum type has no constant with the specified name</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="api-item"><a name="values--"></a><a name="values"></a>
- <h3 class="api-name" id="values()">values</h3>
- <pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> FunctionCallingConfig.Mode[] <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#values()">values</a>()</pre>
- <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
- <p>This method may be used to iterate over the constants.</p>
- </div>
- </div>
- </body>
-</html>
- --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html 2024-09-25 16:42:02.408573226 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html 2024-09-25 16:39:49.314787776 +0000
@@ -27,8 +27,7 @@
<tbody class="list">
<tr>
<td>
- <div><code>public enum <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> extends <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></code></div>
- <p>Configuration for dictating when the model should call the attached function.</p>
+ <div><code>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html">FunctionCallingConfig.Companion</a></code></div>
</td>
</tr>
</tbody>
@@ -42,92 +41,50 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public fields</h3></th>
+ <th colspan="100%"><h3>Public methods</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
- <td><code>final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>></code></td>
+ <td><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#allowedFunctionNames()">allowedFunctionNames</a></code></div>
- <p>Function names to call.</p>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</code></div>
+ <p>The model always predicts a provided function call to answer every query.</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/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
+ <td><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#mode()">mode</a></code></div>
- <p>The function calling mode of the model</p>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>()</code></div>
+ <p>The default behavior for function calling.</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><code>static 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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> mode,<br> <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames<br>)</code></div>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>()</code></div>
+ <p>The model will never predict a function call to answer a query.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
- <h2>Public fields</h2>
- <div class="api-item"><a name="getAllowedFunctionNames()"></a><a name="setAllowedFunctionNames()"></a><a name="getAllowedFunctionNames--"></a><a name="setAllowedFunctionNames--"></a>
- <h3 class="api-name" id="allowedFunctionNames()">allowedFunctionNames</h3>
- <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#allowedFunctionNames()">allowedFunctionNames</a></pre>
- <p>Function names to call. Only set when the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>. Function names should match <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionDeclaration.html#name()">FunctionDeclaration.name</a></code>. With <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>, model will predict a function call from the set of function names provided.</p>
- </div>
- <div class="api-item"><a name="getMode()"></a><a name="setMode()"></a><a name="getMode--"></a><a name="setMode--"></a>
- <h3 class="api-name" id="mode()">mode</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/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#mode()">mode</a></pre>
- <p>The function calling mode of the model</p>
- </div>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode, kotlin.collections.List)"></a><a name="FunctionCallingConfig-com.google.firebase.vertexai.type.FunctionCallingConfig.Mode-kotlin.collections.List-"></a><a name="functioncallingconfig"></a>
- <h3 class="api-name" id="FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html#FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> mode,<br> <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames<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="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> mode</code></td>
- <td>
- <p>The function calling mode of the model</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames</code></td>
- <td>
- <p>Function names to call. Only set when the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>. Function names should match <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionDeclaration.html#name()">FunctionDeclaration.name</a></code>. With <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>, model will predict a function call from the set of function names provided.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
+ <h2>Public methods</h2>
+ <div class="api-item"><a name="any-kotlin.collections.List-"></a><a name="any"></a>
+ <h3 class="api-name" id="any(kotlin.collections.List)">any</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</pre>
+ <p>The model always predicts a provided function call to answer every query.</p>
+ </div>
+ <div class="api-item"><a name="auto--"></a><a name="auto"></a>
+ <h3 class="api-name" id="auto()">auto</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>()</pre>
+ <p>The default behavior for function calling. The model calls functions to answer queries at its discretion</p>
+ </div>
+ <div class="api-item"><a name="none--"></a><a name="none"></a>
+ <h3 class="api-name" id="none()">none</h3>
+ <pre class="api-signature no-pretty-print">public static 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/FunctionCallingConfig.html">FunctionCallingConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>()</pre>
+ <p>The model will never predict a function call to answer a query. This can also be achieved by not passing any tools to the model.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html 2024-09-25 16:42:02.409573232 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html 2024-09-25 16:39:49.315787783 +0000
@@ -53,6 +53,13 @@
</td>
</tr>
<tr>
+ <td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#frequencyPenalty()">frequencyPenalty</a></code></div>
+ <p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">GenerationConfig.frequencyPenalty</a></code></p>
+ </td>
+ </tr>
+ <tr>
<td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Integer.html">Integer</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#maxOutputTokens()">maxOutputTokens</a></code></div>
@@ -60,6 +67,13 @@
</td>
</tr>
<tr>
+ <td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#presencePenalty()">presencePenalty</a></code></div>
+ <p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">GenerationConfig.presencePenalty</a></code></p>
+ </td>
+ </tr>
+ <tr>
<td><code>final <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/GenerationConfig.Builder.html#responseMimeType()">responseMimeType</a></code></div>
@@ -153,11 +167,21 @@
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Integer.html">Integer</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#candidateCount()">candidateCount</a></pre>
<p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#candidateCount()">GenerationConfig.candidateCount</a></code>.</p>
</div>
+ <div class="api-item"><a name="getFrequencyPenalty()"></a><a name="setFrequencyPenalty()"></a><a name="getFrequencyPenalty--"></a><a name="setFrequencyPenalty--"></a>
+ <h3 class="api-name" id="frequencyPenalty()">frequencyPenalty</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#frequencyPenalty()">frequencyPenalty</a></pre>
+ <p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">GenerationConfig.frequencyPenalty</a></code></p>
+ </div>
<div class="api-item"><a name="getMaxOutputTokens()"></a><a name="setMaxOutputTokens()"></a><a name="getMaxOutputTokens--"></a><a name="setMaxOutputTokens--"></a>
<h3 class="api-name" id="maxOutputTokens()">maxOutputTokens</h3>
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Integer.html">Integer</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#maxOutputTokens()">maxOutputTokens</a></pre>
<p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">GenerationConfig.maxOutputTokens</a></code>.</p>
</div>
+ <div class="api-item"><a name="getPresencePenalty()"></a><a name="setPresencePenalty()"></a><a name="getPresencePenalty--"></a><a name="setPresencePenalty--"></a>
+ <h3 class="api-name" id="presencePenalty()">presencePenalty</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#presencePenalty()">presencePenalty</a></pre>
+ <p>See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">GenerationConfig.presencePenalty</a></code></p>
+ </div>
<div class="api-item"><a name="getResponseMimeType()"></a><a name="setResponseMimeType()"></a><a name="getResponseMimeType--"></a><a name="setResponseMimeType--"></a>
<h3 class="api-name" id="responseMimeType()">responseMimeType</h3>
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#responseMimeType()">responseMimeType</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/GenerationConfig.html 2024-09-25 16:42:02.409573232 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/GenerationConfig.html 2024-09-25 16:39:49.315787783 +0000
@@ -59,6 +59,13 @@
</td>
</tr>
<tr>
+ <td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">frequencyPenalty</a></code></div>
+ <p>Frequency penalties.</p>
+ </td>
+ </tr>
+ <tr>
<td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Integer.html">Integer</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">maxOutputTokens</a></code></div>
@@ -66,6 +73,13 @@
</td>
</tr>
<tr>
+ <td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">presencePenalty</a></code></div>
+ <p>Positive penalties.</p>
+ </td>
+ </tr>
+ <tr>
<td><code>final <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/GenerationConfig.html#responseMimeType()">responseMimeType</a></code></div>
@@ -122,11 +136,21 @@
</li>
</ul>
</div>
+ <div class="api-item"><a name="getFrequencyPenalty()"></a><a name="setFrequencyPenalty()"></a><a name="getFrequencyPenalty--"></a><a name="setFrequencyPenalty--"></a>
+ <h3 class="api-name" id="frequencyPenalty()">frequencyPenalty</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">frequencyPenalty</a></pre>
+ <p>Frequency penalties.</p>
+ </div>
<div class="api-item"><a name="getMaxOutputTokens()"></a><a name="setMaxOutputTokens()"></a><a name="getMaxOutputTokens--"></a><a name="setMaxOutputTokens--"></a>
<h3 class="api-name" id="maxOutputTokens()">maxOutputTokens</h3>
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Integer.html">Integer</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">maxOutputTokens</a></pre>
<p>Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Defaults to 0 (unbounded).</p>
</div>
+ <div class="api-item"><a name="getPresencePenalty()"></a><a name="setPresencePenalty()"></a><a name="getPresencePenalty--"></a><a name="setPresencePenalty--"></a>
+ <h3 class="api-name" id="presencePenalty()">presencePenalty</h3>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Float.html">Float</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">presencePenalty</a></pre>
+ <p>Positive penalties.</p>
+ </div>
<div class="api-item"><a name="getResponseMimeType()"></a><a name="setResponseMimeType()"></a><a name="getResponseMimeType--"></a><a name="setResponseMimeType--"></a>
<h3 class="api-name" id="responseMimeType()">responseMimeType</h3>
<pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/GenerationConfig.html#responseMimeType()">responseMimeType</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/HarmBlockMethod.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/HarmBlockMethod.html 2024-09-25 16:39:49.315787783 +0000
@@ -0,0 +1,140 @@
+<html devsite="true">
+ <head>
+ <title>HarmBlockMethod</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>HarmBlockMethod</h1>
+ <p>
+ <pre>public enum <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> extends <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></pre>
+ </p>
+ <div class="devsite-table-wrapper">
+ <table class="jd-inheritance-table">
+ <tbody>
+ <tr>
+ <td colspan="3"><a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">java.lang.Object</a></td>
+ </tr>
+ <tr>
+ <td class="jd-inheritance-space"> ↳</td>
+ <td colspan="2"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">kotlin.Enum</a></td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td class="jd-inheritance-space"> ↳</td>
+ <td colspan="1"><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">com.google.firebase.vertexai.type.HarmBlockMethod</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <hr>
+ <p>Specifies how the block method computes the score that will be compared against the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code> in <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</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>Enum Values</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#PROBABILITY">PROBABILITY</a></code></td>
+ <td>
+ <p>The harm block method uses the probability score.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#SEVERITY">SEVERITY</a></code></td>
+ <td>
+ <p>The harm block method uses both probability and severity scores.</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 methods</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="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#valueOf(kotlin.String)">valueOf</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> value)</code></div>
+ <p>Returns the enum constant of this type with the specified name.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> HarmBlockMethod[]</code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#values()">values</a>()</code></div>
+ <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Enum Values</h2>
+ <div class="api-item">
+ <h3 class="api-name" id="PROBABILITY">PROBABILITY</h3>
+ <pre class="api-signature no-pretty-print"><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#PROBABILITY">HarmBlockMethod.PROBABILITY</a></pre>
+ <p>The harm block method uses the probability score. See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmProbability.html">HarmProbability</a></code>.</p>
+ </div>
+ <div class="api-item">
+ <h3 class="api-name" id="SEVERITY">SEVERITY</h3>
+ <pre class="api-signature no-pretty-print"><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#SEVERITY">HarmBlockMethod.SEVERITY</a></pre>
+ <p>The harm block method uses both probability and severity scores. See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmSeverity.html">HarmSeverity</a></code> and <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmProbability.html">HarmProbability</a></code>.</p>
+ </div>
+ </div>
+ <div class="list">
+ <h2>Public methods</h2>
+ <div class="api-item"><a name="valueOf-kotlin.String-"></a><a name="valueof"></a>
+ <h3 class="api-name" id="valueOf(kotlin.String)">valueOf</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/HarmBlockMethod.html">HarmBlockMethod</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#valueOf(kotlin.String)">valueOf</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> value)</pre>
+ <p>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <colgroup>
+ <col width="40%">
+ <col>
+ </colgroup>
+ <thead>
+ <tr>
+ <th colspan="100%">Throws</th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">kotlin.IllegalArgumentException</a> kotlin.IllegalArgumentException</code></td>
+ <td>
+ <p>if this enum type has no constant with the specified name</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div class="api-item"><a name="values--"></a><a name="values"></a>
+ <h3 class="api-name" id="values()">values</h3>
+ <pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> HarmBlockMethod[] <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html#values()">values</a>()</pre>
+ <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
+ <p>This method may be used to iterate over the constants.</p>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InlineDataPart.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/InlineDataPart.html 2024-09-25 16:39:49.312787764 +0000
@@ -0,0 +1,114 @@
+<html devsite="true">
+ <head>
+ <title>InlineDataPart</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>InlineDataPart</h1>
+ <p>
+ <pre>public final class <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a> implements <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
+ </p>
+ <hr>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</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> byte[]</code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html#inlineData()">inlineData</a></code></div>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/InlineDataPart.html#mimeType()">mimeType</a></code></div>
+ <p>an IANA standard MIME type.</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/InlineDataPart.html#InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] inlineData)</code></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Public fields</h2>
+ <div class="api-item"><a name="getInlineData()"></a><a name="setInlineData()"></a><a name="getInlineData--"></a><a name="setInlineData--"></a>
+ <h3 class="api-name" id="inlineData()">inlineData</h3>
+ <pre class="api-signature no-pretty-print">public final @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html#inlineData()">inlineData</a></pre>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
+ </div>
+ <div class="api-item"><a name="getMimeType()"></a><a name="setMimeType()"></a><a name="getMimeType--"></a><a name="setMimeType--"></a>
+ <h3 class="api-name" id="mimeType()">mimeType</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/InlineDataPart.html#mimeType()">mimeType</a></pre>
+ <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
+ </div>
+ </div>
+ <div class="list">
+ <h2>Public constructors</h2>
+ <div class="api-item"><a name="InlineDataPart(kotlin.String, kotlin.ByteArray)"></a><a name="InlineDataPart-kotlin.String-kotlin.ByteArray-"></a><a name="inlinedatapart"></a>
+ <h3 class="api-name" id="InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</h3>
+ <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html#InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</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> mimeType, @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] inlineData)</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> mimeType</code></td>
+ <td>
+ <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> byte[] inlineData</code></td>
+ <td>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html 2024-09-25 16:42:02.406573214 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Part.html 2024-09-25 16:39:49.312787764 +0000
@@ -11,7 +11,7 @@
<pre>public interface <a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
</p>
<div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
- <div class="showalways" id="subclasses-direct"><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></div>
+ <div class="showalways" id="subclasses-direct"><a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>, <a href="/docs/reference/android/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></div>
</span>
<div id="subclasses-direct-summary">
<div class="devsite-table-wrapper">
@@ -22,12 +22,6 @@
</colgroup>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code></td>
<td>
<p>Represents file data stored in Cloud Storage for Firebase, referenced by URI.</p>
@@ -52,6 +46,12 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></code></td>
<td>
<p>Represents text or string based data sent to and received from requests.</p>
@@ -78,13 +78,6 @@
</thead>
<tbody class="list">
<tr>
- <td><code>default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</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/Part.html">Part</a> receiver)</code></div>
- <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </td>
- </tr>
- <tr>
<td><code>default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</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/Part.html">Part</a> receiver)</code></div>
@@ -99,6 +92,13 @@
</td>
</tr>
<tr>
+ <td><code>default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</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/Part.html">Part</a> receiver)</code></div>
+ <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </td>
+ </tr>
+ <tr>
<td><code>default final <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/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</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/Part.html">Part</a> receiver)</code></div>
@@ -110,11 +110,6 @@
</div>
<div class="list">
<h2>Extension functions</h2>
- <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asBlobPartOrNull--"></a><a name="asblobpartornull"></a>
- <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">PartKt.asBlobPartOrNull</h3>
- <pre class="api-signature no-pretty-print">default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</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/Part.html">Part</a> receiver)</pre>
- <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asFileDataOrNull--"></a><a name="asfiledataornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">PartKt.asFileDataOrNull</h3>
<pre class="api-signature no-pretty-print">default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</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/Part.html">Part</a> receiver)</pre>
@@ -125,6 +120,11 @@
<pre class="api-signature no-pretty-print">default final <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asImageOrNull()">asImageOrNull</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/Part.html">Part</a> receiver)</pre>
<p>Returns the part as a <code><a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a></code> if it represents an image, and null otherwise</p>
</div>
+ <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asInlineDataPartOrNull--"></a><a name="asinlinedatapartornull"></a>
+ <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">PartKt.asInlineDataPartOrNull</h3>
+ <pre class="api-signature no-pretty-print">default final <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</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/Part.html">Part</a> receiver)</pre>
+ <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asTextOrNull--"></a><a name="astextornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asTextOrNull()">PartKt.asTextOrNull</h3>
<pre class="api-signature no-pretty-print">default final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</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/Part.html">Part</a> receiver)</pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/PartKt.html 2024-09-25 16:42:02.405573208 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/PartKt.html 2024-09-25 16:39:49.311787758 +0000
@@ -24,13 +24,6 @@
</thead>
<tbody class="list">
<tr>
- <td><code>static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</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/Part.html">Part</a> receiver)</code></div>
- <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </td>
- </tr>
- <tr>
<td><code>static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</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/Part.html">Part</a> receiver)</code></div>
@@ -45,6 +38,13 @@
</td>
</tr>
<tr>
+ <td><code>static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</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/Part.html">Part</a> receiver)</code></div>
+ <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </td>
+ </tr>
+ <tr>
<td><code>static final <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/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</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/Part.html">Part</a> receiver)</code></div>
@@ -56,11 +56,6 @@
</div>
<div class="list">
<h2>Public methods</h2>
- <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asBlobPartOrNull--"></a><a name="asblobpartornull"></a>
- <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">PartKt.asBlobPartOrNull</h3>
- <pre class="api-signature no-pretty-print">public static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</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/Part.html">Part</a> receiver)</pre>
- <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asFileDataOrNull--"></a><a name="asfiledataornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">PartKt.asFileDataOrNull</h3>
<pre class="api-signature no-pretty-print">public static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</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/Part.html">Part</a> receiver)</pre>
@@ -71,6 +66,11 @@
<pre class="api-signature no-pretty-print">public static final <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asImageOrNull()">asImageOrNull</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/Part.html">Part</a> receiver)</pre>
<p>Returns the part as a <code><a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a></code> if it represents an image, and null otherwise</p>
</div>
+ <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asInlineDataPartOrNull--"></a><a name="asinlinedatapartornull"></a>
+ <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">PartKt.asInlineDataPartOrNull</h3>
+ <pre class="api-signature no-pretty-print">public static final <a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</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/Part.html">Part</a> receiver)</pre>
+ <p>Returns the part as a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asTextOrNull--"></a><a name="astextornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asTextOrNull()">PartKt.asTextOrNull</h3>
<pre class="api-signature no-pretty-print">public static final <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a>.<a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</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/Part.html">Part</a> receiver)</pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/SafetySetting.html 2024-09-25 16:42:02.408573226 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/SafetySetting.html 2024-09-25 16:39:49.314787776 +0000
@@ -33,6 +33,13 @@
</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/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#method()">method</a></code></div>
+ <p>Specify if the threshold is used for probability or severity score.</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/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#threshold()">threshold</a></code></div>
@@ -56,7 +63,7 @@
<tbody class="list">
<tr>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a> harmCategory,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a> threshold<br>)</code></div>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a> harmCategory,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a> threshold,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> method<br>)</code></div>
</td>
</tr>
</tbody>
@@ -69,6 +76,11 @@
<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/HarmCategory.html">HarmCategory</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#harmCategory()">harmCategory</a></pre>
<p>The relevant <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a></code>.</p>
</div>
+ <div class="api-item"><a name="getMethod()"></a><a name="setMethod()"></a><a name="getMethod--"></a><a name="setMethod--"></a>
+ <h3 class="api-name" id="method()">method</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/HarmBlockMethod.html">HarmBlockMethod</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#method()">method</a></pre>
+ <p>Specify if the threshold is used for probability or severity score.</p>
+ </div>
<div class="api-item"><a name="getThreshold()"></a><a name="setThreshold()"></a><a name="getThreshold--"></a><a name="setThreshold--"></a>
<h3 class="api-name" id="threshold()">threshold</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/HarmBlockThreshold.html">HarmBlockThreshold</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#threshold()">threshold</a></pre>
@@ -77,9 +89,9 @@
</div>
<div class="list">
<h2>Public constructors</h2>
- <div class="api-item"><a name="SafetySetting(com.google.firebase.vertexai.type.HarmCategory, com.google.firebase.vertexai.type.HarmBlockThreshold)"></a><a name="SafetySetting-com.google.firebase.vertexai.type.HarmCategory-com.google.firebase.vertexai.type.HarmBlockThreshold-"></a><a name="safetysetting"></a>
- <h3 class="api-name" id="SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a> harmCategory,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a> threshold<br>)</pre>
+ <div class="api-item"><a name="SafetySetting(com.google.firebase.vertexai.type.HarmCategory, com.google.firebase.vertexai.type.HarmBlockThreshold, com.google.firebase.vertexai.type.HarmBlockMethod)"></a><a name="SafetySetting-com.google.firebase.vertexai.type.HarmCategory-com.google.firebase.vertexai.type.HarmBlockThreshold-com.google.firebase.vertexai.type.HarmBlockMethod-"></a><a name="safetysetting"></a>
+ <h3 class="api-name" id="SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</h3>
+ <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a> harmCategory,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a> threshold,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> method<br>)</pre>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
@@ -104,6 +116,12 @@
<p>The threshold form harm allowable.</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/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> method</code></td>
+ <td>
+ <p>Specify if the threshold is used for probability or severity score.</p>
+ </td>
+ </tr>
</tbody>
</table>
</div> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Tool.Companion.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Tool.Companion.html 2024-09-25 16:39:49.315787783 +0000
@@ -0,0 +1,68 @@
+<html devsite="true">
+ <head>
+ <title>Tool.Companion</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>Tool.Companion</h1>
+ <p>
+ <pre>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html">Tool.Companion</a></pre>
+ </p>
+ <hr>
+ <h2>Summary</h2>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <colgroup>
+ <col width="40%">
+ <col>
+ </colgroup>
+ <thead>
+ <tr>
+ <th colspan="100%"><h3>Public methods</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code>static 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/Tool.html">Tool</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</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/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations<br>)</code></div>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Public methods</h2>
+ <div class="api-item"><a name="functionDeclarations-kotlin.collections.List-"></a><a name="functiondeclarations"></a>
+ <h3 class="api-name" id="functionDeclarations(kotlin.collections.List)">functionDeclarations</h3>
+ <pre class="api-signature no-pretty-print">public static 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/Tool.html">Tool</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</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/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations<br>)</pre>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
+ <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/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations</code></td>
+ <td>
+ <p>The list of functions that this tool allows the model access to.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Tool.html 2024-09-25 16:42:02.407573220 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Tool.html 2024-09-25 16:39:49.313787770 +0000
@@ -21,15 +21,13 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public fields</h3></th>
+ <th colspan="100%"><h3>Nested types</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/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html#functionDeclarations()">functionDeclarations</a></code></div>
- <p>The set of functions that this tool allows the model access to</p>
+ <div><code>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html">Tool.Companion</a></code></div>
</td>
</tr>
</tbody>
@@ -43,31 +41,26 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public constructors</h3></th>
+ <th colspan="100%"><h3>Public methods</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
+ <td><code>static 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/Tool.html">Tool</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html#Tool(kotlin.collections.List)">Tool</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations)</code></div>
+ <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</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/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations<br>)</code></div>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
- <h2>Public fields</h2>
- <div class="api-item"><a name="getFunctionDeclarations()"></a><a name="setFunctionDeclarations()"></a><a name="getFunctionDeclarations--"></a><a name="setFunctionDeclarations--"></a>
- <h3 class="api-name" id="functionDeclarations()">functionDeclarations</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/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html#functionDeclarations()">functionDeclarations</a></pre>
- <p>The set of functions that this tool allows the model access to</p>
- </div>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="Tool-kotlin.collections.List-"></a><a name="tool"></a>
- <h3 class="api-name" id="Tool(kotlin.collections.List)">Tool</h3>
- <pre class="api-signature no-pretty-print">public <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html#Tool(kotlin.collections.List)">Tool</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations)</pre>
+ <h2>Public methods</h2>
+ <div class="api-item"><a name="functionDeclarations-kotlin.collections.List-"></a><a name="functiondeclarations"></a>
+ <h3 class="api-name" id="functionDeclarations(kotlin.collections.List)">functionDeclarations</h3>
+ <pre class="api-signature no-pretty-print">public static 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/Tool.html">Tool</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</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/util/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations<br>)</pre>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
@@ -83,7 +76,7 @@
<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/List.html">List</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/FunctionDeclaration.html">FunctionDeclaration</a>> functionDeclarations</code></td>
<td>
- <p>The set of functions that this tool allows the model access to</p>
+ <p>The list of functions that this tool allows the model access to.</p>
</td>
</tr>
</tbody> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html 2024-09-25 16:42:02.409573232 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html 1970-01-01 00:00:00.000000000 +0000
@@ -1,59 +0,0 @@
-<html devsite="true">
- <head>
- <title>ToolConfig.Companion</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/android/_reference-head-tags.html" %}
- </head>
- <body>
- <div id="metadata-info-block"></div>
- <h1>ToolConfig.Companion</h1>
- <p>
- <pre>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html">ToolConfig.Companion</a></pre>
- </p>
- <hr>
- <h2>Summary</h2>
- <div class="devsite-table-wrapper">
- <table class="responsive">
- <colgroup>
- <col width="40%">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th colspan="100%"><h3>Public methods</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code>static 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/ToolConfig.html">ToolConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">always</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</code></div>
- <p>Shorthand to construct a ToolConfig that restricts the model to always call some function.</p>
- </td>
- </tr>
- <tr>
- <td><code>static 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/ToolConfig.html">ToolConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html#never()">never</a>()</code></div>
- <p>Shorthand to construct a ToolConfig that restricts the model from calling any functions</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="list">
- <h2>Public methods</h2>
- <div class="api-item"><a name="always-kotlin.collections.List-"></a><a name="always"></a>
- <h3 class="api-name" id="always(kotlin.collections.List)">always</h3>
- <pre class="api-signature no-pretty-print">public static 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/ToolConfig.html">ToolConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">always</a>(<a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</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>> allowedFunctionNames)</pre>
- <p>Shorthand to construct a ToolConfig that restricts the model to always call some function. You can optionally <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">allowedFunctionNames</a></code> to restrict the model to only call these functions. See <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></code> for more information.</p>
- </div>
- <div class="api-item"><a name="never--"></a><a name="never"></a>
- <h3 class="api-name" id="never()">never</h3>
- <pre class="api-signature no-pretty-print">public static 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/ToolConfig.html">ToolConfig</a> <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html#never()">never</a>()</pre>
- <p>Shorthand to construct a ToolConfig that restricts the model from calling any functions</p>
- </div>
- </div>
- </body>
-</html>
- --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ToolConfig.html 2024-09-25 16:42:02.409573232 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/ToolConfig.html 2024-09-25 16:39:49.315787783 +0000
@@ -21,26 +21,6 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Nested types</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td>
- <div><code>public static class <a href="/docs/reference/android/com/google/firebase/vertexai/type/ToolConfig.Companion.html">ToolConfig.Companion</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 fields</h3></th>
</tr>
</thead> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html 2024-09-25 16:42:02.406573214 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/package-summary.html 2024-09-25 16:39:49.312787764 +0000
@@ -32,12 +32,6 @@
</colgroup>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/Candidate.html">Candidate</a></code></td>
<td>
<p>A response generated by the model.</p>
@@ -136,6 +130,12 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/PartKt.html">PartKt</a></code></td>
<td></td>
</tr>
@@ -225,9 +225,9 @@
</td>
</tr>
<tr>
- <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
<td>
- <p>Configuration for dictating when the model should call the attached function.</p>
+ <p>Specifies how the block method computes the score that will be compared against the <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code> in <code><a href="/docs/reference/android/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</a></code>.</p>
</td>
</tr>
<tr> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml 2024-09-25 16:42:02.404573202 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-vertexai/_toc.yaml 2024-09-25 16:39:49.310787752 +0000
@@ -41,8 +41,6 @@
- title: "Classes"
section:
- - title: "BlobPart"
- path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html"
- title: "Candidate"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/Candidate.html"
- title: "Citation"
@@ -73,6 +71,8 @@
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html"
- title: "ImagePart"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/ImagePart.html"
+ - title: "InlineDataPart"
+ path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html"
- title: "PromptFeedback"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptFeedback.html"
- title: "RequestOptions"
@@ -103,8 +103,8 @@
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/BlockReason.html"
- title: "FinishReason"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FinishReason.html"
- - title: "FunctionCallingConfig.Mode"
- path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html"
+ - title: "HarmBlockMethod"
+ path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html"
- title: "HarmBlockThreshold"
path: "/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html"
- title: "HarmCategory" --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/GenerativeModel.html 2024-09-25 16:42:02.397573160 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/GenerativeModel.html 2024-09-25 16:39:49.304787714 +0000
@@ -98,57 +98,6 @@
</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="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html">GenerationConfig</a>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#generationConfig()">generationConfig</a></code></div>
- </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/GenerativeModel.html#modelName()">modelName</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</a>>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#safetySettings()">safetySettings</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.html">Content</a>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#systemInstruction()">systemInstruction</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#toolConfig()">toolConfig</a></code></div>
- </td>
- </tr>
- <tr>
- <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a>>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#tools()">tools</a></code></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
<div class="list">
<h2>Public functions</h2>
<div class="api-item"><a name="countTokens-android.graphics.Bitmap-"></a><a name="counttokens"></a>
@@ -580,33 +529,6 @@
<p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/Chat.html">Chat</a></code> instance which internally tracks the ongoing conversation with the model</p>
</div>
</div>
- <div class="list">
- <h2>Public properties</h2>
- <div class="api-item"><a name="getGenerationConfig()"></a><a name="setGenerationConfig()"></a><a name="getGenerationConfig--"></a><a name="setGenerationConfig--"></a>
- <h3 class="api-name" id="generationConfig()">generationConfig</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#generationConfig()">generationConfig</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html">GenerationConfig</a>?</pre>
- </div>
- <div class="api-item"><a name="getModelName()"></a><a name="setModelName()"></a><a name="getModelName--"></a><a name="setModelName--"></a>
- <h3 class="api-name" id="modelName()">modelName</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#modelName()">modelName</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
- </div>
- <div class="api-item"><a name="getSafetySettings()"></a><a name="setSafetySettings()"></a><a name="getSafetySettings--"></a><a name="setSafetySettings--"></a>
- <h3 class="api-name" id="safetySettings()">safetySettings</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#safetySettings()">safetySettings</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</a>>?</pre>
- </div>
- <div class="api-item"><a name="getSystemInstruction()"></a><a name="setSystemInstruction()"></a><a name="getSystemInstruction--"></a><a name="setSystemInstruction--"></a>
- <h3 class="api-name" id="systemInstruction()">systemInstruction</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#systemInstruction()">systemInstruction</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.html">Content</a>?</pre>
- </div>
- <div class="api-item"><a name="getToolConfig()"></a><a name="setToolConfig()"></a><a name="getToolConfig--"></a><a name="setToolConfig--"></a>
- <h3 class="api-name" id="toolConfig()">toolConfig</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#toolConfig()">toolConfig</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a>?</pre>
- </div>
- <div class="api-item"><a name="getTools()"></a><a name="setTools()"></a><a name="getTools--"></a><a name="setTools--"></a>
- <h3 class="api-name" id="tools()">tools</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel.html#tools()">tools</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a>>?</pre>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/BlobPart.html 2024-09-25 16:42:02.398573167 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/BlobPart.html 1970-01-01 00:00:00.000000000 +0000
@@ -1,114 +0,0 @@
-<html devsite="true">
- <head>
- <title>BlobPart</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/kotlin/_reference-head-tags.html" %}
- </head>
- <body>
- <div id="metadata-info-block"></div>
- <h1>BlobPart</h1>
- <p>
- <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a> : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
- </p>
- <hr>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</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/BlobPart.html#BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, blob: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/-byte-array/index.html">ByteArray</a></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html#blob()">blob</a></code></div>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/BlobPart.html#mimeType()">mimeType</a></code></div>
- <p>an IANA standard MIME type.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="BlobPart(kotlin.String, kotlin.ByteArray)"></a><a name="BlobPart-kotlin.String-kotlin.ByteArray-"></a><a name="blobpart"></a>
- <h3 class="api-name" id="BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html#BlobPart(kotlin.String,kotlin.ByteArray)">BlobPart</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, blob: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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>mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
- <td>
- <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
- </td>
- </tr>
- <tr>
- <td><code>blob: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></td>
- <td>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="list">
- <h2>Public properties</h2>
- <div class="api-item"><a name="getBlob()"></a><a name="setBlob()"></a><a name="getBlob--"></a><a name="setBlob--"></a>
- <h3 class="api-name" id="blob()">blob</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html#blob()">blob</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></pre>
- <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
- </div>
- <div class="api-item"><a name="getMimeType()"></a><a name="setMimeType()"></a><a name="getMimeType--"></a><a name="setMimeType--"></a>
- <h3 class="api-name" id="mimeType()">mimeType</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html#mimeType()">mimeType</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
- <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
- </div>
- </div>
- </body>
-</html>
- --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Citation.html 2024-09-25 16:42:02.400573178 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Citation.html 2024-09-25 16:39:49.306787727 +0000
@@ -40,6 +40,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="https://developer.android.com/reference/kotlin/java/util/Calendar.html">Calendar</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#publicationDate()">publicationDate</a></code></div>
+ <p>Publication date of the attribution, if available.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#startIndex()">startIndex</a></code></div>
@@ -49,6 +56,13 @@
<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/Citation.html#title()">title</a></code></div>
+ <p>Title of the attribution.</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/Citation.html#uri()">uri</a></code></div>
<p>A link to the cited source, if available.</p>
</td>
@@ -68,11 +82,21 @@
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#license()">license</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre>
<p>The license the cited source work is distributed under, if specified.</p>
</div>
+ <div class="api-item"><a name="getPublicationDate()"></a><a name="setPublicationDate()"></a><a name="getPublicationDate--"></a><a name="setPublicationDate--"></a>
+ <h3 class="api-name" id="publicationDate()">publicationDate</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#publicationDate()">publicationDate</a>: <a href="https://developer.android.com/reference/kotlin/java/util/Calendar.html">Calendar</a>?</pre>
+ <p>Publication date of the attribution, if available.</p>
+ </div>
<div class="api-item"><a name="getStartIndex()"></a><a name="setStartIndex()"></a><a name="getStartIndex--"></a><a name="setStartIndex--"></a>
<h3 class="api-name" id="startIndex()">startIndex</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#startIndex()">startIndex</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
<p>The inclusive beginning of a sequence in a model response that derives from a cited source.</p>
</div>
+ <div class="api-item"><a name="getTitle()"></a><a name="setTitle()"></a><a name="getTitle--"></a><a name="setTitle--"></a>
+ <h3 class="api-name" id="title()">title</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#title()">title</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre>
+ <p>Title of the attribution.</p>
+ </div>
<div class="api-item"><a name="getUri()"></a><a name="setUri()"></a><a name="getUri--"></a><a name="setUri--"></a>
<h3 class="api-name" id="uri()">uri</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Citation.html#uri()">uri</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Content.Builder.html 2024-09-25 16:42:02.402573190 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Content.Builder.html 2024-09-25 16:39:49.308787739 +0000
@@ -46,13 +46,6 @@
</thead>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, blob: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a>)</code></div>
- <p>Wraps the provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> and adds it to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.html">Content</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#build()">build</a>()</code></div>
@@ -76,6 +69,13 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></code></td>
<td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">inlineData</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a>)</code></div>
+ <p>Wraps the provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">bytes</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> and adds it to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></code></td>
+ <td>
<div><code><T : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>> <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#part(com.google.firebase.vertexai.type.Part)">part</a>(data: T)</code></div>
<p>Adds a new <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></code> to <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code>.</p>
</td>
@@ -128,11 +128,6 @@
</div>
<div class="list">
<h2>Public functions</h2>
- <div class="api-item"><a name="blob(kotlin.String, kotlin.ByteArray)"></a><a name="blob-kotlin.String-kotlin.ByteArray-"></a><a name="blob"></a>
- <h3 class="api-name" id="blob(kotlin.String,kotlin.ByteArray)">blob</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, blob: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></pre>
- <p>Wraps the provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">blob</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#blob(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> and adds it to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
- </div>
<div class="api-item"><a name="build--"></a><a name="build"></a>
<h3 class="api-name" id="build()">build</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#build()">build</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.html">Content</a></pre>
@@ -148,6 +143,11 @@
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#image(android.graphics.Bitmap)">image</a>(image: <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></pre>
<p>Wraps the provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#image(android.graphics.Bitmap)">image</a></code> inside an <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a></code> and adds it to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
</div>
+ <div class="api-item"><a name="inlineData(kotlin.String, kotlin.ByteArray)"></a><a name="inlineData-kotlin.String-kotlin.ByteArray-"></a><a name="inlinedata"></a>
+ <h3 class="api-name" id="inlineData(kotlin.String,kotlin.ByteArray)">inlineData</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">inlineData</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></pre>
+ <p>Wraps the provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">bytes</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#inlineData(kotlin.String,kotlin.ByteArray)">mimeType</a></code> inside a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> and adds it to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#parts()">parts</a></code> list.</p>
+ </div>
<div class="api-item"><a name="part-com.google.firebase.vertexai.type.Part-"></a><a name="part"></a>
<h3 class="api-name" id="part(com.google.firebase.vertexai.type.Part)">part</h3>
<pre class="api-signature no-pretty-print">fun <T : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>> <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html#part(com.google.firebase.vertexai.type.Part)">part</a>(data: T): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.Builder.html">Content.Builder</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html 2024-09-25 16:42:02.401573184 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html 1970-01-01 00:00:00.000000000 +0000
@@ -1,151 +0,0 @@
-<html devsite="true">
- <head>
- <title>FunctionCallingConfig.Mode</title>
-{% setvar book_path %}/_book.yaml{% endsetvar %}
-{% include "docs/reference/kotlin/_reference-head-tags.html" %}
- </head>
- <body>
- <div id="metadata-info-block"></div>
- <h1>FunctionCallingConfig.Mode</h1>
- <p>
- <pre>enum <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></pre>
- </p>
- <div class="devsite-table-wrapper">
- <table class="jd-inheritance-table">
- <tbody>
- <tr>
- <td colspan="3"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">kotlin.Any</a></td>
- </tr>
- <tr>
- <td class="jd-inheritance-space"> ↳</td>
- <td colspan="2"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">kotlin.Enum</a></td>
- </tr>
- <tr>
- <td> </td>
- <td class="jd-inheritance-space"> ↳</td>
- <td colspan="1"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">com.google.firebase.vertexai.type.FunctionCallingConfig.Mode</a></td>
- </tr>
- </tbody>
- </table>
- </div>
- <hr>
- <p>Configuration for dictating when the model should call the attached function.</p>
- <h2>Summary</h2>
- <div class="devsite-table-wrapper">
- <table class="responsive">
- <colgroup>
- <col width="40%">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th colspan="100%"><h3>Enum Values</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">ANY</a></code></td>
- <td>
- <p>The model always predicts a provided function call to answer every query.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#AUTO">AUTO</a></code></td>
- <td>
- <p>The default behavior for function calling.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#NONE">NONE</a></code></td>
- <td>
- <p>The model will never predict a function call to answer a query.</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 functions</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#valueOf(kotlin.String)">valueOf</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>)</code></div>
- <p>Returns the enum constant of this type with the specified name.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a>></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#values()">values</a>()</code></div>
- <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="list">
- <h2>Enum Values</h2>
- <div class="api-item">
- <h3 class="api-name" id="ANY">ANY</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">FunctionCallingConfig.Mode.ANY</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></pre>
- <p>The model always predicts a provided function call to answer every query.</p>
- </div>
- <div class="api-item">
- <h3 class="api-name" id="AUTO">AUTO</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#AUTO">FunctionCallingConfig.Mode.AUTO</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></pre>
- <p>The default behavior for function calling. The model calls functions to answer queries at its discretion</p>
- </div>
- <div class="api-item">
- <h3 class="api-name" id="NONE">NONE</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#NONE">FunctionCallingConfig.Mode.NONE</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></pre>
- <p>The model will never predict a function call to answer a query. This can also be achieved by not passing any tools to the model.</p>
- </div>
- </div>
- <div class="list">
- <h2>Public functions</h2>
- <div class="api-item"><a name="valueOf-kotlin.String-"></a><a name="valueof"></a>
- <h3 class="api-name" id="valueOf(kotlin.String)">valueOf</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#valueOf(kotlin.String)">valueOf</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></pre>
- <p>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p>
- <div class="devsite-table-wrapper">
- <table class="responsive">
- <colgroup>
- <col width="40%">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th colspan="100%">Throws</th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code>kotlin.IllegalArgumentException: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">kotlin.IllegalArgumentException</a></code></td>
- <td>
- <p>if this enum type has no constant with the specified name</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="api-item"><a name="values--"></a><a name="values"></a>
- <h3 class="api-name" id="values()">values</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#values()">values</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a>></pre>
- <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
- <p>This method may be used to iterate over the constants.</p>
- </div>
- </div>
- </body>
-</html>
- --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html 2024-09-25 16:42:02.401573184 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html 2024-09-25 16:39:49.307787733 +0000
@@ -21,113 +21,50 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Nested types</h3></th>
+ <th colspan="100%"><h3>Public companion functions</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code>enum <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></code></div>
- <p>Configuration for dictating when the model should call the attached function.</p>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>?)</code></div>
+ <p>The model always predicts a provided function call to answer every query.</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/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</a>(<br> mode: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a>,<br> allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>?<br>)</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/-list/index.html">List</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/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#allowedFunctionNames()">allowedFunctionNames</a></code></div>
- <p>Function names to call.</p>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>()</code></div>
+ <p>The default behavior for function calling.</p>
</td>
</tr>
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></code></td>
<td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#mode()">mode</a></code></div>
- <p>The function calling mode of the model</p>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>()</code></div>
+ <p>The model will never predict a function call to answer a query.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode, kotlin.collections.List)"></a><a name="FunctionCallingConfig-com.google.firebase.vertexai.type.FunctionCallingConfig.Mode-kotlin.collections.List-"></a><a name="functioncallingconfig"></a>
- <h3 class="api-name" id="FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#FunctionCallingConfig(com.google.firebase.vertexai.type.FunctionCallingConfig.Mode,kotlin.collections.List)">FunctionCallingConfig</a>(<br> mode: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a>,<br> allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = null<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>mode: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
- <td>
- <p>The function calling mode of the model</p>
- </td>
- </tr>
- <tr>
- <td><code>allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = null</code></td>
- <td>
- <p>Function names to call. Only set when the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>. Function names should match <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html#name()">FunctionDeclaration.name</a></code>. With <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>, model will predict a function call from the set of function names provided.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="list">
- <h2>Public properties</h2>
- <div class="api-item"><a name="getAllowedFunctionNames()"></a><a name="setAllowedFunctionNames()"></a><a name="getAllowedFunctionNames--"></a><a name="setAllowedFunctionNames--"></a>
- <h3 class="api-name" id="allowedFunctionNames()">allowedFunctionNames</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#allowedFunctionNames()">allowedFunctionNames</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>?</pre>
- <p>Function names to call. Only set when the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>. Function names should match <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html#name()">FunctionDeclaration.name</a></code>. With <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html#ANY">Mode.ANY</a></code>, model will predict a function call from the set of function names provided.</p>
- </div>
- <div class="api-item"><a name="getMode()"></a><a name="setMode()"></a><a name="getMode--"></a><a name="setMode--"></a>
- <h3 class="api-name" id="mode()">mode</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html#mode()">mode</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></pre>
- <p>The function calling mode of the model</p>
+ <h2>Public companion functions</h2>
+ <div class="api-item"><a name="any-kotlin.collections.List-"></a><a name="any"></a>
+ <h3 class="api-name" id="any(kotlin.collections.List)">any</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#any(kotlin.collections.List)">any</a>(allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = null): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></pre>
+ <p>The model always predicts a provided function call to answer every query.</p>
+ </div>
+ <div class="api-item"><a name="auto--"></a><a name="auto"></a>
+ <h3 class="api-name" id="auto()">auto</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#auto()">auto</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></pre>
+ <p>The default behavior for function calling. The model calls functions to answer queries at its discretion</p>
+ </div>
+ <div class="api-item"><a name="none--"></a><a name="none"></a>
+ <h3 class="api-name" id="none()">none</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Companion.html#none()">none</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></pre>
+ <p>The model will never predict a function call to answer a query. This can also be achieved by not passing any tools to the model.</p>
</div>
</div>
</body> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html 2024-09-25 16:42:02.402573190 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html 2024-09-25 16:39:49.308787739 +0000
@@ -95,6 +95,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#frequencyPenalty()">frequencyPenalty</a></code></div>
+ <p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">GenerationConfig.frequencyPenalty</a></code></p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>?</code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#maxOutputTokens()">maxOutputTokens</a></code></div>
@@ -102,6 +109,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#presencePenalty()">presencePenalty</a></code></div>
+ <p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">GenerationConfig.presencePenalty</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/GenerationConfig.Builder.html#responseMimeType()">responseMimeType</a></code></div>
@@ -168,11 +182,21 @@
<pre class="api-signature no-pretty-print">var <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#candidateCount()">candidateCount</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>?</pre>
<p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#candidateCount()">GenerationConfig.candidateCount</a></code>.</p>
</div>
+ <div class="api-item"><a name="getFrequencyPenalty()"></a><a name="setFrequencyPenalty()"></a><a name="getFrequencyPenalty--"></a><a name="setFrequencyPenalty--"></a>
+ <h3 class="api-name" id="frequencyPenalty()">frequencyPenalty</h3>
+ <pre class="api-signature no-pretty-print">var <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#frequencyPenalty()">frequencyPenalty</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</pre>
+ <p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">GenerationConfig.frequencyPenalty</a></code></p>
+ </div>
<div class="api-item"><a name="getMaxOutputTokens()"></a><a name="setMaxOutputTokens()"></a><a name="getMaxOutputTokens--"></a><a name="setMaxOutputTokens--"></a>
<h3 class="api-name" id="maxOutputTokens()">maxOutputTokens</h3>
<pre class="api-signature no-pretty-print">var <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#maxOutputTokens()">maxOutputTokens</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>?</pre>
<p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">GenerationConfig.maxOutputTokens</a></code>.</p>
</div>
+ <div class="api-item"><a name="getPresencePenalty()"></a><a name="setPresencePenalty()"></a><a name="getPresencePenalty--"></a><a name="setPresencePenalty--"></a>
+ <h3 class="api-name" id="presencePenalty()">presencePenalty</h3>
+ <pre class="api-signature no-pretty-print">var <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#presencePenalty()">presencePenalty</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</pre>
+ <p>See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">GenerationConfig.presencePenalty</a></code></p>
+ </div>
<div class="api-item"><a name="getResponseMimeType()"></a><a name="setResponseMimeType()"></a><a name="getResponseMimeType--"></a><a name="setResponseMimeType--"></a>
<h3 class="api-name" id="responseMimeType()">responseMimeType</h3>
<pre class="api-signature no-pretty-print">var <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.Builder.html#responseMimeType()">responseMimeType</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html 2024-09-25 16:42:02.402573190 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html 2024-09-25 16:39:49.308787739 +0000
@@ -76,6 +76,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">frequencyPenalty</a></code></div>
+ <p>Frequency penalties.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>?</code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">maxOutputTokens</a></code></div>
@@ -83,6 +90,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">presencePenalty</a></code></div>
+ <p>Positive penalties.</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/GenerationConfig.html#responseMimeType()">responseMimeType</a></code></div>
@@ -148,11 +162,21 @@
</li>
</ul>
</div>
+ <div class="api-item"><a name="getFrequencyPenalty()"></a><a name="setFrequencyPenalty()"></a><a name="getFrequencyPenalty--"></a><a name="setFrequencyPenalty--"></a>
+ <h3 class="api-name" id="frequencyPenalty()">frequencyPenalty</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#frequencyPenalty()">frequencyPenalty</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</pre>
+ <p>Frequency penalties.</p>
+ </div>
<div class="api-item"><a name="getMaxOutputTokens()"></a><a name="setMaxOutputTokens()"></a><a name="getMaxOutputTokens--"></a><a name="setMaxOutputTokens--"></a>
<h3 class="api-name" id="maxOutputTokens()">maxOutputTokens</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#maxOutputTokens()">maxOutputTokens</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>?</pre>
<p>Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Defaults to 0 (unbounded).</p>
</div>
+ <div class="api-item"><a name="getPresencePenalty()"></a><a name="setPresencePenalty()"></a><a name="getPresencePenalty--"></a><a name="setPresencePenalty--"></a>
+ <h3 class="api-name" id="presencePenalty()">presencePenalty</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#presencePenalty()">presencePenalty</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html">Float</a>?</pre>
+ <p>Positive penalties.</p>
+ </div>
<div class="api-item"><a name="getResponseMimeType()"></a><a name="setResponseMimeType()"></a><a name="getResponseMimeType--"></a><a name="setResponseMimeType--"></a>
<h3 class="api-name" id="responseMimeType()">responseMimeType</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/GenerationConfig.html#responseMimeType()">responseMimeType</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html 2024-09-25 16:39:49.308787739 +0000
@@ -0,0 +1,140 @@
+<html devsite="true">
+ <head>
+ <title>HarmBlockMethod</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>HarmBlockMethod</h1>
+ <p>
+ <pre>enum <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">Enum</a></pre>
+ </p>
+ <div class="devsite-table-wrapper">
+ <table class="jd-inheritance-table">
+ <tbody>
+ <tr>
+ <td colspan="3"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">kotlin.Any</a></td>
+ </tr>
+ <tr>
+ <td class="jd-inheritance-space"> ↳</td>
+ <td colspan="2"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html">kotlin.Enum</a></td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td class="jd-inheritance-space"> ↳</td>
+ <td colspan="1"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">com.google.firebase.vertexai.type.HarmBlockMethod</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <hr>
+ <p>Specifies how the block method computes the score that will be compared against the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code> in <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</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>Enum Values</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#PROBABILITY">PROBABILITY</a></code></td>
+ <td>
+ <p>The harm block method uses the probability score.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#SEVERITY">SEVERITY</a></code></td>
+ <td>
+ <p>The harm block method uses both probability and severity scores.</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 functions</h3></th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#valueOf(kotlin.String)">valueOf</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>)</code></div>
+ <p>Returns the enum constant of this type with the specified name.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a>></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#values()">values</a>()</code></div>
+ <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Enum Values</h2>
+ <div class="api-item">
+ <h3 class="api-name" id="PROBABILITY">PROBABILITY</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#PROBABILITY">HarmBlockMethod.PROBABILITY</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></pre>
+ <p>The harm block method uses the probability score. See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmProbability.html">HarmProbability</a></code>.</p>
+ </div>
+ <div class="api-item">
+ <h3 class="api-name" id="SEVERITY">SEVERITY</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#SEVERITY">HarmBlockMethod.SEVERITY</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></pre>
+ <p>The harm block method uses both probability and severity scores. See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmSeverity.html">HarmSeverity</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmProbability.html">HarmProbability</a></code>.</p>
+ </div>
+ </div>
+ <div class="list">
+ <h2>Public functions</h2>
+ <div class="api-item"><a name="valueOf-kotlin.String-"></a><a name="valueof"></a>
+ <h3 class="api-name" id="valueOf(kotlin.String)">valueOf</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#valueOf(kotlin.String)">valueOf</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></pre>
+ <p>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <colgroup>
+ <col width="40%">
+ <col>
+ </colgroup>
+ <thead>
+ <tr>
+ <th colspan="100%">Throws</th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td><code>kotlin.IllegalArgumentException: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">kotlin.IllegalArgumentException</a></code></td>
+ <td>
+ <p>if this enum type has no constant with the specified name</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div class="api-item"><a name="values--"></a><a name="values"></a>
+ <h3 class="api-name" id="values()">values</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html#values()">values</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a>></pre>
+ <p>Returns an array containing the constants of this enum type, in the order they're declared.</p>
+ <p>This method may be used to iterate over the constants.</p>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html 1970-01-01 00:00:00.000000000 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html 2024-09-25 16:39:49.305787721 +0000
@@ -0,0 +1,114 @@
+<html devsite="true">
+ <head>
+ <title>InlineDataPart</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+ </head>
+ <body>
+ <div id="metadata-info-block"></div>
+ <h1>InlineDataPart</h1>
+ <p>
+ <pre>class <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a> : <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
+ </p>
+ <hr>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</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/InlineDataPart.html#InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, inlineData: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/-byte-array/index.html">ByteArray</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html#inlineData()">inlineData</a></code></div>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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/InlineDataPart.html#mimeType()">mimeType</a></code></div>
+ <p>an IANA standard MIME type.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="list">
+ <h2>Public constructors</h2>
+ <div class="api-item"><a name="InlineDataPart(kotlin.String, kotlin.ByteArray)"></a><a name="InlineDataPart-kotlin.String-kotlin.ByteArray-"></a><a name="inlinedatapart"></a>
+ <h3 class="api-name" id="InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</h3>
+ <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html#InlineDataPart(kotlin.String,kotlin.ByteArray)">InlineDataPart</a>(mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, inlineData: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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>mimeType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+ <td>
+ <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>inlineData: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></td>
+ <td>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ <div class="list">
+ <h2>Public properties</h2>
+ <div class="api-item"><a name="getInlineData()"></a><a name="setInlineData()"></a><a name="getInlineData--"></a><a name="setInlineData--"></a>
+ <h3 class="api-name" id="inlineData()">inlineData</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html#inlineData()">inlineData</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></pre>
+ <p>the binary data as a <code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</a></code></p>
+ </div>
+ <div class="api-item"><a name="getMimeType()"></a><a name="setMimeType()"></a><a name="getMimeType--"></a><a name="setMimeType--"></a>
+ <h3 class="api-name" id="mimeType()">mimeType</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html#mimeType()">mimeType</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
+ <p>an IANA standard MIME type. For supported values, see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements">Vertex AI documentation</a> .</p>
+ </div>
+ </div>
+ </body>
+</html>
+ --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html 2024-09-25 16:42:02.399573172 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Part.html 2024-09-25 16:39:49.306787727 +0000
@@ -11,7 +11,7 @@
<pre>interface <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a></pre>
</p>
<div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
- <div class="showalways" id="subclasses-direct"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></div>
+ <div class="showalways" id="subclasses-direct"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallPart.html">FunctionCallPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionResponsePart.html">FunctionResponsePart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ImagePart.html">ImagePart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>, <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></div>
</span>
<div id="subclasses-direct-summary">
<div class="devsite-table-wrapper">
@@ -22,12 +22,6 @@
</colgroup>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a></code></td>
<td>
<p>Represents file data stored in Cloud Storage for Firebase, referenced by URI.</p>
@@ -52,6 +46,12 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/TextPart.html">TextPart</a></code></td>
<td>
<p>Represents text or string based data sent to and received from requests.</p>
@@ -78,13 +78,6 @@
</thead>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</a>()</code></div>
- <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>?</code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</a>()</code></div>
@@ -99,6 +92,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</a>()</code></div>
+ <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</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/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</a>()</code></div>
@@ -110,11 +110,6 @@
</div>
<div class="list">
<h2>Extension functions</h2>
- <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asBlobPartOrNull--"></a><a name="asblobpartornull"></a>
- <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>?</pre>
- <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asFileDataOrNull--"></a><a name="asfiledataornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>?</pre>
@@ -125,6 +120,11 @@
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asImageOrNull()">asImageOrNull</a>(): <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a>?</pre>
<p>Returns the part as a <code><a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a></code> if it represents an image, and null otherwise</p>
</div>
+ <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asInlineDataPartOrNull--"></a><a name="asinlinedatapartornull"></a>
+ <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>?</pre>
+ <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asTextOrNull--"></a><a name="astextornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/SafetySetting.html 2024-09-25 16:42:02.401573184 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/SafetySetting.html 2024-09-25 16:39:49.307787733 +0000
@@ -27,7 +27,7 @@
<tbody class="list">
<tr>
<td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</a>(harmCategory: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a>, threshold: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a>)</code></div>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</a>(<br> harmCategory: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a>,<br> threshold: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a>,<br> method: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a><br>)</code></div>
</td>
</tr>
</tbody>
@@ -53,6 +53,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#method()">method</a></code></div>
+ <p>Specify if the threshold is used for probability or severity score.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#threshold()">threshold</a></code></div>
@@ -64,9 +71,9 @@
</div>
<div class="list">
<h2>Public constructors</h2>
- <div class="api-item"><a name="SafetySetting(com.google.firebase.vertexai.type.HarmCategory, com.google.firebase.vertexai.type.HarmBlockThreshold)"></a><a name="SafetySetting-com.google.firebase.vertexai.type.HarmCategory-com.google.firebase.vertexai.type.HarmBlockThreshold-"></a><a name="safetysetting"></a>
- <h3 class="api-name" id="SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold)">SafetySetting</a>(harmCategory: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a>, threshold: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a>)</pre>
+ <div class="api-item"><a name="SafetySetting(com.google.firebase.vertexai.type.HarmCategory, com.google.firebase.vertexai.type.HarmBlockThreshold, com.google.firebase.vertexai.type.HarmBlockMethod)"></a><a name="SafetySetting-com.google.firebase.vertexai.type.HarmCategory-com.google.firebase.vertexai.type.HarmBlockThreshold-com.google.firebase.vertexai.type.HarmBlockMethod-"></a><a name="safetysetting"></a>
+ <h3 class="api-name" id="SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</h3>
+ <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#SafetySetting(com.google.firebase.vertexai.type.HarmCategory,com.google.firebase.vertexai.type.HarmBlockThreshold,com.google.firebase.vertexai.type.HarmBlockMethod)">SafetySetting</a>(<br> harmCategory: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a>,<br> threshold: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a>,<br> method: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> = HarmBlockMethod.PROBABILITY<br>)</pre>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
@@ -91,6 +98,12 @@
<p>The threshold form harm allowable.</p>
</td>
</tr>
+ <tr>
+ <td><code>method: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a> = HarmBlockMethod.PROBABILITY</code></td>
+ <td>
+ <p>Specify if the threshold is used for probability or severity score.</p>
+ </td>
+ </tr>
</tbody>
</table>
</div>
@@ -103,6 +116,11 @@
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#harmCategory()">harmCategory</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a></pre>
<p>The relevant <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmCategory.html">HarmCategory</a></code>.</p>
</div>
+ <div class="api-item"><a name="getMethod()"></a><a name="setMethod()"></a><a name="getMethod--"></a><a name="setMethod--"></a>
+ <h3 class="api-name" id="method()">method</h3>
+ <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#method()">method</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></pre>
+ <p>Specify if the threshold is used for probability or severity score.</p>
+ </div>
<div class="api-item"><a name="getThreshold()"></a><a name="setThreshold()"></a><a name="getThreshold--"></a><a name="setThreshold--"></a>
<h3 class="api-name" id="threshold()">threshold</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html#threshold()">threshold</a>: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Tool.html 2024-09-25 16:42:02.400573178 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Tool.html 2024-09-25 16:39:49.306787727 +0000
@@ -21,45 +21,26 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public constructors</h3></th>
+ <th colspan="100%"><h3>Public companion functions</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a></code></td>
<td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html#Tool(kotlin.collections.List)">Tool</a>(functionDeclarations: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</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/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html#functionDeclarations()">functionDeclarations</a></code></div>
- <p>The set of functions that this tool allows the model access to</p>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a>(functionDeclarations: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>>)</code></div>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
- <h2>Public constructors</h2>
- <div class="api-item"><a name="Tool-kotlin.collections.List-"></a><a name="tool"></a>
- <h3 class="api-name" id="Tool(kotlin.collections.List)">Tool</h3>
- <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html#Tool(kotlin.collections.List)">Tool</a>(functionDeclarations: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>>)</pre>
+ <h2>Public companion functions</h2>
+ <div class="api-item"><a name="functionDeclarations-kotlin.collections.List-"></a><a name="functiondeclarations"></a>
+ <h3 class="api-name" id="functionDeclarations(kotlin.collections.List)">functionDeclarations</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a>(functionDeclarations: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a></pre>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html">Tool</a></code> instance that provides the model with access to the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.Companion.html#functionDeclarations(kotlin.collections.List)">functionDeclarations</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
@@ -75,7 +56,7 @@
<tr>
<td><code>functionDeclarations: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>></code></td>
<td>
- <p>The set of functions that this tool allows the model access to</p>
+ <p>The list of functions that this tool allows the model access to.</p>
</td>
</tr>
</tbody>
@@ -83,14 +64,6 @@
</div>
</div>
</div>
- <div class="list">
- <h2>Public properties</h2>
- <div class="api-item"><a name="getFunctionDeclarations()"></a><a name="setFunctionDeclarations()"></a><a name="getFunctionDeclarations--"></a><a name="setFunctionDeclarations--"></a>
- <h3 class="api-name" id="functionDeclarations()">functionDeclarations</h3>
- <pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Tool.html#functionDeclarations()">functionDeclarations</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionDeclaration.html">FunctionDeclaration</a>></pre>
- <p>The set of functions that this tool allows the model access to</p>
- </div>
- </div>
</body>
</html>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ToolConfig.html 2024-09-25 16:42:02.402573190 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/ToolConfig.html 2024-09-25 16:39:49.309787745 +0000
@@ -21,35 +21,6 @@
</colgroup>
<thead>
<tr>
- <th colspan="100%"><h3>Public companion functions</h3></th>
- </tr>
- </thead>
- <tbody class="list">
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">always</a>(allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>?)</code></div>
- <p>Shorthand to construct a ToolConfig that restricts the model to always call some function.</p>
- </td>
- </tr>
- <tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a></code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.Companion.html#never()">never</a>()</code></div>
- <p>Shorthand to construct a ToolConfig that restricts the model from calling any functions</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>
@@ -85,19 +56,6 @@
</table>
</div>
<div class="list">
- <h2>Public companion functions</h2>
- <div class="api-item"><a name="always-kotlin.collections.List-"></a><a name="always"></a>
- <h3 class="api-name" id="always(kotlin.collections.List)">always</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">always</a>(allowedFunctionNames: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = null): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a></pre>
- <p>Shorthand to construct a ToolConfig that restricts the model to always call some function. You can optionally <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.Companion.html#always(kotlin.collections.List)">allowedFunctionNames</a></code> to restrict the model to only call these functions. See <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.html">FunctionCallingConfig</a></code> for more information.</p>
- </div>
- <div class="api-item"><a name="never--"></a><a name="never"></a>
- <h3 class="api-name" id="never()">never</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.Companion.html#never()">never</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/ToolConfig.html">ToolConfig</a></pre>
- <p>Shorthand to construct a ToolConfig that restricts the model from calling any functions</p>
- </div>
- </div>
- <div class="list">
<h2>Public constructors</h2>
<div class="api-item"><a name="ToolConfig-com.google.firebase.vertexai.type.FunctionCallingConfig-"></a><a name="toolconfig"></a>
<h3 class="api-name" id="ToolConfig(com.google.firebase.vertexai.type.FunctionCallingConfig)">ToolConfig</h3> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html 2024-09-25 16:42:02.399573172 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/package-summary.html 2024-09-25 16:39:49.305787721 +0000
@@ -32,12 +32,6 @@
</colgroup>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code></td>
- <td>
- <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Candidate.html">Candidate</a></code></td>
<td>
<p>A response generated by the model.</p>
@@ -128,6 +122,12 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code></td>
+ <td>
+ <p>Represents binary data with an associated MIME type sent to and received from requests.</p>
+ </td>
+ </tr>
+ <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/PromptFeedback.html">PromptFeedback</a></code></td>
<td>
<p>Feedback on the prompt provided in the request.</p>
@@ -296,9 +296,9 @@
</td>
</tr>
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.Mode.html">FunctionCallingConfig.Mode</a></code></td>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.html">HarmBlockMethod</a></code></td>
<td>
- <p>Configuration for dictating when the model should call the attached function.</p>
+ <p>Specifies how the block method computes the score that will be compared against the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.html">HarmBlockThreshold</a></code> in <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/SafetySetting.html">SafetySetting</a></code>.</p>
</td>
</tr>
<tr>
@@ -362,13 +362,6 @@
</colgroup>
<tbody class="list">
<tr>
- <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>?</code></td>
- <td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</a>()</code></div>
- <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </td>
- </tr>
- <tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>?</code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</a>()</code></div>
@@ -383,6 +376,13 @@
</td>
</tr>
<tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>?</code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</a>()</code></div>
+ <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</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/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</a>()</code></div>
@@ -409,11 +409,6 @@
<pre class="prettyprint">generationConfig {<br> temperature = 0.75f<br> topP = 0.5f<br> topK = 30<br> candidateCount = 4<br> maxOutputTokens = 300<br> stopSequences = listOf("in conclusion", "-----", "do you need")<br>}</pre>
</div>
<h2>Extension functions</h2>
- <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asBlobPartOrNull--"></a><a name="asblobpartornull"></a>
- <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asBlobPartOrNull()">asBlobPartOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a>?</pre>
- <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/BlobPart.html">BlobPart</a></code> if it represents a blob, and null otherwise</p>
- </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asFileDataOrNull--"></a><a name="asfiledataornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asFileDataOrNull()">asFileDataOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FileDataPart.html">FileDataPart</a>?</pre>
@@ -424,6 +419,11 @@
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asImageOrNull()">asImageOrNull</a>(): <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a>?</pre>
<p>Returns the part as a <code><a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a></code> if it represents an image, and null otherwise</p>
</div>
+ <div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asInlineDataPartOrNull--"></a><a name="asinlinedatapartornull"></a>
+ <h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asInlineDataPartOrNull()">asInlineDataPartOrNull</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a>?</pre>
+ <p>Returns the part as a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InlineDataPart.html">InlineDataPart</a></code> if it represents inline data, and null otherwise</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.vertexai.type.Part-.asTextOrNull--"></a><a name="astextornull"></a>
<h3 class="api-name" id="(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Part.html">Part</a>.<a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/package-summary.html#(com.google.firebase.vertexai.type.Part).asTextOrNull()">asTextOrNull</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre> |
Generated by 🚫 Danger |
Size Report 1Affected Products
Test Logs |
It does not always come included in the response from the backend
VinayGuthal
approved these changes
Sep 25, 2024
daymxn
requested changes
Sep 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but there's some things worth looking at.
also going to ping you regarding something related.
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/server/Types.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/server/Types.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/common/server/Types.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/internal/util/conversions.kt
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Candidate.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.kt
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/HarmBlockMethod.kt
Outdated
Show resolved
Hide resolved
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Tool.kt
Show resolved
Hide resolved
emilypgoogle
approved these changes
Sep 25, 2024
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/FunctionCallingConfig.kt
Show resolved
Hide resolved
…/common/server/Types.kt Co-authored-by: Daymon <[email protected]>
…/common/server/Types.kt Co-authored-by: Daymon <[email protected]>
…/common/server/Types.kt Co-authored-by: Daymon <[email protected]>
…/type/Candidate.kt Co-authored-by: Daymon <[email protected]>
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.
A collection of improvements to the VertexAI SDK:
GenerativeModel
privateblob.*
toinlineData.*
FunctionCallingConfig
frequencyPenalty
andpresencePenalty
HarmBlockMethod
title
andpublicationDate
in `Citation