Generation
object Generation
Entry class to get a GenerativeModel client.
Summary
Public functions |
|
|---|---|
GenerativeModel |
Creates a new instance of |
GenerativeModel |
getClient(options: GenerationConfig)Creates a new instance of |
Public functions
getClient
fun getClient(): GenerativeModel
Creates a new instance of GenerativeModel with default GenerationConfig.
| Returns | |
|---|---|
GenerativeModel |
The |
getClient
fun getClient(options: GenerationConfig): GenerativeModel
Creates a new instance of GenerativeModel.
| Parameters | |
|---|---|
options: GenerationConfig |
the configuration for generation. |