Package org.springframework.ai.oci
Class OCIEmbeddingOptions
java.lang.Object
org.springframework.ai.oci.OCIEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions
,ModelOptions
The configuration information for OCI embedding requests
- Author:
- Anders Swanson, Ilayaperumal Gopinathan
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.springframework.ai.embedding.EmbeddingOptions
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OCIEmbeddingOptions.Builder
builder()
Not used by OCI GenAI.getModel()
com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate
void
setCompartment
(String compartment) void
void
setServingMode
(String servingMode) void
setTruncate
(com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate truncate)
-
Constructor Details
-
OCIEmbeddingOptions
public OCIEmbeddingOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModel
in interfaceEmbeddingOptions
-
setModel
-
getDimensions
Not used by OCI GenAI.- Specified by:
getDimensions
in interfaceEmbeddingOptions
- Returns:
- null
-
getCompartment
-
setCompartment
-
getServingMode
-
setServingMode
-
getTruncate
public com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate getTruncate() -
setTruncate
public void setTruncate(com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate truncate)
-