Generate Content Request
Represents a request to generate content, specifying the inputs, tools, and configurations required for content generation.
Constructors
Properties
An optional GenerationConfig that specifies detailed configuration settings for the generation process, such as output format, generation methods, and other technical parameters. It is nullable, allowing for flexibility in cases where default configurations are sufficient.
An optional list of SafetySetting objects that define safety-related configurations and constraints for the content generation. This ensures that the generated content adheres to specified safety guidelines. Defaults to an empty list if no safety settings are specified.
An optional Content object that provides additional instructions or context to the system performing the content generation. This can guide the generation process in a specific direction or ensure certain considerations are made.
An optional ToolConfig that provides global configuration settings for the tools involved in the generation process. It is nullable, allowing for cases where no specific configuration is needed.