Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ internal constructor(
Log.w(
TAG,
"""Unsupported Gemini model "${modelName}"; see
https://firebase.google.com/docs/vertex-ai/models for a list supported Gemini model names.
https://firebase.google.com/docs/ai-logic/models for a list supported Gemini model names.
"""
.trimIndent(),
)
Expand Down Expand Up @@ -207,7 +207,7 @@ internal constructor(
Log.w(
TAG,
"""Unsupported Gemini model "$modelName"; see
https://firebase.google.com/docs/vertex-ai/models for a list supported Gemini model names.
https://firebase.google.com/docs/ai-logic/models for a list supported Gemini model names.
"""
.trimIndent(),
)
Expand Down Expand Up @@ -264,7 +264,7 @@ internal constructor(
Log.w(
TAG,
"""Unsupported Imagen model "${modelName}"; see
https://firebase.google.com/docs/vertex-ai/models for a list supported Imagen model names.
https://firebase.google.com/docs/ai-logic/models for a list supported Imagen model names.
"""
.trimIndent(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ internal constructor(location: String, cause: Throwable? = null) :
/**
* The service is not enabled for this Firebase project. Learn how to enable the required services
* in the
* [Firebase documentation.](https://firebase.google.com/docs/vertex-ai/faq-and-troubleshooting#required-apis)
* [Firebase documentation.](https://firebase.google.com/docs/ai-logic/faq-and-troubleshooting#required-apis)
*/
public class ServiceDisabledException
internal constructor(message: String, cause: Throwable? = null) :
FirebaseAIException(message, cause)

/**
* The request has hit a quota limit. Learn more about quotas in the
* [Firebase documentation.](https://firebase.google.com/docs/vertex-ai/quotas)
* [Firebase documentation.](https://firebase.google.com/docs/ai-logic/quotas)
*/
public class QuotaExceededException
internal constructor(message: String, cause: Throwable? = null) :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import kotlinx.serialization.Serializable
* ```
*
* See the
* [Use the Gemini API for function calling](https://firebase.google.com/docs/vertex-ai/function-calling?platform=android)
* [Use the Gemini API for function calling](https://firebase.google.com/docs/ai-logic/function-calling?platform=android)
* guide for more information on function calling.
*
* @param name The name of the function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import kotlinx.serialization.Serializable
*
* @param data Byte array representing the data to be sent.
* @param mimeType an IANA standard MIME type. For supported MIME type values see the
* [Firebase documentation](https://firebase.google.com/docs/vertex-ai/input-file-requirements).
* [Firebase documentation](https://firebase.google.com/docs/ai-logic/input-file-requirements).
*/
@PublicPreviewAPI
@Deprecated("Use `InlineData` instead", ReplaceWith("InlineData"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ internal constructor(
/**
* @param inlineData the binary data as a [ByteArray]
* @param mimeType an IANA standard MIME type. For supported values, see the
* [Firebase documentation](https://firebase.google.com/docs/vertex-ai/input-file-requirements).
* [Firebase documentation](https://firebase.google.com/docs/ai-logic/input-file-requirements).
*/
public constructor(
inlineData: ByteArray,
Expand All @@ -237,7 +237,7 @@ internal constructor(
/**
* @param inlineData the binary data as a [ByteArray]
* @param mimeType an IANA standard MIME type. For supported values, see the
* [Firebase documentation](https://firebase.google.com/docs/vertex-ai/input-file-requirements).
* [Firebase documentation](https://firebase.google.com/docs/ai-logic/input-file-requirements).
* @param displayName the name of the file, including the extension
*/
public constructor(
Expand Down Expand Up @@ -447,7 +447,7 @@ internal constructor(
* @param uri The `"gs://"`-prefixed URI of the file in Cloud Storage for Firebase, for example,
* `"gs://bucket-name/path/image.jpg"`
* @param mimeType an IANA standard MIME type. For supported MIME type values see the
* [Firebase documentation](https://firebase.google.com/docs/vertex-ai/input-file-requirements).
* [Firebase documentation](https://firebase.google.com/docs/ai-logic/input-file-requirements).
*/
public constructor(uri: String, mimeType: String) : this(uri, mimeType, false, null)

Expand Down
Loading