Skip to content

Commit 6265d7a

Browse files
authored
Merge pull request #52 from v-jaswel/patch-3
Update qna_maker_samples.py
2 parents a8cd58b + b6ec2db commit 6265d7a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

samples/knowledge/qna_maker_samples.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,4 @@ def _monitor_operation(client, operation):
9292
client.knowledgebase.delete(kb_id=kb_id)
9393
print("KB Deleted.")
9494

95-
96-
if __name__ == "__main__":
97-
import sys
98-
import os.path
99-
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..")))
100-
from tools import execute_samples
101-
execute_samples(globals(), SUBSCRIPTION_KEY)
95+
knowledge_based_crud_sample(SUBSCRIPTION_KEY_ENV_NAME)

0 commit comments

Comments
 (0)