Class IndexSchema.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.IndexSchema.Builder
-
- Enclosing class:
- IndexSchema
public static class IndexSchema.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexSchema.Builder
bodyKey(String bodyKey)
Body key name.IndexSchema
build()
IndexSchema.Builder
copy(IndexSchema model)
IndexSchema.Builder
embeddingBodyKey(String embeddingBodyKey)
Field within customer managed OCI OpenSearch document containing the vector embedding for queries.IndexSchema.Builder
titleKey(String titleKey)
Title key that stores the Title of a document, if available.IndexSchema.Builder
urlKey(String urlKey)
URL key that stores the URL of a document, if available.
-
-
-
Method Detail
-
bodyKey
public IndexSchema.Builder bodyKey(String bodyKey)
Body key name.- Parameters:
bodyKey
- the value to set- Returns:
- this builder
-
urlKey
public IndexSchema.Builder urlKey(String urlKey)
URL key that stores the URL of a document, if available.- Parameters:
urlKey
- the value to set- Returns:
- this builder
-
titleKey
public IndexSchema.Builder titleKey(String titleKey)
Title key that stores the Title of a document, if available.- Parameters:
titleKey
- the value to set- Returns:
- this builder
-
embeddingBodyKey
public IndexSchema.Builder embeddingBodyKey(String embeddingBodyKey)
Field within customer managed OCI OpenSearch document containing the vector embedding for queries.- Parameters:
embeddingBodyKey
- the value to set- Returns:
- this builder
-
build
public IndexSchema build()
-
copy
public IndexSchema.Builder copy(IndexSchema model)
-
-