Package org.springframework.ai.openai
Class OpenAiEmbeddingOptions
java.lang.Object
org.springframework.ai.openai.OpenAiEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions
,ModelOptions
OpenAI Embedding Options.
- Since:
- 0.8.0
- Author:
- Christian Tzolov
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.springframework.ai.embedding.EmbeddingOptions
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getModel()
getUser()
void
setDimensions
(Integer dimensions) void
setEncodingFormat
(String encodingFormat) void
void
-
Constructor Details
-
OpenAiEmbeddingOptions
public OpenAiEmbeddingOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModel
in interfaceEmbeddingOptions
-
setModel
-
getEncodingFormat
-
setEncodingFormat
-
getDimensions
- Specified by:
getDimensions
in interfaceEmbeddingOptions
-
setDimensions
-
getUser
-
setUser
-