Skip to content

Commit 5ed3b92

Browse files
authored
[AI] Update KDoc links to Markdown style (#8093)
Changed KDoc external links in `GoogleMaps.kt` and `Tool.kt` from `{@link ... | ...}` syntax to Markdown-style `[...](...)` for correctness.
1 parent 607382b commit 5ed3b92

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

ai-logic/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/GoogleMaps.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import kotlinx.serialization.Serializable
2323
* location-based information into its responses.
2424
*
2525
* Important: If using Grounding with Google Maps, you are required to comply with the "Grounding
26-
* with Google Maps" usage requirements for your chosen API provider: {@link
27-
* https://ai.google.dev/gemini-api/terms#grounding-with-google-maps | Gemini Developer API} or
28-
* Vertex AI Gemini API (see {@link https://cloud.google.com/terms/service-terms | Service Terms}
29-
* section within the Service Specific Terms).
26+
* with Google Maps" usage requirements for your chosen API provider:
27+
* [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-maps) or
28+
* Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms)) section
29+
* within the Service Specific Terms).
3030
*/
3131
public class GoogleMaps {
3232
@Serializable internal class Internal()

ai-logic/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Tool.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ internal constructor(
143143
* incorporate location-based information into its responses.
144144
*
145145
* When using this feature, you are required to comply with the "Grounding with Google Maps"
146-
* usage requirements for your chosen API provider: {@link
147-
* https://ai.google.dev/gemini-api/terms#grounding-with-google-maps | Gemini Developer API} or
148-
* Vertex AI Gemini API (see {@link https://cloud.google.com/terms/service-terms | Service
149-
* Terms} section within the Service Specific Terms).
146+
* usage requirements for your chosen API provider:
147+
* [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-maps) or
148+
* Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms)
149+
* section within the Service Specific Terms).
150150
*
151151
* @return A [Tool] configured for Google Maps.
152152
*/

0 commit comments

Comments
 (0)