public interface AssistantGroundedContentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCitationMetadata()
public abstract CitationMetadata getCitationMetadata()Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check
.google.cloud.discoveryengine.v1beta.CitationMetadata citation_metadata = 5;
| Returns | |
|---|---|
| Type | Description |
CitationMetadata |
The citationMetadata. |
getCitationMetadataOrBuilder()
public abstract CitationMetadataOrBuilder getCitationMetadataOrBuilder()Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check
.google.cloud.discoveryengine.v1beta.CitationMetadata citation_metadata = 5;
| Returns | |
|---|---|
| Type | Description |
CitationMetadataOrBuilder |
|
getContent()
public abstract AssistantContent getContent()The content.
.google.cloud.discoveryengine.v1beta.AssistantContent content = 1;
| Returns | |
|---|---|
| Type | Description |
AssistantContent |
The content. |
getContentOrBuilder()
public abstract AssistantContentOrBuilder getContentOrBuilder()The content.
.google.cloud.discoveryengine.v1beta.AssistantContent content = 1;
| Returns | |
|---|---|
| Type | Description |
AssistantContentOrBuilder |
|
getMetadataCase()
public abstract AssistantGroundedContent.MetadataCase getMetadataCase()| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent.MetadataCase |
|
getTextGroundingMetadata()
public abstract AssistantGroundedContent.TextGroundingMetadata getTextGroundingMetadata()Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent.TextGroundingMetadata |
The textGroundingMetadata. |
getTextGroundingMetadataOrBuilder()
public abstract AssistantGroundedContent.TextGroundingMetadataOrBuilder getTextGroundingMetadataOrBuilder()Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent.TextGroundingMetadataOrBuilder |
|
hasCitationMetadata()
public abstract boolean hasCitationMetadata()Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check
.google.cloud.discoveryengine.v1beta.CitationMetadata citation_metadata = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the citationMetadata field is set. |
hasContent()
public abstract boolean hasContent()The content.
.google.cloud.discoveryengine.v1beta.AssistantContent content = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the content field is set. |
hasTextGroundingMetadata()
public abstract boolean hasTextGroundingMetadata()Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the textGroundingMetadata field is set. |