GeminiEmbeddingConfig
Defined in: core/src/embeddings.ts:46
Properties
Section titled “Properties”apiKey
Section titled “apiKey”apiKey: string;Defined in: core/src/embeddings.ts:47
baseUrl?
Section titled “baseUrl?”optional baseUrl?: string;Defined in: core/src/embeddings.ts:54
dimensions?
Section titled “dimensions?”optional dimensions?: number;Defined in: core/src/embeddings.ts:51
Set the width of your vector index. Omitted: the model’s native width.
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: FetchLike;Defined in: core/src/embeddings.ts:55
model: string;Defined in: core/src/embeddings.ts:49
Pin this to the model that produced your stored vectors. Accepts a models/ prefix.
timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number | null;Defined in: core/src/embeddings.ts:53
30 seconds by default. null leaves the deadline to the caller.