-
Notifications
You must be signed in to change notification settings - Fork 621
Fix release notes + dataconnect config #6385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/FirebaseVertexAI.html 2024-10-17 17:51:07.854730285 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/FirebaseVertexAI.html 2024-10-17 17:48:57.200935450 +0000
@@ -119,7 +119,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/lang/String.html">String</a> modelName</code></td>
<td>
- <p>The name of the model to use, for example "gemini-1.5-pro".</p>
+ <p>The name of the model to use, for example <code>"gemini-1.5-pro"</code>.</p>
</td>
</tr>
<tr> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/java/ChatFutures.html 2024-10-17 17:51:07.850730234 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/java/ChatFutures.html 2024-10-17 17:48:57.192935329 +0000
@@ -165,13 +165,13 @@
</thead>
<tbody class="list">
<tr>
- <td><code>InvalidStateException InvalidStateException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a> com.google.firebase.vertexai.type.InvalidStateException</code></td>
<td>
<p>if <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html#sendMessage(com.google.firebase.vertexai.type.Content)">prompt</a></code> is not coming from the 'user' role</p>
</td>
</tr>
<tr>
- <td><code>InvalidStateException InvalidStateException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a> com.google.firebase.vertexai.type.InvalidStateException</code></td>
<td>
<p>if the <code><a href="/docs/reference/android/com/google/firebase/vertexai/Chat.html">Chat</a></code> instance has an active request</p>
</td>
@@ -220,13 +220,13 @@
</thead>
<tbody class="list">
<tr>
- <td><code>InvalidStateException InvalidStateException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a> com.google.firebase.vertexai.type.InvalidStateException</code></td>
<td>
<p>if <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html#sendMessageStream(com.google.firebase.vertexai.type.Content)">prompt</a></code> is not coming from the 'user' role</p>
</td>
</tr>
<tr>
- <td><code>InvalidStateException InvalidStateException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a> com.google.firebase.vertexai.type.InvalidStateException</code></td>
<td>
<p>if the <code><a href="/docs/reference/android/com/google/firebase/vertexai/Chat.html">Chat</a></code> instance has an active request</p>
</td> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html 2024-10-17 17:51:07.850730234 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html 2024-10-17 17:48:57.188935268 +0000
@@ -102,14 +102,14 @@
<td><code>abstract @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat()">startChat</a>()</code></div>
- <p>Creates a ChatFuture instance which internally tracks the ongoing conversation with the model.</p>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance which internally tracks the ongoing conversation with the model.</p>
</td>
</tr>
<tr>
<td><code>abstract @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code></td>
<td>
<div><code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">startChat</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/Content.html">Content</a>> history)</code></div>
- <p>Creates a ChatFuture instance, initialized using the optionally provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance, initialized using the optionally provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
</td>
</tr>
</tbody>
@@ -176,7 +176,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException FirebaseVertexAIException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a> com.google.firebase.vertexai.type.FirebaseVertexAIException</code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -269,7 +269,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException FirebaseVertexAIException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a> com.google.firebase.vertexai.type.FirebaseVertexAIException</code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -337,7 +337,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException FirebaseVertexAIException</code></td>
+ <td><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a> com.google.firebase.vertexai.type.FirebaseVertexAIException</code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -354,12 +354,12 @@
<div class="api-item"><a name="startChat--"></a><a name="startchat"></a>
<h3 class="api-name" id="startChat()">startChat</h3>
<pre class="api-signature no-pretty-print">public abstract @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat()">startChat</a>()</pre>
- <p>Creates a ChatFuture instance which internally tracks the ongoing conversation with the model.</p>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance which internally tracks the ongoing conversation with the model.</p>
</div>
<div class="api-item"><a name="startChat-kotlin.collections.List-"></a><a name="startchat"></a>
<h3 class="api-name" id="startChat(kotlin.collections.List)">startChat</h3>
<pre class="api-signature no-pretty-print">public abstract @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a> <a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">startChat</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/Content.html">Content</a>> history)</pre>
- <p>Creates a ChatFuture instance, initialized using the optionally provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
+ <p>Creates a <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance, initialized using the optionally provided <code><a href="/docs/reference/android/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Content.html 2024-10-17 17:51:07.854730285 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/Content.html 2024-10-17 17:48:57.192935329 +0000
@@ -116,7 +116,7 @@
<div class="api-item"><a name="getRole()"></a><a name="setRole()"></a><a name="getRole--"></a><a name="setRole--"></a>
<h3 class="api-name" id="role()">role</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/Content.html#role()">role</a></pre>
- <p>The producer of the content. Must be either 'user' or 'model'. By default, it's "user".</p>
+ <p>The producer of the content. Must be either <code>"user"</code> or <code>"model"</code>. By default, it's <code>"user"</code>.</p>
</div>
</div>
<div class="list">
@@ -139,7 +139,7 @@
<tr>
<td><code><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a> role</code></td>
<td>
- <p>The producer of the content. Must be either 'user' or 'model'. By default, it's "user".</p>
+ <p>The producer of the content. Must be either <code>"user"</code> or <code>"model"</code>. By default, it's <code>"user"</code>.</p>
</td>
</tr>
<tr> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/FirebaseVertexAI.html 2024-10-17 17:51:07.850730234 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/FirebaseVertexAI.html 2024-10-17 17:48:57.188935268 +0000
@@ -147,7 +147,7 @@
<tr>
<td><code>modelName: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
<td>
- <p>The name of the model to use, for example "gemini-1.5-pro".</p>
+ <p>The name of the model to use, for example <code>"gemini-1.5-pro"</code>.</p>
</td>
</tr>
<tr> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/java/ChatFutures.html 2024-10-17 17:51:07.842730131 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/java/ChatFutures.html 2024-10-17 17:48:57.180935147 +0000
@@ -163,13 +163,13 @@
</thead>
<tbody class="list">
<tr>
- <td><code>InvalidStateException: InvalidStateException</code></td>
+ <td><code>com.google.firebase.vertexai.type.InvalidStateException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a></code></td>
<td>
<p>if <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html#sendMessage(com.google.firebase.vertexai.type.Content)">prompt</a></code> is not coming from the 'user' role</p>
</td>
</tr>
<tr>
- <td><code>InvalidStateException: InvalidStateException</code></td>
+ <td><code>com.google.firebase.vertexai.type.InvalidStateException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a></code></td>
<td>
<p>if the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/Chat.html">Chat</a></code> instance has an active request</p>
</td>
@@ -218,13 +218,13 @@
</thead>
<tbody class="list">
<tr>
- <td><code>InvalidStateException: InvalidStateException</code></td>
+ <td><code>com.google.firebase.vertexai.type.InvalidStateException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a></code></td>
<td>
<p>if <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html#sendMessageStream(com.google.firebase.vertexai.type.Content)">prompt</a></code> is not coming from the 'user' role</p>
</td>
</tr>
<tr>
- <td><code>InvalidStateException: InvalidStateException</code></td>
+ <td><code>com.google.firebase.vertexai.type.InvalidStateException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/InvalidStateException.html">com.google.firebase.vertexai.type.InvalidStateException</a></code></td>
<td>
<p>if the <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/Chat.html">Chat</a></code> instance has an active request</p>
</td> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html 2024-10-17 17:51:07.842730131 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html 2024-10-17 17:48:57.180935147 +0000
@@ -97,14 +97,14 @@
<td><code>abstract <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat()">startChat</a>()</code></div>
- <p>Creates a ChatFuture instance which internally tracks the ongoing conversation with the model.</p>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance which internally tracks the ongoing conversation with the model.</p>
</td>
</tr>
<tr>
<td><code>abstract <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code></td>
<td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">startChat</a>(history: <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/Content.html">Content</a>>)</code></div>
- <p>Creates a ChatFuture instance, initialized using the optionally provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance, initialized using the optionally provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
</td>
</tr>
</tbody>
@@ -199,7 +199,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException: FirebaseVertexAIException</code></td>
+ <td><code>com.google.firebase.vertexai.type.FirebaseVertexAIException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a></code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -267,7 +267,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException: FirebaseVertexAIException</code></td>
+ <td><code>com.google.firebase.vertexai.type.FirebaseVertexAIException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a></code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -335,7 +335,7 @@
</thead>
<tbody class="list">
<tr>
- <td><code>FirebaseVertexAIException: FirebaseVertexAIException</code></td>
+ <td><code>com.google.firebase.vertexai.type.FirebaseVertexAIException: <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/FirebaseVertexAIException.html">com.google.firebase.vertexai.type.FirebaseVertexAIException</a></code></td>
<td>
<p>if the request failed.</p>
</td>
@@ -352,12 +352,12 @@
<div class="api-item"><a name="startChat--"></a><a name="startchat"></a>
<h3 class="api-name" id="startChat()">startChat</h3>
<pre class="api-signature no-pretty-print">abstract fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat()">startChat</a>(): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></pre>
- <p>Creates a ChatFuture instance which internally tracks the ongoing conversation with the model.</p>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance which internally tracks the ongoing conversation with the model.</p>
</div>
<div class="api-item"><a name="startChat-kotlin.collections.List-"></a><a name="startchat"></a>
<h3 class="api-name" id="startChat(kotlin.collections.List)">startChat</h3>
<pre class="api-signature no-pretty-print">abstract fun <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">startChat</a>(history: <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/Content.html">Content</a>>): <a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></pre>
- <p>Creates a ChatFuture instance, initialized using the optionally provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
+ <p>Creates a <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/ChatFutures.html">ChatFutures</a></code> instance, initialized using the optionally provided <code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/java/GenerativeModelFutures.html#startChat(kotlin.collections.List)">history</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Content.html 2024-10-17 17:51:07.846730183 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/Content.html 2024-10-17 17:48:57.184935208 +0000
@@ -126,7 +126,7 @@
<tr>
<td><code>role: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>? = "user"</code></td>
<td>
- <p>The producer of the content. Must be either 'user' or 'model'. By default, it's "user".</p>
+ <p>The producer of the content. Must be either <code>"user"</code> or <code>"model"</code>. By default, it's <code>"user"</code>.</p>
</td>
</tr>
<tr>
@@ -158,7 +158,7 @@
<div class="api-item"><a name="getRole()"></a><a name="setRole()"></a><a name="getRole--"></a><a name="setRole--"></a>
<h3 class="api-name" id="role()">role</h3>
<pre class="api-signature no-pretty-print">val <a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/Content.html#role()">role</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?</pre>
- <p>The producer of the content. Must be either 'user' or 'model'. By default, it's "user".</p>
+ <p>The producer of the content. Must be either <code>"user"</code> or <code>"model"</code>. By default, it's <code>"user"</code>.</p>
</div>
</div>
</body> |
Vertex AI Mock Responses Check
|
rlazo
approved these changes
Oct 17, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Per b/373637986,
This fixes the release notes configuration for the
data-connect
SDK, as they seemed to be incorrect.This PR also fixes the following:
nist.gov