Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.discoveryengine/v1beta.Conversation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. Auto-naming is currently not supported for this resource.
Create Conversation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Conversation(name: string, args: ConversationArgs, opts?: CustomResourceOptions);
@overload
def Conversation(resource_name: str,
args: ConversationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Conversation(resource_name: str,
opts: Optional[ResourceOptions] = None,
collection_id: Optional[str] = None,
data_store_id: Optional[str] = None,
location: Optional[str] = None,
messages: Optional[Sequence[GoogleCloudDiscoveryengineV1betaConversationMessageArgs]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
state: Optional[ConversationState] = None,
user_pseudo_id: Optional[str] = None)
func NewConversation(ctx *Context, name string, args ConversationArgs, opts ...ResourceOption) (*Conversation, error)
public Conversation(string name, ConversationArgs args, CustomResourceOptions? opts = null)
public Conversation(String name, ConversationArgs args)
public Conversation(String name, ConversationArgs args, CustomResourceOptions options)
type: google-native:discoveryengine/v1beta:Conversation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConversationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConversationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConversationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConversationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConversationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleconversationResourceResourceFromDiscoveryenginev1beta = new GoogleNative.DiscoveryEngine.V1Beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", new()
{
CollectionId = "string",
DataStoreId = "string",
Location = "string",
Messages = new[]
{
new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaConversationMessageArgs
{
Reply = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyArgs
{
References = new[]
{
new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs
{
AnchorText = "string",
End = 0,
Start = 0,
Uri = "string",
},
},
Summary = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs
{
SafetyAttributes = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs
{
Categories = new[]
{
"string",
},
Scores = new[]
{
0,
},
},
SummarySkippedReasons = new[]
{
GoogleNative.DiscoveryEngine.V1Beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SummarySkippedReasonUnspecified,
},
SummaryText = "string",
},
},
UserInput = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaTextInputArgs
{
Context = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaConversationContextArgs
{
ActiveDocument = "string",
ContextDocuments = new[]
{
"string",
},
},
Input = "string",
},
},
},
Name = "string",
Project = "string",
State = GoogleNative.DiscoveryEngine.V1Beta.ConversationState.StateUnspecified,
UserPseudoId = "string",
});
example, err := discoveryenginev1beta.NewConversation(ctx, "exampleconversationResourceResourceFromDiscoveryenginev1beta", &discoveryenginev1beta.ConversationArgs{
CollectionId: pulumi.String("string"),
DataStoreId: pulumi.String("string"),
Location: pulumi.String("string"),
Messages: discoveryengine.GoogleCloudDiscoveryengineV1betaConversationMessageArray{
&discoveryengine.GoogleCloudDiscoveryengineV1betaConversationMessageArgs{
Reply: &discoveryengine.GoogleCloudDiscoveryengineV1betaReplyArgs{
References: discoveryengine.GoogleCloudDiscoveryengineV1betaReplyReferenceArray{
&discoveryengine.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs{
AnchorText: pulumi.String("string"),
End: pulumi.Int(0),
Start: pulumi.Int(0),
Uri: pulumi.String("string"),
},
},
Summary: &discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs{
SafetyAttributes: &discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs{
Categories: pulumi.StringArray{
pulumi.String("string"),
},
Scores: pulumi.Float64Array{
pulumi.Float64(0),
},
},
SummarySkippedReasons: discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemArray{
discoveryenginev1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemSummarySkippedReasonUnspecified,
},
SummaryText: pulumi.String("string"),
},
},
UserInput: &discoveryengine.GoogleCloudDiscoveryengineV1betaTextInputArgs{
Context: &discoveryengine.GoogleCloudDiscoveryengineV1betaConversationContextArgs{
ActiveDocument: pulumi.String("string"),
ContextDocuments: pulumi.StringArray{
pulumi.String("string"),
},
},
Input: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
State: discoveryenginev1beta.ConversationStateStateUnspecified,
UserPseudoId: pulumi.String("string"),
})
var exampleconversationResourceResourceFromDiscoveryenginev1beta = new Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", ConversationArgs.builder()
.collectionId("string")
.dataStoreId("string")
.location("string")
.messages(GoogleCloudDiscoveryengineV1betaConversationMessageArgs.builder()
.reply(GoogleCloudDiscoveryengineV1betaReplyArgs.builder()
.references(GoogleCloudDiscoveryengineV1betaReplyReferenceArgs.builder()
.anchorText("string")
.end(0)
.start(0)
.uri("string")
.build())
.summary(GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs.builder()
.safetyAttributes(GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs.builder()
.categories("string")
.scores(0)
.build())
.summarySkippedReasons("SUMMARY_SKIPPED_REASON_UNSPECIFIED")
.summaryText("string")
.build())
.build())
.userInput(GoogleCloudDiscoveryengineV1betaTextInputArgs.builder()
.context(GoogleCloudDiscoveryengineV1betaConversationContextArgs.builder()
.activeDocument("string")
.contextDocuments("string")
.build())
.input("string")
.build())
.build())
.name("string")
.project("string")
.state("STATE_UNSPECIFIED")
.userPseudoId("string")
.build());
exampleconversation_resource_resource_from_discoveryenginev1beta = google_native.discoveryengine.v1beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta",
collection_id="string",
data_store_id="string",
location="string",
messages=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaConversationMessageArgs(
reply=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaReplyArgs(
references=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs(
anchor_text="string",
end=0,
start=0,
uri="string",
)],
summary=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs(
safety_attributes=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs(
categories=["string"],
scores=[0],
),
summary_skipped_reasons=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SUMMARY_SKIPPED_REASON_UNSPECIFIED],
summary_text="string",
),
),
user_input=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaTextInputArgs(
context=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaConversationContextArgs(
active_document="string",
context_documents=["string"],
),
input="string",
),
)],
name="string",
project="string",
state=google_native.discoveryengine.v1beta.ConversationState.STATE_UNSPECIFIED,
user_pseudo_id="string")
const exampleconversationResourceResourceFromDiscoveryenginev1beta = new google_native.discoveryengine.v1beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", {
collectionId: "string",
dataStoreId: "string",
location: "string",
messages: [{
reply: {
references: [{
anchorText: "string",
end: 0,
start: 0,
uri: "string",
}],
summary: {
safetyAttributes: {
categories: ["string"],
scores: [0],
},
summarySkippedReasons: [google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SummarySkippedReasonUnspecified],
summaryText: "string",
},
},
userInput: {
context: {
activeDocument: "string",
contextDocuments: ["string"],
},
input: "string",
},
}],
name: "string",
project: "string",
state: google_native.discoveryengine.v1beta.ConversationState.StateUnspecified,
userPseudoId: "string",
});
type: google-native:discoveryengine/v1beta:Conversation
properties:
collectionId: string
dataStoreId: string
location: string
messages:
- reply:
references:
- anchorText: string
end: 0
start: 0
uri: string
summary:
safetyAttributes:
categories:
- string
scores:
- 0
summarySkippedReasons:
- SUMMARY_SKIPPED_REASON_UNSPECIFIED
summaryText: string
userInput:
context:
activeDocument: string
contextDocuments:
- string
input: string
name: string
project: string
state: STATE_UNSPECIFIED
userPseudoId: string
Conversation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Conversation resource accepts the following input properties:
- Collection
Id string - Data
Store stringId - Location string
- Messages
List<Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Message> - Conversation messages.
- Name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Project string
- State
Pulumi.
Google Native. Discovery Engine. V1Beta. Conversation State - The state of the Conversation.
- User
Pseudo stringId - A unique identifier for tracking users.
- Collection
Id string - Data
Store stringId - Location string
- Messages
[]Google
Cloud Discoveryengine V1beta Conversation Message Args - Conversation messages.
- Name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Project string
- State
Conversation
State Enum - The state of the Conversation.
- User
Pseudo stringId - A unique identifier for tracking users.
- collection
Id String - data
Store StringId - location String
- messages
List<Google
Cloud Discoveryengine V1beta Conversation Message> - Conversation messages.
- name String
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project String
- state
Conversation
State - The state of the Conversation.
- user
Pseudo StringId - A unique identifier for tracking users.
- collection
Id string - data
Store stringId - location string
- messages
Google
Cloud Discoveryengine V1beta Conversation Message[] - Conversation messages.
- name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project string
- state
Conversation
State - The state of the Conversation.
- user
Pseudo stringId - A unique identifier for tracking users.
- collection_
id str - data_
store_ strid - location str
- messages
Sequence[Google
Cloud Discoveryengine V1beta Conversation Message Args] - Conversation messages.
- name str
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project str
- state
Conversation
State - The state of the Conversation.
- user_
pseudo_ strid - A unique identifier for tracking users.
- collection
Id String - data
Store StringId - location String
- messages List<Property Map>
- Conversation messages.
- name String
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project String
- state "STATE_UNSPECIFIED" | "IN_PROGRESS" | "COMPLETED"
- The state of the Conversation.
- user
Pseudo StringId - A unique identifier for tracking users.
Outputs
All input properties are implicitly available as output properties. Additionally, the Conversation resource produces the following output properties:
- end_
time str - The time the conversation finished.
- id str
- The provider-assigned unique ID for this managed resource.
- start_
time str - The time the conversation started.
Supporting Types
ConversationState, ConversationStateArgs
- State
Unspecified - STATE_UNSPECIFIEDUnknown.
- In
Progress - IN_PROGRESSConversation is currently open.
- Completed
- COMPLETEDConversation has been completed.
- Conversation
State State Unspecified - STATE_UNSPECIFIEDUnknown.
- Conversation
State In Progress - IN_PROGRESSConversation is currently open.
- Conversation
State Completed - COMPLETEDConversation has been completed.
- State
Unspecified - STATE_UNSPECIFIEDUnknown.
- In
Progress - IN_PROGRESSConversation is currently open.
- Completed
- COMPLETEDConversation has been completed.
- State
Unspecified - STATE_UNSPECIFIEDUnknown.
- In
Progress - IN_PROGRESSConversation is currently open.
- Completed
- COMPLETEDConversation has been completed.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDUnknown.
- IN_PROGRESS
- IN_PROGRESSConversation is currently open.
- COMPLETED
- COMPLETEDConversation has been completed.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDUnknown.
- "IN_PROGRESS"
- IN_PROGRESSConversation is currently open.
- "COMPLETED"
- COMPLETEDConversation has been completed.
GoogleCloudDiscoveryengineV1betaConversationContext, GoogleCloudDiscoveryengineV1betaConversationContextArgs
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents List<string> - The current list of documents the user is seeing. It contains the document resource references.
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents []string - The current list of documents the user is seeing. It contains the document resource references.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
- active
Document string - The current active document the user opened. It contains the document resource reference.
- context
Documents string[] - The current list of documents the user is seeing. It contains the document resource references.
- active_
document str - The current active document the user opened. It contains the document resource reference.
- context_
documents Sequence[str] - The current list of documents the user is seeing. It contains the document resource references.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
GoogleCloudDiscoveryengineV1betaConversationContextResponse, GoogleCloudDiscoveryengineV1betaConversationContextResponseArgs
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents List<string> - The current list of documents the user is seeing. It contains the document resource references.
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents []string - The current list of documents the user is seeing. It contains the document resource references.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
- active
Document string - The current active document the user opened. It contains the document resource reference.
- context
Documents string[] - The current list of documents the user is seeing. It contains the document resource references.
- active_
document str - The current active document the user opened. It contains the document resource reference.
- context_
documents Sequence[str] - The current list of documents the user is seeing. It contains the document resource references.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
GoogleCloudDiscoveryengineV1betaConversationMessage, GoogleCloudDiscoveryengineV1betaConversationMessageArgs
- Reply
Google
Cloud Discoveryengine V1beta Reply - Search reply.
- User
Input GoogleCloud Discoveryengine V1beta Text Input - User text input.
- reply
Google
Cloud Discoveryengine V1beta Reply - Search reply.
- user
Input GoogleCloud Discoveryengine V1beta Text Input - User text input.
- reply
Google
Cloud Discoveryengine V1beta Reply - Search reply.
- user
Input GoogleCloud Discoveryengine V1beta Text Input - User text input.
- reply
Google
Cloud Discoveryengine V1beta Reply - Search reply.
- user_
input GoogleCloud Discoveryengine V1beta Text Input - User text input.
- reply Property Map
- Search reply.
- user
Input Property Map - User text input.
GoogleCloudDiscoveryengineV1betaConversationMessageResponse, GoogleCloudDiscoveryengineV1betaConversationMessageResponseArgs
- Create
Time string - Message creation timestamp.
- Reply
Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Response - Search reply.
- User
Input Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Text Input Response - User text input.
- Create
Time string - Message creation timestamp.
- Reply
Google
Cloud Discoveryengine V1beta Reply Response - Search reply.
- User
Input GoogleCloud Discoveryengine V1beta Text Input Response - User text input.
- create
Time String - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1beta Reply Response - Search reply.
- user
Input GoogleCloud Discoveryengine V1beta Text Input Response - User text input.
- create
Time string - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1beta Reply Response - Search reply.
- user
Input GoogleCloud Discoveryengine V1beta Text Input Response - User text input.
- create_
time str - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1beta Reply Response - Search reply.
- user_
input GoogleCloud Discoveryengine V1beta Text Input Response - User text input.
- create
Time String - Message creation timestamp.
- reply Property Map
- Search reply.
- user
Input Property Map - User text input.
GoogleCloudDiscoveryengineV1betaReply, GoogleCloudDiscoveryengineV1betaReplyArgs
- References
List<Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Reference> - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary - Summary based on search results.
- References
[]Google
Cloud Discoveryengine V1beta Reply Reference - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Google
Cloud Discoveryengine V1beta Search Response Summary - Summary based on search results.
- references
List<Google
Cloud Discoveryengine V1beta Reply Reference> - References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary - Summary based on search results.
- references
Google
Cloud Discoveryengine V1beta Reply Reference[] - References in the reply.
- reply string
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary - Summary based on search results.
- references
Sequence[Google
Cloud Discoveryengine V1beta Reply Reference] - References in the reply.
- reply str
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary - Summary based on search results.
- references List<Property Map>
- References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary Property Map
- Summary based on search results.
GoogleCloudDiscoveryengineV1betaReplyReference, GoogleCloudDiscoveryengineV1betaReplyReferenceArgs
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- anchor
Text String - Anchor text.
- end Integer
- Anchor text end index.
- start Integer
- Anchor text start index.
- uri String
- URI link reference.
- anchor
Text string - Anchor text.
- end number
- Anchor text end index.
- start number
- Anchor text start index.
- uri string
- URI link reference.
- anchor_
text str - Anchor text.
- end int
- Anchor text end index.
- start int
- Anchor text start index.
- uri str
- URI link reference.
- anchor
Text String - Anchor text.
- end Number
- Anchor text end index.
- start Number
- Anchor text start index.
- uri String
- URI link reference.
GoogleCloudDiscoveryengineV1betaReplyReferenceResponse, GoogleCloudDiscoveryengineV1betaReplyReferenceResponseArgs
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- anchor
Text String - Anchor text.
- end Integer
- Anchor text end index.
- start Integer
- Anchor text start index.
- uri String
- URI link reference.
- anchor
Text string - Anchor text.
- end number
- Anchor text end index.
- start number
- Anchor text start index.
- uri string
- URI link reference.
- anchor_
text str - Anchor text.
- end int
- Anchor text end index.
- start int
- Anchor text start index.
- uri str
- URI link reference.
- anchor
Text String - Anchor text.
- end Number
- Anchor text end index.
- start Number
- Anchor text start index.
- uri String
- URI link reference.
GoogleCloudDiscoveryengineV1betaReplyResponse, GoogleCloudDiscoveryengineV1betaReplyResponseArgs
- References
List<Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Reference Response> - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Response - Summary based on search results.
- References
[]Google
Cloud Discoveryengine V1beta Reply Reference Response - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Google
Cloud Discoveryengine V1beta Search Response Summary Response - Summary based on search results.
- references
List<Google
Cloud Discoveryengine V1beta Reply Reference Response> - References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary Response - Summary based on search results.
- references
Google
Cloud Discoveryengine V1beta Reply Reference Response[] - References in the reply.
- reply string
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary Response - Summary based on search results.
- references
Sequence[Google
Cloud Discoveryengine V1beta Reply Reference Response] - References in the reply.
- reply str
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1beta Search Response Summary Response - Summary based on search results.
- references List<Property Map>
- References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary Property Map
- Summary based on search results.
GoogleCloudDiscoveryengineV1betaSearchResponseSummary, GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs
- Safety
Attributes Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Safety Attributes - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped List<Pulumi.Reasons Google Native. Discovery Engine. V1Beta. Google Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item> - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- Safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped []GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item> - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item[] - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text string - The summary content.
- safety_
attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes - A collection of Safety Attribute categories and their associated confidence scores.
- summary_
skipped_ Sequence[Googlereasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item] - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary_
text str - The summary content.
- safety
Attributes Property Map - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<"SUMMARY_SKIPPED_REASON_UNSPECIFIED" | "ADVERSARIAL_QUERY_IGNORED" | "NON_SUMMARY_SEEKING_QUERY_IGNORED" | "OUT_OF_DOMAIN_QUERY_IGNORED" | "POTENTIAL_POLICY_VIOLATION" | "LLM_ADDON_NOT_ENABLED">Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse, GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponseArgs
- Safety
Attributes Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped List<string>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- Safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped []stringReasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<String>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped string[]Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text string - The summary content.
- safety_
attributes GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- summary_
skipped_ Sequence[str]reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary_
text str - The summary content.
- safety
Attributes Property Map - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<String>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs
- Categories List<string>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- Scores List<double>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- Categories []string
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- Scores []float64
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories List<String>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores List<Double>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories string[]
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores number[]
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories Sequence[str]
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores Sequence[float]
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories List<String>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores List<Number>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponseArgs
- Categories List<string>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- Scores List<double>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- Categories []string
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- Scores []float64
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories List<String>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores List<Double>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories string[]
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores number[]
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories Sequence[str]
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores Sequence[float]
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
- categories List<String>
- The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
- scores List<Number>
- The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemArgs
- Summary
Skipped Reason Unspecified - SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- Adversarial
Query Ignored - ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - Non
Summary Seeking Query Ignored - NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - Out
Of Domain Query Ignored - OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- Potential
Policy Violation - POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- Llm
Addon Not Enabled - LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Summary Skipped Reason Unspecified - SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Adversarial Query Ignored - ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Non Summary Seeking Query Ignored - NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Out Of Domain Query Ignored - OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Potential Policy Violation - POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- Google
Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Llm Addon Not Enabled - LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- Summary
Skipped Reason Unspecified - SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- Adversarial
Query Ignored - ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - Non
Summary Seeking Query Ignored - NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - Out
Of Domain Query Ignored - OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- Potential
Policy Violation - POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- Llm
Addon Not Enabled - LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- Summary
Skipped Reason Unspecified - SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- Adversarial
Query Ignored - ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - Non
Summary Seeking Query Ignored - NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - Out
Of Domain Query Ignored - OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- Potential
Policy Violation - POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- Llm
Addon Not Enabled - LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- SUMMARY_SKIPPED_REASON_UNSPECIFIED
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- ADVERSARIAL_QUERY_IGNORED
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - NON_SUMMARY_SEEKING_QUERY_IGNORED
- NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - OUT_OF_DOMAIN_QUERY_IGNORED
- OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- POTENTIAL_POLICY_VIOLATION
- POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- LLM_ADDON_NOT_ENABLED
- LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- "SUMMARY_SKIPPED_REASON_UNSPECIFIED"
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- "ADVERSARIAL_QUERY_IGNORED"
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to
true
. - "NON_SUMMARY_SEEKING_QUERY_IGNORED"
- NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to
true
. - "OUT_OF_DOMAIN_QUERY_IGNORED"
- OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
- "POTENTIAL_POLICY_VIOLATION"
- POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
- "LLM_ADDON_NOT_ENABLED"
- LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
GoogleCloudDiscoveryengineV1betaTextInput, GoogleCloudDiscoveryengineV1betaTextInputArgs
- Context
Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Context - Conversation context of the input.
- Input string
- Text input.
- Context
Google
Cloud Discoveryengine V1beta Conversation Context - Conversation context of the input.
- Input string
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context - Conversation context of the input.
- input String
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context - Conversation context of the input.
- input string
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context - Conversation context of the input.
- input str
- Text input.
- context Property Map
- Conversation context of the input.
- input String
- Text input.
GoogleCloudDiscoveryengineV1betaTextInputResponse, GoogleCloudDiscoveryengineV1betaTextInputResponseArgs
- Context
Pulumi.
Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Context Response - Conversation context of the input.
- Input string
- Text input.
- Context
Google
Cloud Discoveryengine V1beta Conversation Context Response - Conversation context of the input.
- Input string
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context Response - Conversation context of the input.
- input String
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context Response - Conversation context of the input.
- input string
- Text input.
- context
Google
Cloud Discoveryengine V1beta Conversation Context Response - Conversation context of the input.
- input str
- Text input.
- context Property Map
- Conversation context of the input.
- input String
- Text input.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.