Skip to content

Commit 6208d24

Browse files
authored
Update qna_maker_samples.py
1 parent 6532857 commit 6208d24

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

samples/knowledge/qna_maker_samples.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,4 @@ def _monitor_operation(client, operation):
8686
client.knowledgebase.delete(kb_id=kb_id)
8787
print("KB Deleted.")
8888

89-
90-
if __name__ == "__main__":
91-
import sys, os.path
92-
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..")))
93-
from tools import execute_samples
94-
execute_samples(globals(), SUBSCRIPTION_KEY_ENV_NAME)
89+
knowledge_based_crud_sample(SUBSCRIPTION_KEY_ENV_NAME)

0 commit comments

Comments
 (0)