Skip to content

cannot index vault of 7000 files in 30 folders - 150MB of markdown. #1554

Description

@tyrcho
  • Disable all other plugins besides Copilot (required)
  • Screenshot of note + Copilot chat pane + dev console added (required)

Image

Image

Image

Copilot version: 2.9.0

Describe how to reproduce
A clear and concise description of what the bug is. Clear steps to reproduce the behavior

Get a large list of markdown files
I started having this problem with 7000 files for a total of 150MB of markdown.
Image

Open the folder as vault

Install Copilot plugin, enter OpenAI Key.

Set Partitions to 32 or 40 (I thought it would be needed for a large vault)

Switch to vault QA mode

The plugin starts indexing, creating the chunk files, and after about one hour will hang. I had to kill Obsidian on the morning and the indexing would not resume.

Image

Expected behavior
A clear and concise description of what you expected to happen.

I'd like indexing to finish to I can chat with the vault.

Additional context
Add any other context about the problem here.

I have the plugin work really well in other vaults. Actually my largest vault has 10k files and 500MB (includes images).

Any suggestions how I can resolve this ? I've tried already several times to remove the chunk files and reindex this vault with different parameters (which costs a bunch of $ of OpenAI tokens) and it always hangs after indexing a few thousand files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions