public sealed class AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo : IMessage<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo>, IEquatable<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo>, IDeepCloneable<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.
Unstructured document information.
Inheritance
object > AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfoImplements
IMessageAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfo, IEquatableAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfo, IDeepCloneableAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
UnstructuredDocumentInfo()
public UnstructuredDocumentInfo()
UnstructuredDocumentInfo(UnstructuredDocumentInfo)
public UnstructuredDocumentInfo(AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo other)
Parameter | |
---|---|
Name | Description |
other |
AnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfo |
Properties
Document
public string Document { get; set; }
Document resource name.
Property Value | |
---|---|
Type | Description |
string |
DocumentAsDocumentName
public DocumentName DocumentAsDocumentName { get; set; }
DocumentName-typed view over the Document resource name property.
Property Value | |
---|---|
Type | Description |
DocumentName |
DocumentContexts
public RepeatedField<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.DocumentContext> DocumentContexts { get; }
List of document contexts. The content will be used for Answer Generation. This is supposed to be the main content of the document that can be long and comprehensive.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfoTypesDocumentContext |
ExtractiveAnswers
[Obsolete]
public RepeatedField<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveAnswer> ExtractiveAnswers { get; }
Deprecated: This field is deprecated and will have no effect on the Answer generation. Please use document_contexts and extractive_segments fields. List of extractive answers.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfoTypesExtractiveAnswer |
ExtractiveSegments
public RepeatedField<AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveSegment> ExtractiveSegments { get; }
List of extractive segments.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAnswerQueryRequestTypesSearchSpecTypesSearchResultListTypesSearchResultTypesUnstructuredDocumentInfoTypesExtractiveSegment |
Title
public string Title { get; set; }
Title.
Property Value | |
---|---|
Type | Description |
string |
Uri
public string Uri { get; set; }
URI for the document.
Property Value | |
---|---|
Type | Description |
string |