Genkit JS API reference
Preparing search index...
@genkit-ai/vertexai
vectorsearch
VectorSearchOptions
Interface VectorSearchOptions<EmbedderCustomOptions, IndexerOptions, RetrieverOptions>
interface
VectorSearchOptions
<
EmbedderCustomOptions
extends
z
.
ZodTypeAny
,
IndexerOptions
extends
{}
,
RetrieverOptions
extends
{
k
?:
number
}
,
>
{
deployedIndexId
:
string
;
documentIndexer
:
DocumentIndexer
<
IndexerOptions
>
;
documentRetriever
:
DocumentRetriever
<
RetrieverOptions
>
;
embedder
?:
EmbedderReference
<
EmbedderCustomOptions
>
;
embedderOptions
?:
z
.
TypeOf
<
EmbedderCustomOptions
>
;
indexEndpointId
:
string
;
indexId
:
string
;
publicDomainName
:
string
;
}
Type Parameters
EmbedderCustomOptions
extends
z
.
ZodTypeAny
IndexerOptions
extends
{}
RetrieverOptions
extends
{
k
?:
number
}
Index
Properties
deployed
Index
Id
document
Indexer
document
Retriever
embedder?
embedder
Options?
index
Endpoint
Id
index
Id
public
Domain
Name
Properties
deployed
Index
Id
deployedIndexId
:
string
document
Indexer
documentIndexer
:
DocumentIndexer
<
IndexerOptions
>
document
Retriever
documentRetriever
:
DocumentRetriever
<
RetrieverOptions
>
Optional
embedder
embedder
?:
EmbedderReference
<
EmbedderCustomOptions
>
Optional
embedder
Options
embedderOptions
?:
z
.
TypeOf
<
EmbedderCustomOptions
>
index
Endpoint
Id
indexEndpointId
:
string
index
Id
indexId
:
string
public
Domain
Name
publicDomainName
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
deployed
Index
Id
document
Indexer
document
Retriever
embedder
embedder
Options
index
Endpoint
Id
index
Id
public
Domain
Name
Genkit JS API reference
Loading...