public class GeminiResponseSchema extends Object
| Constructor and Description |
|---|
GeminiResponseSchema() |
| Modifier and Type | Method and Description |
|---|---|
static GeminiResponseSchema |
array(String key)
"responseSchema": {
"type": "object",
"properties": {
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
|
static GeminiResponseSchema |
pythonCode()
"responseSchema": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"tool": {
"type": "string"
}
"code": {
"type": "string"
},
}
}
|
public static GeminiResponseSchema array(String key)
public static GeminiResponseSchema pythonCode()
Copyright © 2025. All rights reserved.