Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx folder2knowledge Maximum Call Stack Exceeded #18

Open
jimthedj65 opened this issue Jan 24, 2025 · 0 comments
Open

npx folder2knowledge Maximum Call Stack Exceeded #18

jimthedj65 opened this issue Jan 24, 2025 · 0 comments

Comments

@jimthedj65
Copy link

Hi all,

progressing nicely through the Eliza stack and starting to get into folder2knowledge processes and came across this error

npx folder2knowledge ../../texts                                                                                                                                                             ─╯
Enter your OpenAI API key: mykey
Searching for files in: ../../texts
Processing file: ../../texts/._combined_knowledge.txt
Processing file: ../../texts/._kylethorntonblockchainscam.mp4
Processing file: ../../texts/combined_knowledge.txt
Processing file: ../../texts/myvideo.mp4
Error processing directory ../../texts: RangeError: Maximum call stack size exceeded
Done processing files and saved memories to knowledge.json.

It processes my text ok but when running through a 126mb video file it throws the above issues with stack size exceeded. The output to knowledge.json has

{
  "documents": [],
  "chunks": []
} 

Is there any known limits on video files or format restrictions?

Thanks in advance for any assistance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant