cwyodmodules 0.3.35__py3-none-any.whl → 0.3.37__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. cwyodmodules/api/chat_history.py +10 -9
  2. cwyodmodules/batch/utilities/chat_history/auth_utils.py +3 -2
  3. cwyodmodules/batch/utilities/chat_history/cosmosdb.py +13 -12
  4. cwyodmodules/batch/utilities/chat_history/postgresdbservice.py +13 -12
  5. cwyodmodules/batch/utilities/common/source_document.py +9 -8
  6. cwyodmodules/batch/utilities/document_chunking/fixed_size_overlap.py +2 -1
  7. cwyodmodules/batch/utilities/document_chunking/layout.py +2 -1
  8. cwyodmodules/batch/utilities/document_chunking/page.py +2 -1
  9. cwyodmodules/batch/utilities/document_loading/read.py +2 -1
  10. cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py +7 -6
  11. cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py +3 -2
  12. cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py +11 -10
  13. cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py +11 -10
  14. cwyodmodules/batch/utilities/helpers/azure_search_helper.py +10 -9
  15. cwyodmodules/batch/utilities/helpers/config/config_helper.py +20 -19
  16. cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py +12 -3
  17. cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py +8 -2
  18. cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py +11 -2
  19. cwyodmodules/batch/utilities/helpers/env_helper.py +4 -1
  20. cwyodmodules/batch/utilities/helpers/lightrag_helper.py +5 -4
  21. cwyodmodules/batch/utilities/helpers/llm_helper.py +10 -9
  22. cwyodmodules/batch/utilities/helpers/secret_helper.py +3 -3
  23. cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py +5 -4
  24. cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py +4 -3
  25. cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py +2 -1
  26. cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py +4 -3
  27. cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py +2 -1
  28. cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py +5 -4
  29. cwyodmodules/batch/utilities/orchestrator/prompt_flow.py +5 -4
  30. cwyodmodules/batch/utilities/orchestrator/semantic_kernel_orchestrator.py +2 -1
  31. cwyodmodules/batch/utilities/parser/output_parser_tool.py +5 -4
  32. cwyodmodules/batch/utilities/plugins/outlook_calendar_plugin.py +4 -3
  33. cwyodmodules/batch/utilities/search/azure_search_handler.py +12 -11
  34. cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py +10 -9
  35. cwyodmodules/batch/utilities/search/integrated_vectorization_search_handler.py +12 -11
  36. cwyodmodules/batch/utilities/search/lightrag_search_handler.py +9 -8
  37. cwyodmodules/batch/utilities/search/postgres_search_handler.py +13 -12
  38. cwyodmodules/batch/utilities/search/postgres_search_handler_light_rag.py +14 -13
  39. cwyodmodules/batch/utilities/search/search.py +3 -2
  40. cwyodmodules/batch/utilities/tools/content_safety_checker.py +5 -4
  41. cwyodmodules/batch/utilities/tools/post_prompt_tool.py +2 -1
  42. cwyodmodules/batch/utilities/tools/question_answer_tool.py +8 -7
  43. cwyodmodules/batch/utilities/tools/text_processing_tool.py +2 -1
  44. {cwyodmodules-0.3.35.dist-info → cwyodmodules-0.3.37.dist-info}/METADATA +2 -2
  45. {cwyodmodules-0.3.35.dist-info → cwyodmodules-0.3.37.dist-info}/RECORD +48 -48
  46. {cwyodmodules-0.3.35.dist-info → cwyodmodules-0.3.37.dist-info}/WHEEL +0 -0
  47. {cwyodmodules-0.3.35.dist-info → cwyodmodules-0.3.37.dist-info}/licenses/LICENSE +0 -0
  48. {cwyodmodules-0.3.35.dist-info → cwyodmodules-0.3.37.dist-info}/top_level.txt +0 -0
@@ -6,6 +6,7 @@ from ..common.source_document import SourceDocument
6
6
  from ...utilities.helpers.env_helper import EnvHelper
7
7
  from logging_config import logger
8
8
  env_helper: EnvHelper = EnvHelper()
9
+ log_execution = env_helper.LOG_EXECUTION
9
10
  log_args = env_helper.LOG_ARGS
10
11
  log_result = env_helper.LOG_RESULT
11
12
 
@@ -16,7 +17,7 @@ class LightRAGSearchHandler(SearchHandlerBase):
16
17
  super().__init__(env_helper)
17
18
  self.lightrag_helper = LightRAGHelper()
18
19
 
19
- @logger.trace_function(log_args=log_args, log_result=False)
20
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
20
21
  def query_search(self, question) -> List[SourceDocument]:
21
22
  logger.info(f"Performing query search for question: {question}")
22
23
  search_results = self.lightrag_helper.search(question)
@@ -24,7 +25,7 @@ class LightRAGSearchHandler(SearchHandlerBase):
24
25
  logger.info(f"Found {len(source_documents)} source documents.")
25
26
  return source_documents
26
27
 
27
- @logger.trace_function(log_args=log_args, log_result=False)
28
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
28
29
  def _convert_to_source_documents(self, search_results) -> List[SourceDocument]:
29
30
  source_documents = []
30
31
  for source in search_results:
@@ -41,32 +42,32 @@ class LightRAGSearchHandler(SearchHandlerBase):
41
42
  )
42
43
  return source_documents
43
44
 
44
- @logger.trace_function(log_args=False, log_result=False)
45
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
45
46
  def create_vector_store(self, documents_to_upload):
46
47
  logger.info(f"Creating vector store with {len(documents_to_upload)} documents.")
47
48
  return self.lightrag_helper.create_vector_store(documents_to_upload)
48
49
 
49
- @logger.trace_function(log_args=log_args, log_result=False)
50
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
50
51
  def perform_search(self, filename):
51
52
  logger.info(f"Performing search for filename: {filename}")
52
53
  return self.lightrag_helper.perform_search(filename)
53
54
 
54
- @logger.trace_function(log_args=log_args, log_result=False)
55
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
55
56
  def get_files(self):
56
57
  logger.info("Fetching files from LightRAG.")
57
58
  return self.lightrag_helper.get_files()
58
59
 
59
- @logger.trace_function(log_args=log_args, log_result=log_result)
60
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
60
61
  def delete_files(self, files):
61
62
  logger.info(f"Deleting files: {files}")
62
63
  return self.lightrag_helper.delete_files(files)
63
64
 
64
- @logger.trace_function(log_args=log_args, log_result=False)
65
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
65
66
  def search_by_blob_url(self, blob_url):
66
67
  logger.info(f"Searching by blob URL: {blob_url}")
