ChatGPT-Java-API
2.0.2-SNAPSHOT
jvm
ChatGPT-Java-API
/
com.cjcrafter.openai.embeddings
/
EmbeddingsRequest
/
Builder
Builder
class
Builder
A builder design pattern for constructing an
EmbeddingsRequest
instance.
Members
Functions
build
Link copied to clipboard
fun
build
(
)
:
EmbeddingsRequest
encoding
Format
Link copied to clipboard
fun
encodingFormat
(
encodingFormat
:
EncodingFormat
)
:
EmbeddingsRequest.Builder
input
Link copied to clipboard
fun
input
(
input
:
String
)
:
EmbeddingsRequest.Builder
fun
input
(
input
:
List
<
String
>
)
:
EmbeddingsRequest.Builder
model
Link copied to clipboard
fun
model
(
model
:
String
)
:
EmbeddingsRequest.Builder
user
Link copied to clipboard
fun
user
(
user
:
String
)
:
EmbeddingsRequest.Builder