How does the NotionDirectoryLoader work?
I've been trying to find details on how to use the NotionDirectoryLoader, but can't seem to figure it out. I've attached my flow i'm using so you can see what i've setup. In short, I'm using it like a Document type and passing that into a Text Splitter then into FAISS...etc.
The specific error i'm receiving is: Error building node FAISS: The source you provided did not load correctly or was empty.This may cause an error in the vectorstore.
I tried using ChromaDB instead and it got a similar error saying that the value was blank basically.
What am I missing? How can I use this to connect to my Notion. This could be incredibly valuable integration I think.
Hey I've been doing the same thing though with Chroma and I notice a few things:
- Using
docker-composeI've been unsucessful. I usepoetryand installlangflowwithpoetry add langflow && poetry install && langflow - I use
langflow 0.0.87not0.0.88. If I don't thenpathis missing from the UI. I did try switchingdockers version to0.0.87but that still didn't show the path. - Sometimes the
VectorStoreInfopanel shows the same message as you have above. Closing out and opening up again causes it to rethink it's life choices and starts co-operating. - If I load your one (after closing out) FAISS waits in
validatingin orange for about 10x longer (5 minutes?) whereas Chroma takes a little while and then goes green. This is with0.0.87and thepathfield in Notion available. - And of course you need your Notion database dump unzipped in the root folder and the directory name entered in the
pathfield.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.