Interface AugmentPromptResponseOrBuilder (3.56.0)

public interface AugmentPromptResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAugmentedPrompt(int index)

public abstract Content getAugmentedPrompt(int index)

Augmented prompt, only text format is supported for now.

repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;

Parameter
Name Description
index int
Returns
Type Description
Content

getAugmentedPromptCount()

public abstract int getAugmentedPromptCount()

Augmented prompt, only text format is supported for now.

repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;

Returns
Type Description
int

getAugmentedPromptList()

public abstract List<Content> getAugmentedPromptList()

Augmented prompt, only text format is supported for now.

repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;

Returns
Type Description
List<Content>

getAugmentedPromptOrBuilder(int index)

public abstract ContentOrBuilder getAugmentedPromptOrBuilder(int index)

Augmented prompt, only text format is supported for now.

repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getAugmentedPromptOrBuilderList()

public abstract List<? extends ContentOrBuilder> getAugmentedPromptOrBuilderList()

Augmented prompt, only text format is supported for now.

repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ContentOrBuilder>

getFacts(int index)

public abstract Fact getFacts(int index)

Retrieved facts from RAG data sources.

repeated .google.cloud.aiplatform.v1.Fact facts = 2;

Parameter
Name Description
index int
Returns
Type Description
Fact

getFactsCount()

public abstract int getFactsCount()

Retrieved facts from RAG data sources.

repeated .google.cloud.aiplatform.v1.Fact facts = 2;

Returns
Type Description
int

getFactsList()

public abstract List<Fact> getFactsList()

Retrieved facts from RAG data sources.

repeated .google.cloud.aiplatform.v1.Fact facts = 2;

Returns
Type Description
List<Fact>

getFactsOrBuilder(int index)

public abstract FactOrBuilder getFactsOrBuilder(int index)

Retrieved facts from RAG data sources.

repeated .google.cloud.aiplatform.v1.Fact facts = 2;

Parameter
Name Description
index int
Returns
Type Description
FactOrBuilder

getFactsOrBuilderList()

public abstract List<? extends FactOrBuilder> getFactsOrBuilderList()

Retrieved facts from RAG data sources.

repeated .google.cloud.aiplatform.v1.Fact facts = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.FactOrBuilder>