GenkitG
Genkitโ€ข17mo agoโ€ข
39 replies
still-lime

Hi all, I upgraded a numer of packages (

Hi all, I upgraded a numer of packages (GenKit, Firebase) my App works fine with on exception when this runs:

await change.after.ref.update({
embeddings: FieldValue.vector(embeddings),
});

I get the runtime error:
FieldValue.vector is not a function

My import is:
import { FieldValue, getFirestore } from 'firebase-admin/firestore';
Was this page helpful?