Closed sashokbg closed 6 months ago
Hi @sashokbg , thanks for reporting this to us.
I think we should make two enhancement on this:
We will let you know when we have this worked out for you. For workaround, is it possible to move those big directories out of the flow folder?
Hello @wangchao1230 thank you for your prompt reply. Yes I can manage a workaround for now :)
Have a nice day !
@wangchao1230 can you point me at where to look in the code please ? I might have enough time to try to add the gitignore part
Our exisitng logic is like this: https://github.com/microsoft/promptflow/blob/0ae6a0aa36dd900fcfdd67b1a868a1d88c6fb964/src/promptflow/promptflow/_sdk/_utils.py#L449
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
Hello @wangchao1230 so there is already ignore logic but it seems it is not working ?
Yes. Current implementation might has some limitation like only looking at ignore file in code folder, not search up to parent folders.
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
Describe the bug In my project I have a couple of very big directories such as .venv and models. When running pf run create, it generates a snapshot that contains the entire dir tree of my project wasting huge amounts of disk space.
Expected behavior Maybe add an ignorefile like .gitignore ?
Screenshots
Running Information(please complete the following information): promptflow 1.6.0
Executable '/home/alexander/Games2/degiro-faq-assistant/.venv/bin/python' Python (Linux) 3.11.7 (main, Jan 29 2024, 16:03:57) [GCC 13.2.1 20230801]
Linux alexander-desktop 6.6.16-2-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Feb 10 09:40:02 UTC 2024 x86_64 GNU/Linux