67
68
  return self.lightrag_helper.search_by_blob_url(blob_url)
68
69
 
69
- @logger.trace_function(log_args=log_args, log_result=False)
70
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
70
71
  def get_unique_files(self):
71
72
  logger.info("Fetching unique files from LightRAG.")
72
73
  return self.lightrag_helper.get_unique_files()
@@ -9,6 +9,7 @@ from ..common.source_document import SourceDocument
9
9
  from ...utilities.helpers.env_helper import EnvHelper
10
10
  from logging_config import logger
11
11
  env_helper: EnvHelper = EnvHelper()
12
+ log_execution = env_helper.LOG_EXECUTION
12
13
  log_args = env_helper.LOG_ARGS
13
14
  log_result = env_helper.LOG_RESULT
14
15
 
@@ -20,7 +21,7 @@ class AzurePostgresHandler(SearchHandlerBase):
20
21
  super().__init__(env_helper)
21
22
 
22
23
 
23
- @logger.trace_function(log_args=False, log_result=False)
24
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
24
25
  def query_search(self, question) -> List[SourceDocument]:
25
26
  logger.info(f"Starting query search for question: {question}")
26
27
  user_input = question
@@ -38,7 +39,7 @@ class AzurePostgresHandler(SearchHandlerBase):
38
39
  logger.info(f"Found {len(source_documents)} source documents.")
39
40
  return source_documents
40
41
 
41
- @logger.trace_function(log_args=False, log_result=False)
42
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
42
43
  def _convert_to_source_documents(self, search_results) -> List[SourceDocument]:
43
44
  source_documents = []
44
45
  for source in search_results:
@@ -55,24 +56,24 @@ class AzurePostgresHandler(SearchHandlerBase):
55
56
  return source_documents
56
57
 
57
58
 
58
- @logger.trace_function(log_args=log_args, log_result=False)
59
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
59
60
  def create_search_client(self):
60
61
  return self.azure_postgres_helper.get_search_client()
61
62
 
62
63
 
63
- @logger.trace_function(log_args=False, log_result=False)
64
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
64
65
  def create_vector_store(self, documents_to_upload):
65
66
  logger.info(
66
67
  f"Creating vector store with {len(documents_to_upload)} documents."
67
68
  )
68
69
  return self.azure_postgres_helper.create_vector_store(documents_to_upload)
69
70
 
70
- @logger.trace_function(log_args=log_args, log_result=False)
71
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
71
72
  def perform_search(self, filename):
72
73
  logger.info(f"Performing search for filename: {filename}")
73
74
  return self.azure_postgres_helper.perform_search(filename)
74
75
 
75
- @logger.trace_function(log_args=False, log_result=False)
76
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
76
77
  def process_results(self, results):
77
78
  if results is None:
78
79
  logger.info("No results to process.")
@@ -84,7 +85,7 @@ class AzurePostgresHandler(SearchHandlerBase):
84
85
  logger.info(f"Processed {len(data)} results.")
85
86
  return data
86
87
 
87
- @logger.trace_function(log_args=log_args, log_result=False)
88
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
88
89
  def get_files(self):
89
90
  results = self.azure_postgres_helper.get_files()
90
91
  if results is None or len(results) == 0:
@@ -94,7 +95,7 @@ class AzurePostgresHandler(SearchHandlerBase):
94
95
  return results
95
96
 
96
97
 
97
- @logger.trace_function(log_args=False, log_result=False)
98
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
98
99
  def output_results(self, results):
99
100
  files = {}
100
101
  for result in results:
@@ -108,7 +109,7 @@ class AzurePostgresHandler(SearchHandlerBase):
108
109
  return files
109
110
 
110
111
 
111
- @logger.trace_function(log_args=log_args, log_result=log_result)
112
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
112
113
  def delete_files(self, files):
113
114
  ids_to_delete = []
114
115
  files_to_delete = []
@@ -120,12 +121,12 @@ class AzurePostgresHandler(SearchHandlerBase):
120
121
 
121
122
  return ", ".join(files_to_delete)
122
123
 
123
- @logger.trace_function(log_args=log_args, log_result=False)
124
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
124
125
  def search_by_blob_url(self, blob_url):
125
126
  logger.info(f"Searching by blob URL: {blob_url}")
126
127
  return self.azure_postgres_helper.search_by_blob_url(blob_url)
127
128
 
128
- @logger.trace_function(log_args=log_args, log_result=log_result)
129
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
129
130
  def delete_from_index(self, blob_url) -> None:
130
131
  logger.info(f"Deleting from index for blob URL: {blob_url}")
131
132
  documents = self.search_by_blob_url(blob_url)
@@ -135,7 +136,7 @@ class AzurePostgresHandler(SearchHandlerBase):
135
136
  files_to_delete = self.output_results(documents)
136
137
  self.delete_files(files_to_delete)
137
138
 
138
- @logger.trace_function(log_args=log_args, log_result=log_result)
139
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
139
140
  def get_unique_files(self):
140
141
  results = self.azure_postgres_helper.get_unique_files()
141
142
  unique_titles = [row["title"] for row in results]
@@ -10,6 +10,7 @@ from ..common.source_document import SourceDocument
10
10
  from ...utilities.helpers.env_helper import EnvHelper
11
11
  from logging_config import logger
12
12
  env_helper: EnvHelper = EnvHelper()
13
+ log_execution = env_helper.LOG_EXECUTION
13
14
  log_args = env_helper.LOG_ARGS
14
15
  log_result = env_helper.LOG_RESULT
15
16
 
@@ -21,7 +22,7 @@ class AzurePostgresHandler(SearchHandlerBase):
21
22
  self.lightrag_helper = LightRAGHelper()
22
23
  super().__init__(env_helper)
23
24
 
24
- @logger.trace_function(log_args=False, log_result=False)
25
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
25
26
  def query_search(self, question) -> List[SourceDocument]:
26
27
  logger.info(f"Starting query search for question: {question}")
27
28
  user_input = question
@@ -39,7 +40,7 @@ class AzurePostgresHandler(SearchHandlerBase):
39
40
  logger.info(f"Found {len(source_documents)} source documents.")
40
41
  return source_documents
41
42
 
42
- @logger.trace_function(log_args=False, log_result=False)
43
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
43
44
  def _convert_to_source_documents(self, search_results) -> List[SourceDocument]:
44
45
  source_documents = []
45
46
  for source in search_results:
@@ -55,23 +56,23 @@ class AzurePostgresHandler(SearchHandlerBase):
55
56
  source_documents.append(source_document)
56
57
  return source_documents
57
58
 
