Skip to content

npx folder2knowledge Maximum Call Stack Exceeded #18

@jimthedj65

Description

@jimthedj65

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions