How to use preFilter with langchain JS? tried many things

Hello @Konrad_Gnat, welcome to the forums!

I don’t see a field called “agenticDocId” in the sample document in the screenshot you included, is it cut off? I only see “text” “embedding” “source” “blobType” “pdf” and “loc”.