Skip to content

Commit 7851830

Browse files
author
David Motsonashvili
committed
Merge branch 'davidmotson.fix_docs' into releases/m167.release
2 parents 5b5480f + b20e39d commit 7851830

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,13 @@ public class FinishReason private constructor(public val name: String, public va
299299
*
300300
* If using Grounding with Google Search, you are required to comply with the "Grounding with Google
301301
* Search" usage requirements for your chosen API provider:
302-
* [Gemini Developer
303-
* API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or
302+
* [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or
304303
* Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section
305304
* within the Service Specific Terms).
306305
*
307306
* @property webSearchQueries The list of web search queries that the model performed to gather the
308307
* grounding information. These can be used to allow users to explore the search results themselves.
309-
* @property searchEntryPoint Google search entry point for web searches. This contains an HTML/CSS
308+
* @property searchEntryPoint Google Search entry point for web searches. This contains an HTML/CSS
310309
* snippet that **must** be embedded in an app to display a Google Search Entry point for follow-up
311310
* web searches related to the model's "Grounded Response".
312311
* @property groundingChunks The list of [GroundingChunk] classes. Each chunk represents a piece of

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import kotlinx.serialization.Serializable
2424
*
2525
* When using this feature, you are required to comply with the "Grounding with Google Search" usage
2626
* requirements for your chosen API provider:
27-
* [Gemini Developer
28-
* API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or
27+
* [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or
2928
* Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section
3029
* within the Service Specific Terms).
3130
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private constructor(
3131
public var thinkingBudget: Int? = null
3232

3333
/**
34-
* Indicates the thinking budget in tokens. 0 is DISABLED. -1 is AUTOMATIC. The default values
34+
* Indicates the thinking budget in tokens. `0` is disabled. `-1` is dynamic. The default values
3535
* and allowed ranges are model dependent.
3636
*/
3737
public fun setThinkingBudget(thinkingBudget: Int): Builder = apply {

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ import kotlinx.serialization.Serializable
2020
import kotlinx.serialization.json.JsonObject
2121

2222
/**
23-
* Contains a set of function declarations that the model has access to. These can be used to gather
24-
* information, or complete tasks
25-
*
26-
* @param functionDeclarations The set of functions that this tool allows the model access to
23+
* Contains a set of tools (like function declarations) that the model has access to. These tools
24+
* can be used to gather information or complete tasks.
2725
*/
2826
public class Tool
2927
internal constructor(
@@ -62,8 +60,7 @@ internal constructor(
6260
*
6361
* When using this feature, you are required to comply with the "Grounding with Google Search"
6462
* usage requirements for your chosen API provider:
65-
* [Gemini Developer
66-
* API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search)
63+
* [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search)
6764
* or Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms)
6865
* section within the Service Specific Terms).
6966
*

0 commit comments

Comments
 (0)