58
- @logger.trace_function(log_args=log_args, log_result=False)
59
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
59
60
  def create_search_client(self):
60
61
  return self.azure_postgres_helper.get_search_client()
61
62
 
62
- @logger.trace_function(log_args=False, log_result=False)
63
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
63
64
  def create_vector_store(self, documents_to_upload):
64
65
  logger.info(
65
66
  f"Creating vector store with {len(documents_to_upload)} documents."
66
67
  )
67
68
  return self.azure_postgres_helper.create_vector_store(documents_to_upload)
68
69
 
69
- @logger.trace_function(log_args=log_args, log_result=False)
70
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
70
71
  def perform_search(self, filename):
71
72
  logger.info(f"Performing search for filename: {filename}")
72
73
  return self.azure_postgres_helper.perform_search(filename)
73
74
 
74
- @logger.trace_function(log_args=False, log_result=False)
75
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
75
76
  def process_results(self, results):
76
77
  if results is None:
77
78
  logger.info("No results to process.")
@@ -83,7 +84,7 @@ class AzurePostgresHandler(SearchHandlerBase):
83
84
  logger.info(f"Processed {len(data)} results.")
84
85
  return data
85
86
 
86
- @logger.trace_function(log_args=log_args, log_result=False)
87
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
87
88
  def get_files(self):
88
89
  results = self.azure_postgres_helper.get_files()
89
90
  if results is None or len(results) == 0:
@@ -92,7 +93,7 @@ class AzurePostgresHandler(SearchHandlerBase):
92
93
  logger.info(f"Found {len(results)} files.")
93
94
  return results
94
95
 
95
- @logger.trace_function(log_args=False, log_result=False)
96
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
96
97
  def output_results(self, results):
97
98
  files = {}
98
99
  for result in results:
@@ -105,7 +106,7 @@ class AzurePostgresHandler(SearchHandlerBase):
105
106
 
106
107
  return files
107
108
 
108
- @logger.trace_function(log_args=log_args, log_result=log_result)
109
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
109
110
  def delete_files(self, files):
110
111
  ids_to_delete = []
111
112
  files_to_delete = []
@@ -116,12 +117,12 @@ class AzurePostgresHandler(SearchHandlerBase):
116
117
 
117
118
  return ", ".join(files_to_delete)
118
119
 
119
- @logger.trace_function(log_args=log_args, log_result=False)
120
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
120
121
  def search_by_blob_url(self, blob_url):
121
122
  logger.info(f"Searching by blob URL: {blob_url}")
122
123
  return self.azure_postgres_helper.search_by_blob_url(blob_url)
123
124
 
124
- @logger.trace_function(log_args=log_args, log_result=log_result)
125
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=log_result)
125
126
  def delete_from_index(self, blob_url) -> None:
126
127
  logger.info(f"Deleting from index for blob URL: {blob_url}")
127
128
  documents = self.search_by_blob_url(blob_url)
@@ -131,14 +132,14 @@ class AzurePostgresHandler(SearchHandlerBase):
131
132
  files_to_delete = self.output_results(documents)
132
133
  self.delete_files(files_to_delete)
133
134
 
134
- @logger.trace_function(log_args=log_args, log_result=False)
135
+ @logger.trace_function(log_execution=log_execution, log_args=log_args, log_result=False)
135
136
  def get_unique_files(self):
136
137
  results = self.azure_postgres_helper.get_unique_files()
137
138
  unique_titles = [row["title"] for row in results]
138
139
  return unique_titles
139
140
 
140
141
 
141
- @logger.trace_function(log_args=False, log_result=False)
142
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
142
143
  def store_vector_and_text(self, documents_to_store):
143
144
  logger.info(
144
145
  f"Storing {len(documents_to_store)} documents with LightRAG."
@@ -12,6 +12,7 @@ from ..search.lightrag_search_handler import LightRAGSearchHandler
12
12
 
13
13
  from logging_config import logger
14
14
  env_helper: EnvHelper = EnvHelper()
15
+ log_execution = env_helper.LOG_EXECUTION
15
16
  log_args = env_helper.LOG_ARGS
16
17
  log_result = env_helper.LOG_RESULT
17
18
 
@@ -24,7 +25,7 @@ class Search:
24
25
  """
25
26
 
26
27
  @staticmethod
27
- @logger.trace_function(log_args=False, log_result=False)
28
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
28
29
  def get_search_handler(env_helper: EnvHelper) -> SearchHandlerBase:
29
30
  """
30
31
  Determines and returns the appropriate search handler based on the
@@ -58,7 +59,7 @@ class Search:
58
59
  return AzureSearchHandler(env_helper)
59
60
 
60
61
  @staticmethod
61
- @logger.trace_function(log_args=False, log_result=False)
62
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
62
63
  def get_source_documents(
63
64
  search_handler: SearchHandlerBase, question: str
64
65
  ) -> list[SourceDocument]:
@@ -9,6 +9,7 @@ from ..common.answer import Answer
9
9
 
10
10
  from logging_config import logger
11
11
  env_helper: EnvHelper = EnvHelper()
12
+ log_execution = env_helper.LOG_EXECUTION
12
13
  log_args = env_helper.LOG_ARGS
13
14
  log_result = env_helper.LOG_RESULT
14
15
 
@@ -35,7 +36,7 @@ class ContentSafetyChecker(AnswerProcessingBase):
35
36
  AzureKeyCredential(env_helper.AZURE_CONTENT_SAFETY_KEY),
36
37
  )
37
38
 
38
- @logger.trace_function(log_args=False, log_result=False)
39
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
39
40
  def process_answer(self, answer: Answer, **kwargs: dict) -> Answer:
40
41
  logger.info("Processing answer.")
41
42
  response_template = kwargs["response_template"]
@@ -44,7 +45,7 @@ class ContentSafetyChecker(AnswerProcessingBase):
44
45
  )
45
46
  return answer
46
47
 
47
- @logger.trace_function(log_args=False, log_result=False)
48
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
48
49
  def validate_input_and_replace_if_harmful(self, text):
49
50
  logger.info("Validating input text for harmful content")
50
51
  response_template = f'{"Unfortunately, I am not able to process your question, as I have detected sensitive content that I am not allowed to process. This might be a mistake, so please try rephrasing your question."}'
@@ -53,7 +54,7 @@ class ContentSafetyChecker(AnswerProcessingBase):
53
54
  response_template=response_template,
54
55
  ).answer
55
56
 
56
- @logger.trace_function(log_args=False, log_result=False)
57
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
57
58
  def validate_output_and_replace_if_harmful(self, text):
58
59
  logger.info("Validating output text for harmful content")
