Open VAN613 opened 2 months ago
It has been found that the following code exists in 'shared/util.py'.
def load_sk_plugin(name, oai_config): kernel = sk.Kernel() kernel.add_chat_service("chat_completion", AzureChatCompletion(oai_config['deployment'], oai_config['endpoint'], oai_config['api_key'], ad_auth=True)) plugin = kernel.import_semantic_skill_from_directory("orc/plugins", name) native_functions = kernel.import_native_skill_from_directory("orc/plugins", name) plugin.update(native_functions) return plugin
Therefore, it is understood that an 'init.py' file is necessary for 'gpt-rag-orchestrator/orc/plugins/' mentioned in Case 1."
I apologize for the basic question.
Case 1: For example, the following directory contains an init.py file despite the absence of any .py files: gpt-rag-orchestrator/orc/plugins/ gpt-rag-orchestrator/orc/plugins/ResponsibleAI/Semantic/Fairness/
Case 2: On the other hand, the following directory contains .py files but lacks an init.py file: gpt-rag-orchestrator/orc/plugins/Retrieval
Is there no clear intention behind these cases, and could it simply be that case 1 was forgotten to be deleted and case 2 was forgotten to be added? Or is there some underlying intention?