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

fix: folder Suggestions Mismatch #249

Open
aexshafii opened this issue Oct 5, 2024 · 4 comments · May be fixed by #251
Open

fix: folder Suggestions Mismatch #249

aexshafii opened this issue Oct 5, 2024 · 4 comments · May be fixed by #251

Comments

@aexshafii
Copy link
Collaborator

aexshafii commented Oct 5, 2024

Description

In FileOrganizer 2000, there's an issue with the folder suggestions functionality in the Assistant sidebar. Sometimes, the suggested folders do not correspond to the currently open file, but instead show suggestions for a different file.

see video with detailed info: https://www.loom.com/share/0df511bf88ff4f8a8b3820b9dfac270e

Steps to Reproduce

  1. Open FileOrganizer 2000
  2. Click on the Assistant sidebar button
  3. Navigate between different files (e.g., "Expenses 2024", "Napoleon", "Hummingbird", "Porsche Boxster")
  4. Observe the folder suggestions for each file

Expected Behavior

The folder suggestions should always match the active file.

Actual Behavior

Occasionally, the folder suggestions are for a different file than the one currently open. For example:

  • When viewing a file about Napoleon, suggestions for birdwatching appear
  • When viewing a file about a Hummingbird, suggestions for French History appear

Additional Information

  • The issue seems to occur randomly
  • It's possible that suggestions from different files are being mixed together
  • The problem affects both existing folder suggestions and new folder suggestions

Possible Fix

Ensure that the folder suggestion functions are always using the context of the currently active file when making API requests or processing results.

Attachments

Hummingbird.md
Napoleon.md
Porsche Boxster.md

Additional Notes

  • Creating 9-10 test folders (e.g., cars, history, animals) with distinct themes may help in testing and reproducing the issue more consistently.
  • The issue persists regardless of whether the embedding method or standard method is used for suggestions.
Copy link

algora-pbc bot commented Oct 5, 2024

💎 $70 bounty • Different AI

Steps to solve:

  1. Start working: Comment /attempt #249 with your implementation plan
  2. Submit work: Create a pull request including /claim #249 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to different-ai/file-organizer-2000!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @dguerabes Oct 5, 2024, 8:40:35 PM #251

@dguerabes
Copy link

dguerabes commented Oct 5, 2024

/attempt #249

@dguerabes
Copy link

dguerabes commented Oct 5, 2024

Hello !
I have seen API calls with bad values. With the title of the current page but the content of the previous page.
I have a fix to not make those calls.

@dguerabes dguerabes linked a pull request Oct 5, 2024 that will close this issue
Copy link

algora-pbc bot commented Oct 5, 2024

💡 @dguerabes submitted a pull request that claims the bounty. You can visit your bounty board to reward.

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

Successfully merging a pull request may close this issue.

2 participants