59
60
  response_template = f'{"Unfortunately, I have detected sensitive content in my answer, which I am not allowed to show you. This might be a mistake, so please try again and maybe rephrase your question."}'
@@ -62,7 +63,7 @@ class ContentSafetyChecker(AnswerProcessingBase):
62
63
  response_template=response_template,
63
64
  ).answer
64
65
 
65
- @logger.trace_function(log_args=False, log_result=False)
66
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
66
67
  def _filter_text_and_replace(self, text, response_template):
67
68
  logger.info("Analyzing text for harmful content")
68
69
  request = AnalyzeTextOptions(text=text)
@@ -5,6 +5,7 @@ from ..helpers.config.config_helper import ConfigHelper
5
5
  from ...utilities.helpers.env_helper import EnvHelper
6
6
  from logging_config import logger
7
7
  env_helper: EnvHelper = EnvHelper()
8
+ log_execution = env_helper.LOG_EXECUTION
8
9
  log_args = env_helper.LOG_ARGS
9
10
  log_result = env_helper.LOG_RESULT
10
11
 
@@ -13,7 +14,7 @@ class PostPromptTool:
13
14
  def __init__(self) -> None:
14
15
  pass
15
16
 
16
- @logger.trace_function(log_args=False, log_result=False)
17
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
17
18
  def validate_answer(self, answer: Answer) -> Answer:
18
19
  logger.info("Validating answer using post-answering prompt.")
19
20
  config = ConfigHelper.get_active_config_or_default()
@@ -12,6 +12,7 @@ from openai.types.chat import ChatCompletion
12
12
 
13
13
  from logging_config import logger
14
14
  env_helper: EnvHelper = EnvHelper()
15
+ log_execution = env_helper.LOG_EXECUTION
15
16
  log_args = env_helper.LOG_ARGS
16
17
  log_result = env_helper.LOG_RESULT
17
18
 
@@ -40,7 +41,7 @@ class QuestionAnswerTool(AnsweringToolBase):
40
41
  return self.answer
41
42
 
42
43
  @staticmethod
43
- @logger.trace_function(log_args=False, log_result=False)
44
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
44
45
  def json_remove_whitespace(obj: str) -> str:
45
46
  """
46
47
  Remove whitespace from a JSON string.
@@ -58,7 +59,7 @@ class QuestionAnswerTool(AnsweringToolBase):
58
59
  return obj
59
60
 
60
61
  @staticmethod
61
- @logger.trace_function(log_args=False, log_result=False)
62
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
62
63
  def clean_chat_history(chat_history: list[dict]) -> list[dict]:
63
64
  """
64
65
  Clean the chat history by retaining only the content and role of each message.
@@ -82,7 +83,7 @@ class QuestionAnswerTool(AnsweringToolBase):
82
83
  )
83
84
  return cleaned_history
84
85
 
85
- @logger.trace_function(log_args=False, log_result=False)
86
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
86
87
  def generate_messages(self, question: str, sources: list[SourceDocument]):
87
88
  """
88
89
  Generate messages for the language model based on the question and source documents.
@@ -112,7 +113,7 @@ class QuestionAnswerTool(AnsweringToolBase):
112
113
  logger.debug(f"Generated messages: {messages}")
113
114
  return messages
114
115
 
115
- @logger.trace_function(log_args=False, log_result=False)
116
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
116
117
  def generate_on_your_data_messages(
117
118
  self,
118
119
  question: str,
@@ -216,7 +217,7 @@ class QuestionAnswerTool(AnsweringToolBase):
216
217
  logger.debug(f"Generated On Your Data messages: {messages}")
217
218
  return messages
218
219
 
219
- @logger.trace_function(log_args=False, log_result=False)
220
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
220
221
  def answer_question(self, question: str, chat_history: list[dict], **kwargs):
221
222
  """
222
223
  Answer the given question using the chat history and additional parameters.
@@ -266,7 +267,7 @@ class QuestionAnswerTool(AnsweringToolBase):
266
267
  logger.debug(f"Answer: {clean_answer.answer}")
267
268
  return clean_answer
268
269
 
269
- @logger.trace_function(log_args=False, log_result=log_result)
270
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=log_result)
270
271
  def create_image_url_list(self, source_documents):
