toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-ai-azure
/
org.http4k.connect.azure.action
/
CreateEmbeddings
Create
Embeddings
@
JsonSerializable
data
class
CreateEmbeddings
(
val
model
:
ModelName
,
val
input
:
List
<
String
>
)
:
NonNullAutoMarshalledAction
<
Embeddings
>
,
AzureAIAction
<
Embeddings
>
Members
Constructors
Create
Embeddings
Link copied to clipboard
constructor
(
model
:
ModelName
,
input
:
List
<
String
>
)
Properties
input
Link copied to clipboard
val
input
:
List
<
String
>
model
Link copied to clipboard
val
model
:
ModelName
Functions
to
Request
Link copied to clipboard
open
override
fun
toRequest
(
)
:
Request
to
Result
Link copied to clipboard
open
override
fun
toResult
(
response
:
Response
)
:
Result
<
Embeddings
,
RemoteFailure
>