GenerationConfig

public final class GenerationConfig


Configuration parameters to use for content generation.

Summary

Nested types

public final class GenerationConfig.Builder
public static class GenerationConfig.Companion

Public methods

final ExecutorService

the ExecutorService on which background tasks should be run.

Public methods

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.