271
272
  """
272
273
  Create a list of image URLs from the source documents.
@@ -293,7 +294,7 @@ class QuestionAnswerTool(AnsweringToolBase):
293
294
  )
294
295
  return image_urls
295
296
 
296
- @logger.trace_function(log_args=False, log_result=False)
297
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
297
298
  def format_answer_from_response(
298
299
  self,
299
300
  response: ChatCompletion,
@@ -6,6 +6,7 @@ from ..common.answer import Answer
6
6
  from ...utilities.helpers.env_helper import EnvHelper
7
7
  from logging_config import logger
8
8
  env_helper: EnvHelper = EnvHelper()
9
+ log_execution = env_helper.LOG_EXECUTION
9
10
  log_args = env_helper.LOG_ARGS
10
11
  log_result = env_helper.LOG_RESULT
11
12
 
@@ -14,7 +15,7 @@ class TextProcessingTool(AnsweringToolBase):
14
15
  def __init__(self) -> None:
15
16
  self.name = "TextProcessing"
16
17
 
17
- @logger.trace_function(log_args=False, log_result=False)
18
+ @logger.trace_function(log_execution=log_execution, log_args=False, log_result=False)
18
19
  def answer_question(self, question: str, chat_history: List[dict] = [], **kwargs):
19
20
  logger.info(f"Answering question: {question}")
20
21
  llm_helper = LLMHelper()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cwyodmodules
3
- Version: 0.3.35
3
+ Version: 0.3.37
4
4
  Summary: Add your description here
5
5
  Author-email: Patrik <patrikhartl@gmail.com>
6
6
  Classifier: Operating System :: OS Independent
@@ -40,7 +40,7 @@ Requires-Dist: azure-search-documents==11.6.0b4
40
40
  Requires-Dist: semantic-kernel==1.3.0
41
41
  Requires-Dist: pydantic==2.7.4
42
42
  Requires-Dist: pandas>=2.2.3
43
- Requires-Dist: azpaddypy>=0.2.7
43
+ Requires-Dist: azpaddypy>=0.3.0
44
44
  Dynamic: license-file
45
45
 
46
46
  # paddypy
@@ -1,49 +1,49 @@
1
1
  cwyodmodules/logging_config.py,sha256=YhJTNVz7V5R0RDMZ7ABJkS430nnF6XXBQY7cdyJ6v-8,1045
2
2
  cwyodmodules/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- cwyodmodules/api/chat_history.py,sha256=cVURaRycpES7YXxGCqqcb8IIr3WDmisGmwufhp-H970,20384
3
+ cwyodmodules/api/chat_history.py,sha256=hM4JbW14_YhSgXGApGQrUVWnSg2zL4ZsPzJ8hPC9GFQ,20686
4
4
  cwyodmodules/batch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  cwyodmodules/batch/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- cwyodmodules/batch/utilities/chat_history/auth_utils.py,sha256=G661HhEYSlSO4ZjMMIK1qbXw9M2CErGtQCHbZqhX1VQ,2013
7
- cwyodmodules/batch/utilities/chat_history/cosmosdb.py,sha256=HOYf6LKo90LYImTZ1-pfp-0Gp4ymPIzf6kQXbMyc4q4,8391
6
+ cwyodmodules/batch/utilities/chat_history/auth_utils.py,sha256=yohcTZLx092KB5CvP1AO_33vCVHwKyDeiRWpQgO5z5k,2112
7
+ cwyodmodules/batch/utilities/chat_history/cosmosdb.py,sha256=TSsZXZfC4PhKZsfIho0PBo2tPRVh0OQxrMsnOz35BVw,8780
8
8
  cwyodmodules/batch/utilities/chat_history/database_client_base.py,sha256=6y7h2iL0Uxn4c11N99Ao-8nplQGVGQAOnev3GlHIDXA,2328
9
9
  cwyodmodules/batch/utilities/chat_history/database_factory.py,sha256=kdleC4P8u8rYPsx2HcPQwyOgFf_mph3Nh-Mmzz1V7oM,2401
10
- cwyodmodules/batch/utilities/chat_history/postgresdbservice.py,sha256=xqJXURjKt4N7BsPwPHRPvB6mUIJzkTp-10zzPbU3nEc,12640
10
+ cwyodmodules/batch/utilities/chat_history/postgresdbservice.py,sha256=7kAQ95cc9SfgIVXK3EKjLqI55-OVG9qXowcdsl7MjGY,13030
11
11
  cwyodmodules/batch/utilities/chat_history/sample_user.py,sha256=GNXZ_yTjud8Zj0vgHnoU96RJMiJt0YRjEVO3pt7203A,3037
12
12
  cwyodmodules/batch/utilities/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  cwyodmodules/batch/utilities/common/answer.py,sha256=C1g_Xt85TfXK2qV1F6J5_o3MyIUdFpUmvgkIpuEcp4I,3093
14
- cwyodmodules/batch/utilities/common/source_document.py,sha256=YW4_MIRXtPScwqOE3su2u1MKSij96ttERMdb3BNjwdE,6277
14
+ cwyodmodules/batch/utilities/common/source_document.py,sha256=XSpQroya1ngj4kzztToNg0kkn9swQbQAITw_wNa2RS0,6550
15
15
  cwyodmodules/batch/utilities/document_chunking/__init__.py,sha256=s7G-4CLzaVRPe-ePbSfFKLI93Oimf1RYJYC0JA9qlek,272
16
16
  cwyodmodules/batch/utilities/document_chunking/chunking_strategy.py,sha256=c-ZNxdz14r2pSiCBYHh17WHs2nM2RpKou3q8DunDHnU,2001
17
17
  cwyodmodules/batch/utilities/document_chunking/document_chunking_base.py,sha256=suBdj8Iko8g_jO7IWlf1cg9PKTx0hMk1zfP9fXyMigU,442
18
- cwyodmodules/batch/utilities/document_chunking/fixed_size_overlap.py,sha256=HIEfuLDvd2oIbgKNGYCjCpavWTRo59LvzHe6fXR0SxI,1860
19
- cwyodmodules/batch/utilities/document_chunking/layout.py,sha256=Z7SFYBkMmwPIsqC_57WrANh4smQLpdvGSmFbeZgAp1I,1857
20
- cwyodmodules/batch/utilities/document_chunking/page.py,sha256=CsR0wTQyODKv7T4BD3uYMdQqUVsgxgW2QjhlKCvneVI,1837
18
+ cwyodmodules/batch/utilities/document_chunking/fixed_size_overlap.py,sha256=7zSLAyX5sQQuAnci9Fm1vZcFB0UUITkNHiIdCPJVCIU,1930
19
+ cwyodmodules/batch/utilities/document_chunking/layout.py,sha256=EmjNT6ABGcaoYEX1-LqXO47yxIF_UFPUewxY3PoVS90,1927
20
+ cwyodmodules/batch/utilities/document_chunking/page.py,sha256=i5k0XExnvOHMI9oOUG0PABaEwGM33A8Xu22N3eoGeoI,1907
21
21
  cwyodmodules/batch/utilities/document_chunking/paragraph.py,sha256=cnTUMpOhbwCng_k42H5AJbXiFlgkFpJU0r4onaHEPyY,539
22
22
  cwyodmodules/batch/utilities/document_chunking/strategies.py,sha256=udKC3li_tuLkveYNH2_SRPVmgK8wxhfULBN7mgl1Z30,1722
23
23
  cwyodmodules/batch/utilities/document_loading/__init__.py,sha256=a4Fq-2vYnTedtknfOwTPyFi_czVrK1MvVz7TDy54LH8,637
24
24
  cwyodmodules/batch/utilities/document_loading/document_loading_base.py,sha256=MaoGzQDgrPW0QwRFAIMTWHZuoUkXW0rJISWH_BWhxMQ,336
25
25
  cwyodmodules/batch/utilities/document_loading/layout.py,sha256=3PMo3Hc-75_mNAq6oz7GCqC3uFrLmkPMLOw4jH57df4,893
26
- cwyodmodules/batch/utilities/document_loading/read.py,sha256=KVwFE4j3oJlie_VrsQvK4ltP0czXO2k9RCVA5pLwgxc,1614
26
+ cwyodmodules/batch/utilities/document_loading/read.py,sha256=ypuwcWR1VyA2_CKgnXGxaJ-8Q5nn4qgg_4uxEpWrZHM,1684
27
27
  cwyodmodules/batch/utilities/document_loading/strategies.py,sha256=ZBKYPJD8UJmPBzljQc4yh0rMHJvYn9Gxn7TbuYrNU6A,792
28
28
  cwyodmodules/batch/utilities/document_loading/web.py,sha256=LRTNYs_7CN8nfMOaCoW7Py_obrLpj3vI4kneNVEHGXE,1186
29
29
  cwyodmodules/batch/utilities/document_loading/word_document.py,sha256=-F1asMaupQk4swEeCoAD8tyYENE4Qq-05-VmPUjRdeA,1569
30
30
  cwyodmodules/batch/utilities/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  cwyodmodules/batch/utilities/helpers/azure_blob_storage_client.py,sha256=FN2XnEThmtbWnwSi1sEfgekuPH7aJBOAU5n2DBmQ9ww,10315
32
- cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py,sha256=XaYQdmT4ajYG62YeHezsJBeYKjF9GOzEnw3utUi0hgM,4121
33
- cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py,sha256=wtM24ka1Uk3sAFP9vu5DnyrMjBR7GNRDJKTiI-BJKL0,6906
32
+ cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py,sha256=KVoBdRElrek2C0CCFZjGWt9hYmMBHiOnZanc1l1MYlg,4336
33
+ cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py,sha256=nDCRu3YjkoyYt4S3ouSMuAu45-BrLPPRlGbkJ0zgr-4,7005
34
34
  cwyodmodules/batch/utilities/helpers/azure_identity_helper.py,sha256=aiYZH4F9aZBd5DDRuVvIn6jiIDgC0i-R-1-NqHqosnI,1806
35
- cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py,sha256=1PqsUIhzJinLdQyB4h0K7bYmS5vIh4SY5-G_5Ybvfss,11566
36
- cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py,sha256=QGWYkDrP9bc6-NHV3ZRv0tiw0QFaRoyhnB2K4WeJ290,11638
37
- cwyodmodules/batch/utilities/helpers/azure_search_helper.py,sha256=iyCSEQtot6etyWKQAll3T4dWuPYA9R7-JXIlmybsmew,11146
35
+ cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py,sha256=nvuGHTtJGqWOENRpq5JSGhat6W-TrtzSUOfUjsPd6pA,11897
36
+ cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py,sha256=RNsRSgvfNVgb-uVMvGE26bf_UYuesKzgazT2ABGUYgc,11969
37
+ cwyodmodules/batch/utilities/helpers/azure_search_helper.py,sha256=rFqELRU7q0pkDC4xLBLPANxFji2JQ_WlpcZBt-pZgmA,11448
38
38
  cwyodmodules/batch/utilities/helpers/document_chunking_helper.py,sha256=2MZOjW-fHXgYijP3m9O-nizOlk96Yg0axyxT0K6fTnM,725
39
39
  cwyodmodules/batch/utilities/helpers/document_loading_helper.py,sha256=2HBEl3vW-_PKbX5pPntTC_R5eToTk2Qb-q3M4Mt6hCU,603
40
- cwyodmodules/batch/utilities/helpers/env_helper.py,sha256=xqGD7msUDDcWT-GeazYnm7wuuXmiQo9IZBwLNmSy4_A,15898
41
- cwyodmodules/batch/utilities/helpers/lightrag_helper.py,sha256=IvJnSYpEweyMJ6ENt_fNeClcMvHbC5aBs0GZNmJMbT8,3822
42
- cwyodmodules/batch/utilities/helpers/llm_helper.py,sha256=3KPpWHizT3CONWl7X2nAqbk40gGf0Wwyr-AD38iir4g,8114
40
+ cwyodmodules/batch/utilities/helpers/env_helper.py,sha256=f0YjleNx4YUfWwlXlY3vECYAgmLG3GrqsCWtrl5ZMo4,16033
41
+ cwyodmodules/batch/utilities/helpers/lightrag_helper.py,sha256=5DGvwnephNxTXanBlEnNQYtKC_TA-xm4Rz_6AVYqEPE,3979
42
+ cwyodmodules/batch/utilities/helpers/llm_helper.py,sha256=EeoYDdjEp98vQZ67sM_t36QyicLlJMc-KW9w-5_ZbFA,8416
43
43
  cwyodmodules/batch/utilities/helpers/orchestrator_helper.py,sha256=mCcZyMFG0otnw9gzWd-PYocHmDdFDVg-RT9oDPiDZPk,897
44
- cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=yMPpGKYuoDa0nkynl1OAAuMxpMphuEY-6MwBNPcglnw,2830
44
+ cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=raHCAJnAQ0tofk9-Ocf2OPL-4iBIze4D8UtcXgZ6P14,2917
45
45
  cwyodmodules/batch/utilities/helpers/config/assistant_strategy.py,sha256=uT8h646zEURU9x8oDOH7pWoZKb0Mw6dA2nJtA2M-ufg,171
46
- cwyodmodules/batch/utilities/helpers/config/config_helper.py,sha256=5IVmrXi7WBGhNE_PN3dBVpHjBhQDFi0WnDN-HjQpwy8,14319
46
+ cwyodmodules/batch/utilities/helpers/config/config_helper.py,sha256=XV4MwE_rtbRNa5YRf6NUkfUmORCTbZSp4memGw-rbZU,14911
47
47
  cwyodmodules/batch/utilities/helpers/config/conversation_flow.py,sha256=4nP8a-I-sME5-2unzWWBNpTzWdfpfc5_EAYU6Pn6LAQ,94
48
48
  cwyodmodules/batch/utilities/helpers/config/database_type.py,sha256=Zmmlh1NAKDdd-2ei478boncRKcx8v3lDkPf4kO2j4ss,132
49
49
  cwyodmodules/batch/utilities/helpers/config/default.json,sha256=FnW-cSQJr4xkFwe3B44HtpDeJr8iPDIYfKxBUVdPXQs,15259
@@ -52,43 +52,43 @@ cwyodmodules/batch/utilities/helpers/config/default_employee_assistant_prompt.tx
52
52
  cwyodmodules/batch/utilities/helpers/config/embedding_config.py,sha256=9pCJxpsouln9dngjVHaKGFYP14PrwmSts_UFDytSiVk,950
53
53
  cwyodmodules/batch/utilities/helpers/embedders/embedder_base.py,sha256=z34LTNGzjiHr6_YWZ8NejUsX1KKYqXPWcqZ8mW_3CHI,699
54
54
  cwyodmodules/batch/utilities/helpers/embedders/embedder_factory.py,sha256=cJ9ZTXZEyOJ5TLB6pDsb9zvUZrJYY-LD40n0l1-qHcw,790
55
- cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py,sha256=sJr3ZT1ijn0and2OEgcQONkcHF_OxPchNFBTv3XKcZk,2856
56
- cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py,sha256=aVXn0UxuaIeBfOvIqByqoLkZn1BOsiJpFxDhLymMAkA,4467
57
- cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py,sha256=uh-JYx1C7MBpMYzsHFfPqZlALzj6GxkkSvSFAsL3NpI,8459
55
+ cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py,sha256=ke64j_QPcWW94ELy0MSGmSbXEhCCjViBktNZOPzO2x0,3341
56
+ cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py,sha256=yBtQkDLTEhkm7Q11zZ5OwVl8U2_xKS7lTSswDouhq3I,4868
57
+ cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py,sha256=T-gHZZz8LpdfFNCOhKJNcq4v9mOmkdFd41v3SldKcPY,9146
58
58
  cwyodmodules/batch/utilities/integrated_vectorization/azure_search_datasource.py,sha256=rDwPgr-UCSYscc7hPOUJMwP09a9rX1MXAGf94TubdQo,2231
59
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py,sha256=6jNz1nnIAPV57mMSWeKC-A6JQ5bLZW63rjgauF0wtY0,6579
60
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py,sha256=rSDwIONB3BlpkXk6pm7-B2LpJ8WkZKJJ2WSr1YttVFk,3236
61
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py,sha256=0yDeA1j9WanPv_kJncs6tTGKvedghrmawIFNnSBHT3A,5835
59
+ cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py,sha256=iP-ZRhPx5VVYhwTOpg6jp4VsSfpVimQ_7RJ0m5J5hp8,6736
60
+ cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py,sha256=AyQUtqMvfg3ynVPxJZprcPl4C8cNXyuWMFENelZSbpg,3364
61
+ cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py,sha256=SWceQYSAAt8Q5lLIp3B5O0RjwmJHgrptB6OA8rPN70s,5905
62
62
  cwyodmodules/batch/utilities/loggers/conversation_logger.py,sha256=0aXsL475-6WTqg18nHFJMFRBo34oIXWrZ_eVZwULcdk,3014
63
63
  cwyodmodules/batch/utilities/orchestrator/__init__.py,sha256=4nCkoUWTROUHJMolgMwPgFIUsJrFUuu0zlHXMUTchRc,479
64
- cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py,sha256=M4uhXhsuvtWZmd5lRoubJHS-oAjV8_WkNam8cMCAkH4,6767
65
- cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py,sha256=ZnuVdjVF__wm2uTyYyoidKlpabAgkb2NqmhKNBlsi-A,9171
64
+ cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py,sha256=xe6-MPwpLaiQD7wUBTNKWCj2LbrvOTP6rWO6sRNxw9c,6895
65
+ cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py,sha256=rLsNZYr7jb1MXaqwaMUFCC783uVWA5H5tnL4LcjvPDE,9241
66
66
  cwyodmodules/batch/utilities/orchestrator/orchestration_strategy.py,sha256=-MEPKVX3-hH6w0NRsGkQpCV86u1d7Qx1TWEKL09jj9A,755
67
- cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py,sha256=YQ063bRRhjLcume40Am2fCFXFVPm5X8wBkSELileJ1A,6724
68
- cwyodmodules/batch/utilities/orchestrator/prompt_flow.py,sha256=2AouYxFmNx6XR6ye9p9zWDl1Hh_vXGt59iubuow3II8,7655
69
- cwyodmodules/batch/utilities/orchestrator/semantic_kernel_orchestrator.py,sha256=8DpOjH41iQji0jCuolR3JLtHOHN-UpEhwohHbC9K4XQ,9215
67
+ cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py,sha256=cLNDrqHbD4pQi6AOnihn11gmxV5rE87lA-G5edWKDN0,6881
68
+ cwyodmodules/batch/utilities/orchestrator/prompt_flow.py,sha256=k78GtnnjivU6nwpvClTxB_W_CPtTBnYcDUQUDDQuZqM,7812
69
+ cwyodmodules/batch/utilities/orchestrator/semantic_kernel_orchestrator.py,sha256=y1x6tBAlo3rKY-bSlkLvF633zUdY7gi6abEvJCDtnXI,9285
70
70
  cwyodmodules/batch/utilities/orchestrator/strategies.py,sha256=oVatdT6Gc4qtX773M9a8Izm2UNDYXmYP__8wJYdy4W8,1384
71
71
  cwyodmodules/batch/utilities/parser/__init__.py,sha256=ZGBxm1TX6cQAnFkMtKN6C2FwnNv1MmwNdyo3LWRlKlo,236
72
- cwyodmodules/batch/utilities/parser/output_parser_tool.py,sha256=UsZn7TznaF-OUgBrx5yqKfgaUByFpgrx0iz5KqPpStY,5694
72
+ cwyodmodules/batch/utilities/parser/output_parser_tool.py,sha256=nrnEki5QBpkm9oiMSNKc2BKSBSrmwV1RrT-pj9joJNo,5851
73
73
  cwyodmodules/batch/utilities/parser/parser_base.py,sha256=ZCYZEoa7-gGhoO_oMfeGCldR4OIuShf7U5lA0BuwNSY,419
74
74
  cwyodmodules/batch/utilities/plugins/chat_plugin.py,sha256=-YcUzWhh8fTh44TI3lKEOQEN-8y-_pUrp-j1vikDxEk,2935
75
- cwyodmodules/batch/utilities/plugins/outlook_calendar_plugin.py,sha256=mqdpQFDgVI6D8Gdu0f8pRu7l8RIkncEw6Hh4oNkVFx0,6115
75
+ cwyodmodules/batch/utilities/plugins/outlook_calendar_plugin.py,sha256=-fgab7dMT_Gvxf2XacHJRsCPAonwmSZr9ABh2Qi5vIo,6244
76
76
  cwyodmodules/batch/utilities/plugins/post_answering_plugin.py,sha256=U1zzf_ztxzl4y-9Qah_n7ylHDZfnDSp2ork5ctdkA5I,1117
77
- cwyodmodules/batch/utilities/search/azure_search_handler.py,sha256=K3PGMBukoPqzLn8h3PRDvRFhRah3oirV-qVmvWfTEUI,7689
78
- cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py,sha256=pV4t9-cstmYpD3sBRqjLk-re0IXbAjYLgxQvaNsORlA,3618
79
- cwyodmodules/batch/utilities/search/integrated_vectorization_search_handler.py,sha256=yRA0kAhenfII8kF6iNqkl0EEoMGqdOzVngP9uBtiC2I,8243
80
- cwyodmodules/batch/utilities/search/lightrag_search_handler.py,sha256=NBRABHv8j3I9CkdV9TvVreZVpzpYVXm2x3eb7-luEBI,3042
81
- cwyodmodules/batch/utilities/search/postgres_search_handler.py,sha256=XJPKQwdo-jrxb0RCmsVQDOR5qO_tOj3qivTitpuKItM,5185
82
- cwyodmodules/batch/utilities/search/postgres_search_handler_light_rag.py,sha256=KCMo_3c2OtCOWyXeMveboicNlJjt6Yv2qSi1nRTVhUo,5566
83
- cwyodmodules/batch/utilities/search/search.py,sha256=9gLsCEjk6yy6GquDoT05DPo0Zv8MAI73Aw9_fPa2Rtw,3358
77
+ cwyodmodules/batch/utilities/search/azure_search_handler.py,sha256=5VqZhjFVZN4EGu2CdZduzcXX34wpv80_pcDPzWFL1jU,8049
78
+ cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py,sha256=qyKodDN4UCVXQh2YuPOPZAPbWMaMFA8YfMi6NY3Vp1g,3920
79
+ cwyodmodules/batch/utilities/search/integrated_vectorization_search_handler.py,sha256=LJn3kIVN4WqV2ytDjLa2sRJSU9ODJs55Zz-5o83aDtc,8603
80
+ cwyodmodules/batch/utilities/search/lightrag_search_handler.py,sha256=lk6Kw4ZycEHuLjxK-LcMVKoZBPH61hOeQeGl9zqmxEk,3315
81
+ cwyodmodules/batch/utilities/search/postgres_search_handler.py,sha256=OMFP0i_T2nb4Pkvl9uq3p53y8YETucdhM9bnkgXpuqA,5574
82
+ cwyodmodules/batch/utilities/search/postgres_search_handler_light_rag.py,sha256=f-3LIRkeAdwJni2dFNW18lcwpnpVts0Buu3w5ISz_i8,5984
83
+ cwyodmodules/batch/utilities/search/search.py,sha256=FTkBFEjAuhOypGeIXR3gb7ZHq6zU3u2vj5hkW3rOHSk,3457
84
84
  cwyodmodules/batch/utilities/search/search_handler_base.py,sha256=UyS9dFoY-Sp4b-k7oOcPSBE0PPEqonzVlAoVlft_dvg,1877
85
85
  cwyodmodules/batch/utilities/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
86
  cwyodmodules/batch/utilities/tools/answer_processing_base.py,sha256=N3Dz7HfN-zl0yPl9cSvnChcEufFMqwRsDAJ5Lgck-ho,293
87
87
  cwyodmodules/batch/utilities/tools/answering_tool_base.py,sha256=aN2ND5Ud_1ZlIPfhLRrOe_m4MUf_SaXvO6q7GcbGiU8,348
88
- cwyodmodules/batch/utilities/tools/content_safety_checker.py,sha256=odqk8mZ_NM6b3YDFBwE_qGOVnqZBwWCcc3roMpa97Uk,4153
89
- cwyodmodules/batch/utilities/tools/post_prompt_tool.py,sha256=InCjcMnvXRPHypBsN9py4PfqNR8kUVC1m3DCQCE0vko,2428
90
- cwyodmodules/batch/utilities/tools/question_answer_tool.py,sha256=kbhmpEvkmTsnf6enRILQmzHKGMNjFyzc7lS4h-lhNFc,11934
91
- cwyodmodules/batch/utilities/tools/text_processing_tool.py,sha256=HGE2fuQhy9RyZHwjkwsGAgooEtF4QXKfg-w_iJJEupM,1757
88
+ cwyodmodules/batch/utilities/tools/content_safety_checker.py,sha256=clcH6e5XuMFSPPWJJqqFlIOZ4ejz4zhC3Bri6gIsIik,4310
89
+ cwyodmodules/batch/utilities/tools/post_prompt_tool.py,sha256=6Zf6fRLsKtfE7bDHQutU5u-ZaKoOctnHEtBajmIFVVQ,2498
90
+ cwyodmodules/batch/utilities/tools/question_answer_tool.py,sha256=Sx8nWbC3_UUSDuXfVbPVCIoVTHBblxrNXLLdjZ5ICCE,12178
91
+ cwyodmodules/batch/utilities/tools/text_processing_tool.py,sha256=re8_Ti2Eq0lOP05TaDwO2TLcZdNiWDOuzMChIhldh2c,1827
92
92
  cwyodmodules/graphrag/__init__.py,sha256=O5fi4Q3RC9Gt8ItNZGV1HjyIJvEz7grYXTFMmUWstxw,111
93
93
  cwyodmodules/graphrag/config.py,sha256=TvG45dezHkqgZzWnPxhpyWciIiKOrD_3JQ3APkoD6Hw,1525
94
94
  cwyodmodules/graphrag/main.py,sha256=8_z5X3b00J1FYnq43LrbJpOC3bKGkuyZQglgtBtVO2I,2201
@@ -109,8 +109,8 @@ cwyodmodules/graphrag/query/generate.py,sha256=xBnZs2U9xFWtPk4AfAZgYKbHdcxNcIO6Q
109
109
  cwyodmodules/graphrag/query/graph_search.py,sha256=95h3ecSWx4864XgKABtG0fh3Nk8HkqJVzoCrO8daJ-Y,7724
110
110
  cwyodmodules/graphrag/query/types.py,sha256=1Iq1dp4I4a56_cuFjOZ0NTgd0A2_MpVFznp_czgt6cI,617
111
111
  cwyodmodules/graphrag/query/vector_search.py,sha256=9Gwu9LPjtoAYUU8WKqCvbCHAIg3dpk71reoYd1scLnQ,1807
112
- cwyodmodules-0.3.35.dist-info/licenses/LICENSE,sha256=UqBDTipijsSW2ZSOXyTZnMsXmLoEHTgNEM0tL4g-Sso,1150
113
- cwyodmodules-0.3.35.dist-info/METADATA,sha256=Fcv9mPqvwG7iufW4-v9ryWyuG_7L2DTFK9nb2jOQqLM,2002
114
- cwyodmodules-0.3.35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
- cwyodmodules-0.3.35.dist-info/top_level.txt,sha256=99RENLbkdRX-qpJvsxZ5AfmTL5s6shSaKOWYpz1vwzg,13
116
- cwyodmodules-0.3.35.dist-info/RECORD,,
112
+ cwyodmodules-0.3.37.dist-info/licenses/LICENSE,sha256=UqBDTipijsSW2ZSOXyTZnMsXmLoEHTgNEM0tL4g-Sso,1150
113
+ cwyodmodules-0.3.37.dist-info/METADATA,sha256=H-52fluHrRHYGmjGZHTrxZkg3SP0VbYvno_wAAfpl2o,2002
114
+ cwyodmodules-0.3.37.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
+ cwyodmodules-0.3.37.dist-info/top_level.txt,sha256=99RENLbkdRX-qpJvsxZ5AfmTL5s6shSaKOWYpz1vwzg,13
116
+ cwyodmodules-0.3.37.dist-info/RECORD,,