GenerationConfig

public final class GenerationConfig 

Configuration parameters to use for content generation.

Summary

Nested types

public final class GenerationConfig.Builder

Builder for GenerationConfig .

public static class GenerationConfig.Companion

Public methods

final @ NonNull ModelConfig

Specifies the desired model to use.

final ExecutorService

the ExecutorService on which background tasks should be run.

Public methods

getModelConfig

public final @ NonNull 
 ModelConfig 
 getModelConfig 
()

Specifies the desired model to use. Defaults to ModelConfig.DEFAULT .

getWorkerExecutor

public final  ExecutorService 
 getWorkerExecutor 
()

the ExecutorService on which background tasks should be run. If no value is specified, a background thread pool will be used.

Create a Mobile Website
View Site in Mobile | Classic
Share by: