Skip to content

Commit e678da6

Browse files
committed
Add kdoc for functionDeclarations
1 parent fb96a99 commit e678da6

File tree

1 file changed

+6
-0
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ package com.google.firebase.vertexai.type
2424
*/
2525
class Tool internal constructor(internal val functionDeclarations: List<FunctionDeclaration>?) {
2626
companion object {
27+
28+
/**
29+
* Creates a [Tool] instance that provides the model with access to the [functionDeclarations].
30+
*
31+
* @param functionDeclarations The list of functions that this tool allows the model access to.
32+
*/
2733
@JvmStatic
2834
fun functionDeclarations(functionDeclarations: List<FunctionDeclaration>): Tool {
2935
return Tool(functionDeclarations)

0 commit comments

Comments
 (0)