diff --git a/FirebaseAI/Sources/Tool.swift b/FirebaseAI/Sources/Tool.swift index 53e0ee8b49e..e051b3b5ea4 100644 --- a/FirebaseAI/Sources/Tool.swift +++ b/FirebaseAI/Sources/Tool.swift @@ -136,6 +136,9 @@ public struct Tool: Sendable { /// /// By including URLs in your request, the Gemini model will access the content from those pages /// to inform and enhance its response. + /// + /// > Warning: URL context is a **Public Preview** feature, which means that it is not subject to + /// > any SLA or deprecation policy and could change in backwards-incompatible ways. public static func urlContext() -> Tool { return self.init(urlContext: URLContext()) } diff --git a/FirebaseAI/Sources/Types/Public/URLContextMetadata.swift b/FirebaseAI/Sources/Types/Public/URLContextMetadata.swift index 5ff671f68eb..5689c7610f7 100644 --- a/FirebaseAI/Sources/Types/Public/URLContextMetadata.swift +++ b/FirebaseAI/Sources/Types/Public/URLContextMetadata.swift @@ -13,6 +13,9 @@ // limitations under the License. /// Metadata related to the ``Tool/urlContext()`` tool. +/// +/// > Warning: URL context is a **Public Preview** feature, which means that it is not subject to +/// > any SLA or deprecation policy and could change in backwards-incompatible ways. @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) public struct URLContextMetadata: Sendable, Hashable { /// List of URL metadata used to provide context to the Gemini model. diff --git a/FirebaseAI/Sources/Types/Public/URLMetadata.swift b/FirebaseAI/Sources/Types/Public/URLMetadata.swift index 50ee16a7e86..3833d71accf 100644 --- a/FirebaseAI/Sources/Types/Public/URLMetadata.swift +++ b/FirebaseAI/Sources/Types/Public/URLMetadata.swift @@ -15,6 +15,9 @@ import Foundation /// Metadata for a single URL retrieved by the ``Tool/urlContext()`` tool. +/// +/// > Warning: URL context is a **Public Preview** feature, which means that it is not subject to +/// > any SLA or deprecation policy and could change in backwards-incompatible ways. @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) public struct URLMetadata: Sendable, Hashable { /// Status of the URL retrieval.