https://promptfoo.dev/ logo
Similar metric - vertex:text-embedding-005 support
# questions
p
Hi, I have a Vertex text-embedding-005 set up for the similar metric and got this message:
[matchers.js:121] Provider vertex:text-embedding-005 is not a valid embedding provider for 'similarity check', falling back to default
This is the config in the defaultTest:
Copy code
provider:
      embedding:
        id: vertex:text-embedding-005
AFAIK, the text-embedding-005 is available for the similarity task type: https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/task-types#assess_text_similarity Also, the syntax is valid according to the Promptfoo document for Vertex: https://www.promptfoo.dev/docs/providers/vertex/#embedding-models The test works fine currently but because it is using the default provider or something else? How can I use that text embedding model for my similarity assertion? Please help me take a look. Thank you