mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context ve_skill_from_directory`, I've noticed that if there are 2 or more similar directories(see dir tree below), it doesn't work correctly. ``` (base) joowonkim ~/Repo/sk-consultings/example-thinkpool/poc1-architecture/skills main ± tree . ├── handler_skills │ ├── AccountHandlerSkill │ │ └── native_function.py │ ├── PortfolioHandlerSkill │ │ └── native_function.py │ └── StockHandlerSkill │ └── native_function.py ├── intent_skills │ └── IntentDetectionSkill │ └── ParseIntent │ ├── config.json │ └── skprompt.txt ``` Importing using absolute paths rather than sys.paths reliably worked as intended. ### Description remove `sys.path` related codes and change them into using absolute path of `native_function.py`