Skip to content

Conversation

CorieW
Copy link
Member

@CorieW CorieW commented Aug 28, 2025

Couple of issues still:

  • Unsure of ai.embed alternative in vector_search/indexers.ts
  • Unsure of ai.embedMany alternative in vector_search/retrievers.ts

Todo:

  • Test

@@ -370,13 +370,13 @@ export function defineVertexAIEmbedder(
// Text only embedder
instance = {
content: doc.text,
task_type: options?.taskType,
title: options?.title,
task_type: embedderRef.config?.taskType,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about reading from the embedderRef here?

Before we used options - i'm thinking at request time we could have these options specified which would take precedence over the config of the ref maybe

@cabljac cabljac force-pushed the @invertase/vertexai-migrate-v2-fixed branch from cd7fedf to 480b59d Compare September 1, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants