Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
/
EmbedderParams
Interface EmbedderParams<CustomOptions>
Options of an
embed
function.
interface
EmbedderParams
<
CustomOptions
extends
ZodTypeAny
=
ZodTypeAny
>
{
content
:
|
string
|
{
content
:
(
|
{
media
?:
undefined
;
text
:
string
}
|
{
media
:
{
contentType
?:
string
;
url
:
string
}
;
text
?:
undefined
}
)
[]
;
metadata
?:
Record
<
string
,
any
>
;
}
;
embedder
:
EmbedderArgument
<
CustomOptions
>
;
metadata
?:
Record
<
string
,
unknown
>
;
options
?:
TypeOf
<
CustomOptions
>
;
}
Type Parameters
CustomOptions
extends
ZodTypeAny
=
ZodTypeAny
Index
Properties
content
embedder
metadata?
options?
Properties
content
content
:
|
string
|
{
content
:
(
|
{
media
?:
undefined
;
text
:
string
}
|
{
media
:
{
contentType
?:
string
;
url
:
string
}
;
text
?:
undefined
}
)
[]
;
metadata
?:
Record
<
string
,
any
>
;
}
embedder
embedder
:
EmbedderArgument
<
CustomOptions
>
Optional
metadata
metadata
?:
Record
<
string
,
unknown
>
Optional
options
options
?:
TypeOf
<
CustomOptions
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
content
embedder
metadata
options
Genkit JS API reference
Loading...
Options of an
embed
function.