preFilter configuration and indexing for Langchain retriever

Hi @Adrien_Le_Clair,

Welcome to the MongoDB Community forums :sparkles:

You can refer to the following tutorial: Leveraging OpenAI and MongoDB Atlas for Improved Search Functionality | MongoDB and the Atlas Vector Search Pre-Filter documentation to learn more about it.

In the meantime, could you please provide additional details about your specific use case, the expected output, and any workarounds you’ve attempted? This information will help the community better understand the issue and provide more effective assistance.

Best regards,
Kushagra