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

Filtering by "Show files like" when using AI Assisted Coding #1016

Open
dohdohblah opened this issue Feb 25, 2025 · 3 comments
Open

Filtering by "Show files like" when using AI Assisted Coding #1016

dohdohblah opened this issue Feb 25, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@dohdohblah
Copy link

Is your feature request related to a problem? Please describe.
When coding documents or files normally, there's an easy way to filter using "Show files like" like in the screenshot below. I have one title and one main text of each case (news article) like this:

001_text
001_title
002_text
002_title
...
600_text
600_title
601_text
601_title

Image

However, there is no way to do this when filtering the data in the AI coding menu.

I also tried to assign a file attribute to label my files title = 1 and text = 2 so I could use attribute filtering in the AI coding window but I get an error message.

Image

Image

File "qualcoder\ai_search_dialog.py", line 356, in select_attributes

AttributeError: 'Ui_Dialog_AiSearch' object has no attribute 'splitter'

Describe the solution you'd like
I would like to be able to filter files in the AI coding menu using "show files like", or have the filter by attribute error fixed.

@kaixxx
Copy link
Collaborator

kaixxx commented Feb 25, 2025

OK, I can fix the error in the attribute selection quickly.
Adding an option to filter by name ("select files like") is an interesting idea, but may take a little longer to implement.

kaixxx added a commit that referenced this issue Feb 25, 2025
@kaixxx
Copy link
Collaborator

kaixxx commented Feb 25, 2025

OK, I have fixed the error in the attribute selection: 4f8dbe0

@ccbogel: I hope it's OK if I push such small fixes directly to master.

@kaixxx kaixxx added the enhancement New feature or request label Feb 25, 2025
@ccbogel
Copy link
Owner

ccbogel commented Feb 25, 2025

@kaixxx yes, sure.

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

No branches or pull requests

3 participants