Class OCIEmbeddingModelProperties
java.lang.Object
org.springframework.ai.autoconfigure.oci.genai.OCIEmbeddingModelProperties
@ConfigurationProperties("spring.ai.oci.genai.embedding")
public class OCIEmbeddingModelProperties
extends Object
- Author:
- Anders Swanson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate
boolean
void
setCompartment
(String compartment) void
setEnabled
(boolean enabled) void
void
setServingMode
(ServingMode servingMode) void
setTruncate
(com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate truncate)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OCIEmbeddingModelProperties
public OCIEmbeddingModelProperties()
-
-
Method Details
-
getEmbeddingOptions
-
getServingMode
-
setServingMode
-
getCompartment
-
setCompartment
-
getModel
-
setModel
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getTruncate
public com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate getTruncate() -
setTruncate
public void setTruncate(com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate truncate)
-