|
10 | 10 | # -------------------------------------------------------------------------- |
11 | 11 |
|
12 | 12 | try: |
13 | | - from .update_kb_operation_dto_add_py3 import UpdateKbOperationDTOAdd |
14 | | - from .update_kb_operation_dto_delete_py3 import UpdateKbOperationDTODelete |
15 | | - from .update_kb_operation_dto_update_py3 import UpdateKbOperationDTOUpdate |
16 | | - from .update_kb_operation_dto_py3 import UpdateKbOperationDTO |
17 | | - from .update_qna_dto_questions_py3 import UpdateQnaDTOQuestions |
18 | | - from .update_qna_dto_metadata_py3 import UpdateQnaDTOMetadata |
19 | | - from .update_qna_dto_context_py3 import UpdateQnaDTOContext |
20 | | - from .update_qna_dto_py3 import UpdateQnaDTO |
21 | | - from .update_kb_contents_dto_py3 import UpdateKbContentsDTO |
22 | | - from .update_questions_dto_py3 import UpdateQuestionsDTO |
23 | 13 | from .metadata_dto_py3 import MetadataDTO |
24 | | - from .update_metadata_dto_py3 import UpdateMetadataDTO |
25 | | - from .prompt_dto_qna_py3 import PromptDTOQna |
26 | | - from .prompt_dto_py3 import PromptDTO |
27 | | - from .update_context_dto_py3 import UpdateContextDTO |
28 | | - from .delete_kb_contents_dto_py3 import DeleteKbContentsDTO |
29 | 14 | from .qn_adto_context_py3 import QnADTOContext |
30 | 15 | from .qn_adto_py3 import QnADTO |
31 | | - from .file_dto_py3 import FileDTO |
32 | | - from .create_kb_input_dto_py3 import CreateKbInputDTO |
33 | | - from .qn_adocuments_dto_py3 import QnADocumentsDTO |
34 | | - from .create_kb_dto_py3 import CreateKbDTO |
35 | | - from .replace_kb_dto_py3 import ReplaceKbDTO |
| 16 | + from .prompt_dto_qna_py3 import PromptDTOQna |
| 17 | + from .prompt_dto_py3 import PromptDTO |
36 | 18 | from .context_dto_py3 import ContextDTO |
37 | 19 | from .error_response_error_py3 import ErrorResponseError |
38 | 20 | from .error_response_py3 import ErrorResponse, ErrorResponseException |
39 | 21 | from .inner_error_model_py3 import InnerErrorModel |
40 | 22 | from .error_py3 import Error |
41 | | - from .operation_py3 import Operation |
42 | | - from .knowledgebase_dto_py3 import KnowledgebaseDTO |
43 | | - from .knowledgebases_dto_py3 import KnowledgebasesDTO |
44 | | - from .endpoint_settings_dto_active_learning_py3 import EndpointSettingsDTOActiveLearning |
45 | | - from .endpoint_settings_dto_py3 import EndpointSettingsDTO |
46 | | - from .active_learning_settings_dto_py3 import ActiveLearningSettingsDTO |
47 | | - from .alterations_dto_py3 import AlterationsDTO |
48 | | - from .word_alterations_dto_py3 import WordAlterationsDTO |
49 | | - from .endpoint_keys_dto_py3 import EndpointKeysDTO |
| 23 | + from .query_dto_context_py3 import QueryDTOContext |
| 24 | + from .query_dto_py3 import QueryDTO |
| 25 | + from .query_context_dto_py3 import QueryContextDTO |
| 26 | + from .qn_asearch_result_context_py3 import QnASearchResultContext |
| 27 | + from .qn_asearch_result_py3 import QnASearchResult |
| 28 | + from .qn_asearch_result_list_py3 import QnASearchResultList |
| 29 | + from .feedback_record_dto_py3 import FeedbackRecordDTO |
| 30 | + from .feedback_records_dto_py3 import FeedbackRecordsDTO |
50 | 31 | except (SyntaxError, ImportError): |
51 | | - from .update_kb_operation_dto_add import UpdateKbOperationDTOAdd |
52 | | - from .update_kb_operation_dto_delete import UpdateKbOperationDTODelete |
53 | | - from .update_kb_operation_dto_update import UpdateKbOperationDTOUpdate |
54 | | - from .update_kb_operation_dto import UpdateKbOperationDTO |
55 | | - from .update_qna_dto_questions import UpdateQnaDTOQuestions |
56 | | - from .update_qna_dto_metadata import UpdateQnaDTOMetadata |
57 | | - from .update_qna_dto_context import UpdateQnaDTOContext |
58 | | - from .update_qna_dto import UpdateQnaDTO |
59 | | - from .update_kb_contents_dto import UpdateKbContentsDTO |
60 | | - from .update_questions_dto import UpdateQuestionsDTO |
61 | 32 | from .metadata_dto import MetadataDTO |
62 | | - from .update_metadata_dto import UpdateMetadataDTO |
63 | | - from .prompt_dto_qna import PromptDTOQna |
64 | | - from .prompt_dto import PromptDTO |
65 | | - from .update_context_dto import UpdateContextDTO |
66 | | - from .delete_kb_contents_dto import DeleteKbContentsDTO |
67 | 33 | from .qn_adto_context import QnADTOContext |
68 | 34 | from .qn_adto import QnADTO |
69 | | - from .file_dto import FileDTO |
70 | | - from .create_kb_input_dto import CreateKbInputDTO |
71 | | - from .qn_adocuments_dto import QnADocumentsDTO |
72 | | - from .create_kb_dto import CreateKbDTO |
73 | | - from .replace_kb_dto import ReplaceKbDTO |
| 35 | + from .prompt_dto_qna import PromptDTOQna |
| 36 | + from .prompt_dto import PromptDTO |
74 | 37 | from .context_dto import ContextDTO |
75 | 38 | from .error_response_error import ErrorResponseError |
76 | 39 | from .error_response import ErrorResponse, ErrorResponseException |
77 | 40 | from .inner_error_model import InnerErrorModel |
78 | 41 | from .error import Error |
79 | | - from .operation import Operation |
80 | | - from .knowledgebase_dto import KnowledgebaseDTO |
81 | | - from .knowledgebases_dto import KnowledgebasesDTO |
82 | | - from .endpoint_settings_dto_active_learning import EndpointSettingsDTOActiveLearning |
83 | | - from .endpoint_settings_dto import EndpointSettingsDTO |
84 | | - from .active_learning_settings_dto import ActiveLearningSettingsDTO |
85 | | - from .alterations_dto import AlterationsDTO |
86 | | - from .word_alterations_dto import WordAlterationsDTO |
87 | | - from .endpoint_keys_dto import EndpointKeysDTO |
88 | | -from .qn_amaker_client_enums import ( |
89 | | - KnowledgebaseEnvironmentType, |
| 42 | + from .query_dto_context import QueryDTOContext |
| 43 | + from .query_dto import QueryDTO |
| 44 | + from .query_context_dto import QueryContextDTO |
| 45 | + from .qn_asearch_result_context import QnASearchResultContext |
| 46 | + from .qn_asearch_result import QnASearchResult |
| 47 | + from .qn_asearch_result_list import QnASearchResultList |
| 48 | + from .feedback_record_dto import FeedbackRecordDTO |
| 49 | + from .feedback_records_dto import FeedbackRecordsDTO |
| 50 | +from .qn_amaker_runtime_client_enums import ( |
90 | 51 | ErrorCodeType, |
91 | | - OperationStateType, |
92 | | - EnvironmentType, |
93 | 52 | ) |
94 | 53 |
|
95 | 54 | __all__ = [ |
96 | | - 'UpdateKbOperationDTOAdd', |
97 | | - 'UpdateKbOperationDTODelete', |
98 | | - 'UpdateKbOperationDTOUpdate', |
99 | | - 'UpdateKbOperationDTO', |
100 | | - 'UpdateQnaDTOQuestions', |
101 | | - 'UpdateQnaDTOMetadata', |
102 | | - 'UpdateQnaDTOContext', |
103 | | - 'UpdateQnaDTO', |
104 | | - 'UpdateKbContentsDTO', |
105 | | - 'UpdateQuestionsDTO', |
106 | 55 | 'MetadataDTO', |
107 | | - 'UpdateMetadataDTO', |
108 | | - 'PromptDTOQna', |
109 | | - 'PromptDTO', |
110 | | - 'UpdateContextDTO', |
111 | | - 'DeleteKbContentsDTO', |
112 | 56 | 'QnADTOContext', |
113 | 57 | 'QnADTO', |
114 | | - 'FileDTO', |
115 | | - 'CreateKbInputDTO', |
116 | | - 'QnADocumentsDTO', |
117 | | - 'CreateKbDTO', |
118 | | - 'ReplaceKbDTO', |
| 58 | + 'PromptDTOQna', |
| 59 | + 'PromptDTO', |
119 | 60 | 'ContextDTO', |
120 | 61 | 'ErrorResponseError', |
121 | 62 | 'ErrorResponse', 'ErrorResponseException', |
122 | 63 | 'InnerErrorModel', |
123 | 64 | 'Error', |
124 | | - 'Operation', |
125 | | - 'KnowledgebaseDTO', |
126 | | - 'KnowledgebasesDTO', |
127 | | - 'EndpointSettingsDTOActiveLearning', |
128 | | - 'EndpointSettingsDTO', |
129 | | - 'ActiveLearningSettingsDTO', |
130 | | - 'AlterationsDTO', |
131 | | - 'WordAlterationsDTO', |
132 | | - 'EndpointKeysDTO', |
133 | | - 'KnowledgebaseEnvironmentType', |
| 65 | + 'QueryDTOContext', |
| 66 | + 'QueryDTO', |
| 67 | + 'QueryContextDTO', |
| 68 | + 'QnASearchResultContext', |
| 69 | + 'QnASearchResult', |
| 70 | + 'QnASearchResultList', |
| 71 | + 'FeedbackRecordDTO', |
| 72 | + 'FeedbackRecordsDTO', |
134 | 73 | 'ErrorCodeType', |
135 | | - 'OperationStateType', |
136 | | - 'EnvironmentType', |
137 | 74 | ] |
0 commit comments