Class GroundingMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.GroundingMetadata.Builder
-
- Enclosing class:
- GroundingMetadata
public static class GroundingMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroundingMetadatabuild()GroundingMetadata.Buildercopy(GroundingMetadata model)GroundingMetadata.BuildergroundingChunks(List<GroundingChunk> groundingChunks)Array of objects containing the web sources.GroundingMetadata.BuildergroundingSupports(List<GroundingSupport> groundingSupports)Array of chunks to connect model response text to the sources in groundingChunks.GroundingMetadata.BuildersearchEntryPoint(SearchEntryPoint searchEntryPoint)GroundingMetadata.BuilderwebSearchQueries(List<String> webSearchQueries)The queries to be used for Search suggestions.
-
-
-
Method Detail
-
webSearchQueries
public GroundingMetadata.Builder webSearchQueries(List<String> webSearchQueries)
The queries to be used for Search suggestions.- Parameters:
webSearchQueries- the value to set- Returns:
- this builder
-
searchEntryPoint
public GroundingMetadata.Builder searchEntryPoint(SearchEntryPoint searchEntryPoint)
-
groundingChunks
public GroundingMetadata.Builder groundingChunks(List<GroundingChunk> groundingChunks)
Array of objects containing the web sources.- Parameters:
groundingChunks- the value to set- Returns:
- this builder
-
groundingSupports
public GroundingMetadata.Builder groundingSupports(List<GroundingSupport> groundingSupports)
Array of chunks to connect model response text to the sources in groundingChunks.- Parameters:
groundingSupports- the value to set- Returns:
- this builder
-
build
public GroundingMetadata build()
-
copy
public GroundingMetadata.Builder copy(GroundingMetadata model)
-
-