GoogleCloudAiplatformV1GenerateContentRequest class
Request message for [PredictionService.GenerateContent].
Constructors
-
GoogleCloudAiplatformV1GenerateContentRequest({List<
GoogleCloudAiplatformV1Content> ? contents, GoogleCloudAiplatformV1GenerationConfig? generationConfig, List<GoogleCloudAiplatformV1SafetySetting> ? safetySettings, List<GoogleCloudAiplatformV1Tool> ? tools}) - GoogleCloudAiplatformV1GenerateContentRequest.fromJson(Map json_)
Properties
-
contents
↔ List<
GoogleCloudAiplatformV1Content> ? -
The content of the current conversation with the model.
getter/setter pair
- generationConfig ↔ GoogleCloudAiplatformV1GenerationConfig?
-
Generation config.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
safetySettings
↔ List<
GoogleCloudAiplatformV1SafetySetting> ? -
Per request settings for blocking unsafe content.
getter/setter pair
-
tools
↔ List<
GoogleCloudAiplatformV1Tool> ? -
A list of
Tools
the model may use to generate the next response.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited