cwyodmodules 0.3.27__py3-none-any.whl → 0.3.29__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.
- cwyodmodules/api/chat_history.py +1 -1
- cwyodmodules/batch/utilities/chat_history/auth_utils.py +1 -1
- cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py +4 -2
- cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py +1 -1
- cwyodmodules/batch/utilities/helpers/azure_identity_helper.py +15 -11
- cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py +7 -7
- cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py +6 -6
- cwyodmodules/batch/utilities/helpers/azure_search_helper.py +2 -2
- cwyodmodules/batch/utilities/helpers/config/config_helper.py +1 -1
- cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py +1 -1
- cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py +1 -1
- cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py +1 -1
- cwyodmodules/batch/utilities/helpers/lightrag_helper.py +9 -8
- cwyodmodules/batch/utilities/helpers/llm_helper.py +2 -2
- cwyodmodules/batch/utilities/helpers/secret_helper.py +1 -1
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py +2 -2
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py +2 -2
- cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py +2 -2
- cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py +1 -1
- cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py +1 -1
- cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py +9 -3
- cwyodmodules/batch/utilities/orchestrator/prompt_flow.py +1 -1
- cwyodmodules/batch/utilities/search/azure_search_handler.py +1 -1
- cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py +2 -2
- cwyodmodules/batch/utilities/search/lightrag_search_handler.py +3 -2
- {cwyodmodules-0.3.27.dist-info → cwyodmodules-0.3.29.dist-info}/METADATA +1 -1
- {cwyodmodules-0.3.27.dist-info → cwyodmodules-0.3.29.dist-info}/RECORD +30 -30
- {cwyodmodules-0.3.27.dist-info → cwyodmodules-0.3.29.dist-info}/WHEEL +0 -0
- {cwyodmodules-0.3.27.dist-info → cwyodmodules-0.3.29.dist-info}/licenses/LICENSE +0 -0
- {cwyodmodules-0.3.27.dist-info → cwyodmodules-0.3.29.dist-info}/top_level.txt +0 -0
cwyodmodules/api/chat_history.py
CHANGED
@@ -14,7 +14,7 @@ from ..batch.utilities.chat_history.database_factory import DatabaseFactory
|
|
14
14
|
|
15
15
|
# load_dotenv()
|
16
16
|
bp_chat_history_response = Blueprint("chat_history", __name__)
|
17
|
-
logger = logging.getLogger(
|
17
|
+
logger = logging.getLogger("__main__")
|
18
18
|
logger.setLevel(level=os.environ.get("LOGLEVEL", "INFO").upper())
|
19
19
|
|
20
20
|
env_helper: EnvHelper = EnvHelper()
|
@@ -7,7 +7,7 @@ from requests import Response
|
|
7
7
|
|
8
8
|
from .env_helper import EnvHelper
|
9
9
|
|
10
|
-
logger = logging.getLogger(
|
10
|
+
logger = logging.getLogger("__main__")
|
11
11
|
|
12
12
|
|
13
13
|
class AzureComputerVisionClient:
|
@@ -56,7 +56,9 @@ class AzureComputerVisionClient:
|
|
56
56
|
if self.use_keys:
|
57
57
|
headers["Ocp-Apim-Subscription-Key"] = self.key
|
58
58
|
else:
|
59
|
-
access_information = self.azure_identity_helper.get_token_provider(
|
59
|
+
access_information = self.azure_identity_helper.get_token_provider(
|
60
|
+
scopes=self.__TOKEN_SCOPE
|
61
|
+
)
|
60
62
|
headers["Authorization"] = "Bearer " + access_information()
|
61
63
|
|
62
64
|
return requests.post(
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import os
|
1
2
|
from azure.identity import (
|
2
3
|
ChainedTokenCredential,
|
3
4
|
ManagedIdentityCredential,
|
@@ -22,6 +23,8 @@ class AzureIdentityHelper:
|
|
22
23
|
# Configure in-memory token cache persistence
|
23
24
|
# For in-memory, unencrypted storage is typically allowed for simplicity during development.
|
24
25
|
# In production, especially with shared environments, consider the security implications.
|
26
|
+
client_secret_available = os.getenv("AZURE_CLIENT_SECRET") is not None
|
27
|
+
|
25
28
|
token_cache_options = TokenCachePersistenceOptions(allow_unencrypted_storage=True)
|
26
29
|
|
27
30
|
# Create individual credential instances
|
@@ -34,10 +37,18 @@ class AzureIdentityHelper:
|
|
34
37
|
|
35
38
|
# Create a chain of credentials
|
36
39
|
# The chain will try credentials in the order they are provided.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
40
|
+
if client_secret_available:
|
41
|
+
logger.info("Using Environment Credential first with token cache persistence.")
|
42
|
+
self._credential = ChainedTokenCredential(
|
43
|
+
environment_credential,
|
44
|
+
managed_identity_credential
|
45
|
+
)
|
46
|
+
else:
|
47
|
+
logger.info("Using Managed Identity Credential first with token cache persistence.")
|
48
|
+
self._credential = ChainedTokenCredential(
|
49
|
+
managed_identity_credential,
|
50
|
+
environment_credential
|
51
|
+
)
|
41
52
|
|
42
53
|
def get_credential(self) -> ChainedTokenCredential:
|
43
54
|
"""
|
@@ -62,10 +73,3 @@ class AzureIdentityHelper:
|
|
62
73
|
with tracer.start_as_current_span("AzureIdentityHelper.get_token_provider"):
|
63
74
|
logger.info("Retrieving ChainedTokenCredential provider.")
|
64
75
|
return get_bearer_token_provider(self._credential, scopes)
|
65
|
-
|
66
|
-
|
67
|
-
# Example usage (optional, for testing or demonstration):
|
68
|
-
if __name__ == "__main__":
|
69
|
-
helper = AzureIdentityHelper()
|
70
|
-
credential = helper.get_credential()
|
71
|
-
print("Successfully created ChainedTokenCredential.")
|
@@ -5,7 +5,7 @@ from ..helpers.azure_identity_helper import AzureIdentityHelper
|
|
5
5
|
from .llm_helper import LLMHelper
|
6
6
|
from .env_helper import EnvHelper
|
7
7
|
|
8
|
-
logger = logging.getLogger(
|
8
|
+
logger = logging.getLogger("__main__")
|
9
9
|
|
10
10
|
|
11
11
|
class AzurePostgresHelper:
|
@@ -25,12 +25,12 @@ class AzurePostgresHelper:
|
|
25
25
|
dbname = self.env_helper.POSTGRESQL_DATABASE
|
26
26
|
|
27
27
|
# Acquire the access token
|
28
|
-
access_information = self.azure_identity_helper.get_token(
|
28
|
+
access_information = self.azure_identity_helper.get_token(
|
29
|
+
scopes="https://ossrdbms-aad.database.windows.net/.default"
|
30
|
+
)
|
29
31
|
token = access_information.token
|
30
32
|
# Use the token in the connection string
|
31
|
-
conn_string =
|
32
|
-
f"host={host} user={user} dbname={dbname} password={token}"
|
33
|
-
)
|
33
|
+
conn_string = f"host={host} user={user} dbname={dbname} password={token}"
|
34
34
|
keepalive_kwargs = {
|
35
35
|
"keepalives": 1,
|
36
36
|
"keepalives_idle": 30,
|
@@ -277,7 +277,7 @@ class AzurePostgresHelper:
|
|
277
277
|
raise
|
278
278
|
finally:
|
279
279
|
conn.close()
|
280
|
-
|
280
|
+
|
281
281
|
def store_with_lightrag(self, documents_to_upload):
|
282
282
|
"""
|
283
283
|
Stores documents using LightRAG for enhanced vector and text storage capabilities.
|
@@ -290,4 +290,4 @@ class AzurePostgresHelper:
|
|
290
290
|
logger.error(f"Error storing documents with LightRAG: {e}")
|
291
291
|
raise
|
292
292
|
finally:
|
293
|
-
conn.close()
|
293
|
+
conn.close()
|
@@ -6,7 +6,7 @@ from .env_helper import EnvHelper
|
|
6
6
|
from .lightrag_helper import LightRAGHelper
|
7
7
|
from ..helpers.azure_identity_helper import AzureIdentityHelper
|
8
8
|
|
9
|
-
logger = logging.getLogger(
|
9
|
+
logger = logging.getLogger("__main__")
|
10
10
|
|
11
11
|
|
12
12
|
class AzurePostgresHelper:
|
@@ -27,12 +27,12 @@ class AzurePostgresHelper:
|
|
27
27
|
dbname = self.env_helper.POSTGRESQL_DATABASE
|
28
28
|
|
29
29
|
# Acquire the access token
|
30
|
-
access_information = self.azure_identity_helper.get_token(
|
30
|
+
access_information = self.azure_identity_helper.get_token(
|
31
|
+
scopes="https://ossrdbms-aad.database.windows.net/.default"
|
32
|
+
)
|
31
33
|
token = access_information.token
|
32
34
|
# Use the token in the connection string
|
33
|
-
conn_string =
|
34
|
-
f"host={host} user={user} dbname={dbname} password={token}"
|
35
|
-
)
|
35
|
+
conn_string = f"host={host} user={user} dbname={dbname} password={token}"
|
36
36
|
keepalive_kwargs = {
|
37
37
|
"keepalives": 1,
|
38
38
|
"keepalives_idle": 30,
|
@@ -292,4 +292,4 @@ class AzurePostgresHelper:
|
|
292
292
|
logger.error(f"Error storing documents with LightRAG: {e}")
|
293
293
|
raise
|
294
294
|
finally:
|
295
|
-
conn.close()
|
295
|
+
conn.close()
|
@@ -30,7 +30,7 @@ from ..helpers.azure_computer_vision_client import AzureComputerVisionClient
|
|
30
30
|
from .llm_helper import LLMHelper
|
31
31
|
from .env_helper import EnvHelper
|
32
32
|
|
33
|
-
logger = logging.getLogger(
|
33
|
+
logger = logging.getLogger("__main__")
|
34
34
|
|
35
35
|
|
36
36
|
class AzureSearchHelper:
|
@@ -41,7 +41,7 @@ class AzureSearchHelper:
|
|
41
41
|
self.llm_helper = LLMHelper()
|
42
42
|
self.env_helper = EnvHelper()
|
43
43
|
self.azure_identity_helper = AzureIdentityHelper()
|
44
|
-
|
44
|
+
|
45
45
|
search_credential = self._search_credential()
|
46
46
|
self.search_client = self._create_search_client(search_credential)
|
47
47
|
self.search_index_client = self._create_search_index_client(search_credential)
|
@@ -18,7 +18,7 @@ from .database_type import DatabaseType
|
|
18
18
|
CONFIG_CONTAINER_NAME = "config"
|
19
19
|
CONFIG_FILE_NAME = "active.json"
|
20
20
|
ADVANCED_IMAGE_PROCESSING_FILE_TYPES = ["jpeg", "jpg", "png", "tiff", "bmp"]
|
21
|
-
logger = logging.getLogger(
|
21
|
+
logger = logging.getLogger("__main__")
|
22
22
|
|
23
23
|
|
24
24
|
class Config:
|
@@ -8,7 +8,7 @@ from ...integrated_vectorization.azure_search_skillset import AzureSearchSkillse
|
|
8
8
|
from ..config.config_helper import ConfigHelper
|
9
9
|
import logging
|
10
10
|
|
11
|
-
logger = logging.getLogger(
|
11
|
+
logger = logging.getLogger("__main__")
|
12
12
|
|
13
13
|
|
14
14
|
class IntegratedVectorizationEmbedder(EmbedderBase):
|
@@ -15,7 +15,7 @@ from ..document_loading_helper import DocumentLoading
|
|
15
15
|
from ..document_chunking_helper import DocumentChunking
|
16
16
|
from ...common.source_document import SourceDocument
|
17
17
|
|
18
|
-
logger = logging.getLogger(
|
18
|
+
logger = logging.getLogger("__main__")
|
19
19
|
|
20
20
|
|
21
21
|
class PostgresEmbedder(EmbedderBase):
|
@@ -19,7 +19,7 @@ from ..document_loading_helper import DocumentLoading
|
|
19
19
|
from ..document_chunking_helper import DocumentChunking
|
20
20
|
from ...common.source_document import SourceDocument
|
21
21
|
|
22
|
-
logger = logging.getLogger(
|
22
|
+
logger = logging.getLogger("__main__")
|
23
23
|
|
24
24
|
|
25
25
|
class PushEmbedder(EmbedderBase):
|
@@ -3,7 +3,8 @@ import psycopg2
|
|
3
3
|
from psycopg2.extras import execute_values, RealDictCursor
|
4
4
|
from ..helpers.azure_identity_helper import AzureIdentityHelper
|
5
5
|
|
6
|
-
logger = logging.getLogger(
|
6
|
+
logger = logging.getLogger("__main__")
|
7
|
+
|
7
8
|
|
8
9
|
class LightRAGHelper:
|
9
10
|
def __init__(self, env_helper):
|
@@ -21,12 +22,12 @@ class LightRAGHelper:
|
|
21
22
|
dbname = self.env_helper.POSTGRESQL_DATABASE
|
22
23
|
|
23
24
|
# Acquire the access token
|
24
|
-
access_information = self.azure_identity_helper.get_token(
|
25
|
-
|
26
|
-
# Use the token in the connection string
|
27
|
-
conn_string = (
|
28
|
-
f"host={host} user={user} dbname={dbname} password={token}"
|
25
|
+
access_information = self.azure_identity_helper.get_token(
|
26
|
+
scopes="https://ossrdbms-aad.database.windows.net/.default"
|
29
27
|
)
|
28
|
+
token = access_information.token
|
29
|
+
# Use the token in the connection string
|
30
|
+
conn_string = f"host={host} user={user} dbname={dbname} password={token}"
|
30
31
|
keepalive_kwargs = {
|
31
32
|
"keepalives": 1,
|
32
33
|
"keepalives_idle": 30,
|
@@ -83,7 +84,7 @@ class LightRAGHelper:
|
|
83
84
|
ORDER BY vector <=> %s::vector
|
84
85
|
LIMIT %s
|
85
86
|
""",
|
86
|
-
(query_vector, top_k)
|
87
|
+
(query_vector, top_k),
|
87
88
|
)
|
88
89
|
results = cur.fetchall()
|
89
90
|
logger.info(f"Retrieved {len(results)} vectors.")
|
@@ -92,4 +93,4 @@ class LightRAGHelper:
|
|
92
93
|
logger.error(f"Error retrieving vectors: {e}")
|
93
94
|
raise
|
94
95
|
finally:
|
95
|
-
conn.close()
|
96
|
+
conn.close()
|
@@ -11,7 +11,7 @@ from azure.ai.ml import MLClient
|
|
11
11
|
from ..helpers.azure_identity_helper import AzureIdentityHelper
|
12
12
|
from .env_helper import EnvHelper
|
13
13
|
|
14
|
-
logger = logging.getLogger(
|
14
|
+
logger = logging.getLogger("__main__")
|
15
15
|
|
16
16
|
|
17
17
|
class LLMHelper:
|
@@ -19,7 +19,7 @@ class LLMHelper:
|
|
19
19
|
logger.info("Initializing LLMHelper")
|
20
20
|
self.env_helper: EnvHelper = EnvHelper()
|
21
21
|
self.azure_identity_helper = AzureIdentityHelper()
|
22
|
-
|
22
|
+
|
23
23
|
self.auth_type_keys = self.env_helper.is_auth_type_keys()
|
24
24
|
self.token_provider = self.env_helper.AZURE_TOKEN_PROVIDER
|
25
25
|
|
@@ -25,7 +25,7 @@ from ..helpers.azure_identity_helper import AzureIdentityHelper
|
|
25
25
|
from azure.core.credentials import AzureKeyCredential
|
26
26
|
from ..helpers.llm_helper import LLMHelper
|
27
27
|
|
28
|
-
logger = logging.getLogger(
|
28
|
+
logger = logging.getLogger("__main__")
|
29
29
|
|
30
30
|
|
31
31
|
class AzureSearchIndex:
|
@@ -35,7 +35,7 @@ class AzureSearchIndex:
|
|
35
35
|
self.env_helper = env_helper
|
36
36
|
self.llm_helper = llm_helper
|
37
37
|
self.azure_identity_helper = AzureIdentityHelper()
|
38
|
-
|
38
|
+
|
39
39
|
self.index_client = SearchIndexClient(
|
40
40
|
self.env_helper.AZURE_SEARCH_SERVICE,
|
41
41
|
(
|
@@ -5,14 +5,14 @@ from ..helpers.env_helper import EnvHelper
|
|
5
5
|
from ..helpers.azure_identity_helper import AzureIdentityHelper
|
6
6
|
from azure.core.credentials import AzureKeyCredential
|
7
7
|
|
8
|
-
logger = logging.getLogger(
|
8
|
+
logger = logging.getLogger("__main__")
|
9
9
|
|
10
10
|
|
11
11
|
class AzureSearchIndexer:
|
12
12
|
def __init__(self, env_helper: EnvHelper):
|
13
13
|
self.env_helper = env_helper
|
14
14
|
self.azure_identity_helper = AzureIdentityHelper()
|
15
|
-
|
15
|
+
|
16
16
|
self.indexer_client = SearchIndexerClient(
|
17
17
|
self.env_helper.AZURE_SEARCH_SERVICE,
|
18
18
|
(
|
@@ -18,7 +18,7 @@ from ..helpers.env_helper import EnvHelper
|
|
18
18
|
from ..helpers.azure_identity_helper import AzureIdentityHelper
|
19
19
|
from azure.core.credentials import AzureKeyCredential
|
20
20
|
|
21
|
-
logger = logging.getLogger(
|
21
|
+
logger = logging.getLogger("__main__")
|
22
22
|
|
23
23
|
|
24
24
|
class AzureSearchSkillset:
|
@@ -29,7 +29,7 @@ class AzureSearchSkillset:
|
|
29
29
|
):
|
30
30
|
self.env_helper = env_helper
|
31
31
|
self.azure_identity_helper = AzureIdentityHelper()
|
32
|
-
|
32
|
+
|
33
33
|
self.indexer_client = SearchIndexerClient(
|
34
34
|
self.env_helper.AZURE_SEARCH_SERVICE,
|
35
35
|
(
|
@@ -13,7 +13,7 @@ from ..tools.question_answer_tool import QuestionAnswerTool
|
|
13
13
|
from ..tools.text_processing_tool import TextProcessingTool
|
14
14
|
from ..common.answer import Answer
|
15
15
|
|
16
|
-
logger = logging.getLogger(
|
16
|
+
logger = logging.getLogger("__main__")
|
17
17
|
|
18
18
|
|
19
19
|
class LangChainAgent(OrchestratorBase):
|
@@ -10,7 +10,7 @@ from ..tools.question_answer_tool import QuestionAnswerTool
|
|
10
10
|
from ..tools.text_processing_tool import TextProcessingTool
|
11
11
|
from ..common.answer import Answer
|
12
12
|
|
13
|
-
logger = logging.getLogger(
|
13
|
+
logger = logging.getLogger("__main__")
|
14
14
|
|
15
15
|
|
16
16
|
class OpenAIFunctionsOrchestrator(OrchestratorBase):
|
@@ -7,7 +7,7 @@ from ..helpers.config.config_helper import ConfigHelper
|
|
7
7
|
from ..parser.output_parser_tool import OutputParserTool
|
8
8
|
from ..tools.content_safety_checker import ContentSafetyChecker
|
9
9
|
|
10
|
-
logger = logging.getLogger(
|
10
|
+
logger = logging.getLogger("__main__")
|
11
11
|
|
12
12
|
|
13
13
|
class OrchestratorBase(ABC):
|
@@ -46,7 +46,11 @@ class OrchestratorBase(ABC):
|
|
46
46
|
|
47
47
|
@abstractmethod
|
48
48
|
async def orchestrate(
|
49
|
-
self,
|
49
|
+
self,
|
50
|
+
user_message: str,
|
51
|
+
chat_history: List[dict],
|
52
|
+
request_headers,
|
53
|
+
**kwargs: dict,
|
50
54
|
) -> list[dict]:
|
51
55
|
"""
|
52
56
|
Abstract method to orchestrate the conversation. This method must be implemented by subclasses.
|
@@ -133,7 +137,9 @@ class OrchestratorBase(ABC):
|
|
133
137
|
Returns:
|
134
138
|
dict: The result of the orchestration as a dictionary.
|
135
139
|
"""
|
136
|
-
result = await self.orchestrate(
|
140
|
+
result = await self.orchestrate(
|
141
|
+
user_message, chat_history, request_headers, **kwargs
|
142
|
+
)
|
137
143
|
if str(self.config.logging.log_tokens).lower() == "true":
|
138
144
|
custom_dimensions = {
|
139
145
|
"conversation_id": conversation_id,
|
@@ -9,7 +9,7 @@ from ..common.source_document import SourceDocument
|
|
9
9
|
from ..helpers.llm_helper import LLMHelper
|
10
10
|
from ..helpers.env_helper import EnvHelper
|
11
11
|
|
12
|
-
logger = logging.getLogger(
|
12
|
+
logger = logging.getLogger("__main__")
|
13
13
|
|
14
14
|
|
15
15
|
class PromptFlowOrchestrator(OrchestratorBase):
|
@@ -5,7 +5,7 @@ from .search_handler_base import SearchHandlerBase
|
|
5
5
|
from ..common.source_document import SourceDocument
|
6
6
|
import json
|
7
7
|
|
8
|
-
logger = logging.getLogger(
|
8
|
+
logger = logging.getLogger("__main__")
|
9
9
|
|
10
10
|
|
11
11
|
class AzureSearchHandlerLightRag(SearchHandlerBase):
|
@@ -82,4 +82,4 @@ class AzureSearchHandlerLightRag(SearchHandlerBase):
|
|
82
82
|
page_number=source.get("page_number"),
|
83
83
|
)
|
84
84
|
)
|
85
|
-
return source_documents
|
85
|
+
return source_documents
|
@@ -4,7 +4,8 @@ from ..helpers.lightrag_helper import LightRAGHelper
|
|
4
4
|
from .search_handler_base import SearchHandlerBase
|
5
5
|
from ..common.source_document import SourceDocument
|
6
6
|
|
7
|
-
logger = logging.getLogger(
|
7
|
+
logger = logging.getLogger("__main__")
|
8
|
+
|
8
9
|
|
9
10
|
class LightRAGSearchHandler(SearchHandlerBase):
|
10
11
|
def __init__(self, env_helper):
|
@@ -56,4 +57,4 @@ class LightRAGSearchHandler(SearchHandlerBase):
|
|
56
57
|
|
57
58
|
def get_unique_files(self):
|
58
59
|
logger.info("Fetching unique files from LightRAG.")
|
59
|
-
return self.lightrag_helper.get_unique_files()
|
60
|
+
return self.lightrag_helper.get_unique_files()
|
@@ -1,8 +1,8 @@
|
|
1
1
|
cwyodmodules/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
cwyodmodules/api/chat_history.py,sha256=
|
2
|
+
cwyodmodules/api/chat_history.py,sha256=qBX5r_UbpT6Vuj1wbGY88lP4ApvksMtNt4dYXIECRDU,19822
|
3
3
|
cwyodmodules/batch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
cwyodmodules/batch/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
cwyodmodules/batch/utilities/chat_history/auth_utils.py,sha256=
|
5
|
+
cwyodmodules/batch/utilities/chat_history/auth_utils.py,sha256=WVXAAlmD_sbSsBAAZxU7jEX_kC3nt6qdz18wzu2CdWY,1752
|
6
6
|
cwyodmodules/batch/utilities/chat_history/cosmosdb.py,sha256=oiL_iM6yUoxadP7Cx0ewiVAfS2ubdouuI6gllva4-Is,7374
|
7
7
|
cwyodmodules/batch/utilities/chat_history/database_client_base.py,sha256=6y7h2iL0Uxn4c11N99Ao-8nplQGVGQAOnev3GlHIDXA,2328
|
8
8
|
cwyodmodules/batch/utilities/chat_history/database_factory.py,sha256=kdleC4P8u8rYPsx2HcPQwyOgFf_mph3Nh-Mmzz1V7oM,2401
|
@@ -28,21 +28,21 @@ cwyodmodules/batch/utilities/document_loading/web.py,sha256=LRTNYs_7CN8nfMOaCoW7
|
|
28
28
|
cwyodmodules/batch/utilities/document_loading/word_document.py,sha256=-F1asMaupQk4swEeCoAD8tyYENE4Qq-05-VmPUjRdeA,1569
|
29
29
|
cwyodmodules/batch/utilities/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
30
|
cwyodmodules/batch/utilities/helpers/azure_blob_storage_client.py,sha256=FN2XnEThmtbWnwSi1sEfgekuPH7aJBOAU5n2DBmQ9ww,10315
|
31
|
-
cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py,sha256=
|
32
|
-
cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py,sha256=
|
33
|
-
cwyodmodules/batch/utilities/helpers/azure_identity_helper.py,sha256=
|
34
|
-
cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py,sha256=
|
35
|
-
cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py,sha256=
|
36
|
-
cwyodmodules/batch/utilities/helpers/azure_search_helper.py,sha256=
|
31
|
+
cwyodmodules/batch/utilities/helpers/azure_computer_vision_client.py,sha256=5qhxriTEaKkRc8K4E9oKQjCOzV_JSkad37z1FskCpOg,3661
|
32
|
+
cwyodmodules/batch/utilities/helpers/azure_form_recognizer_helper.py,sha256=kN9pjanKj_IsGM0XQA8QwICuLaB0yBdtRMINmhSD_mU,6699
|
33
|
+
cwyodmodules/batch/utilities/helpers/azure_identity_helper.py,sha256=psYxgFhsl9U5W1KubfLis_2CC7HKYA3BUr17IFGXvFE,3101
|
34
|
+
cwyodmodules/batch/utilities/helpers/azure_postgres_helper.py,sha256=RV2jcqFuTofbz1gk8CDYdECPgl_ypH3K84Yeu3kjU7o,10823
|
35
|
+
cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py,sha256=DLgJ7KNK71qSUlRHTWgRgp6-4ufnC8frL_pOWE-oKgM,10915
|
36
|
+
cwyodmodules/batch/utilities/helpers/azure_search_helper.py,sha256=vZk4u8uegDnBI_zgixtQgb8PWpptIA3zlOzNsvkvGfE,10401
|
37
37
|
cwyodmodules/batch/utilities/helpers/document_chunking_helper.py,sha256=2MZOjW-fHXgYijP3m9O-nizOlk96Yg0axyxT0K6fTnM,725
|
38
38
|
cwyodmodules/batch/utilities/helpers/document_loading_helper.py,sha256=2HBEl3vW-_PKbX5pPntTC_R5eToTk2Qb-q3M4Mt6hCU,603
|
39
39
|
cwyodmodules/batch/utilities/helpers/env_helper.py,sha256=l0kRDKEzYcPyKm6USVRKDtk-NXHrr7hbq8CxWlPvfm0,15893
|
40
|
-
cwyodmodules/batch/utilities/helpers/lightrag_helper.py,sha256=
|
41
|
-
cwyodmodules/batch/utilities/helpers/llm_helper.py,sha256=
|
40
|
+
cwyodmodules/batch/utilities/helpers/lightrag_helper.py,sha256=qk20zoqq42owNR97_aKjIYw4I4pcQcTHNeAvOexbtyc,3436
|
41
|
+
cwyodmodules/batch/utilities/helpers/llm_helper.py,sha256=o2lwUqiwydFi-owflnK8zbTVJGkHYPiH_pF-vI7kTYU,7474
|
42
42
|
cwyodmodules/batch/utilities/helpers/orchestrator_helper.py,sha256=mCcZyMFG0otnw9gzWd-PYocHmDdFDVg-RT9oDPiDZPk,897
|
43
|
-
cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=
|
43
|
+
cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=nkIeysH-YCMgL3bfm5o7cO664Fa6m-p-E89PoITiOac,3082
|
44
44
|
cwyodmodules/batch/utilities/helpers/config/assistant_strategy.py,sha256=uT8h646zEURU9x8oDOH7pWoZKb0Mw6dA2nJtA2M-ufg,171
|
45
|
-
cwyodmodules/batch/utilities/helpers/config/config_helper.py,sha256=
|
45
|
+
cwyodmodules/batch/utilities/helpers/config/config_helper.py,sha256=_yBBXlupA7OB8uDPYgNepkGcv8SxKrQd3KgnfaYlV1o,12970
|
46
46
|
cwyodmodules/batch/utilities/helpers/config/conversation_flow.py,sha256=4nP8a-I-sME5-2unzWWBNpTzWdfpfc5_EAYU6Pn6LAQ,94
|
47
47
|
cwyodmodules/batch/utilities/helpers/config/database_type.py,sha256=Zmmlh1NAKDdd-2ei478boncRKcx8v3lDkPf4kO2j4ss,132
|
48
48
|
cwyodmodules/batch/utilities/helpers/config/default.json,sha256=FnW-cSQJr4xkFwe3B44HtpDeJr8iPDIYfKxBUVdPXQs,15259
|
@@ -51,20 +51,20 @@ cwyodmodules/batch/utilities/helpers/config/default_employee_assistant_prompt.tx
|
|
51
51
|
cwyodmodules/batch/utilities/helpers/config/embedding_config.py,sha256=9pCJxpsouln9dngjVHaKGFYP14PrwmSts_UFDytSiVk,950
|
52
52
|
cwyodmodules/batch/utilities/helpers/embedders/embedder_base.py,sha256=z34LTNGzjiHr6_YWZ8NejUsX1KKYqXPWcqZ8mW_3CHI,699
|
53
53
|
cwyodmodules/batch/utilities/helpers/embedders/embedder_factory.py,sha256=cJ9ZTXZEyOJ5TLB6pDsb9zvUZrJYY-LD40n0l1-qHcw,790
|
54
|
-
cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py,sha256=
|
55
|
-
cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py,sha256=
|
56
|
-
cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py,sha256=
|
54
|
+
cwyodmodules/batch/utilities/helpers/embedders/integrated_vectorization_embedder.py,sha256=sJr3ZT1ijn0and2OEgcQONkcHF_OxPchNFBTv3XKcZk,2856
|
55
|
+
cwyodmodules/batch/utilities/helpers/embedders/postgres_embedder.py,sha256=aVXn0UxuaIeBfOvIqByqoLkZn1BOsiJpFxDhLymMAkA,4467
|
56
|
+
cwyodmodules/batch/utilities/helpers/embedders/push_embedder.py,sha256=uh-JYx1C7MBpMYzsHFfPqZlALzj6GxkkSvSFAsL3NpI,8459
|
57
57
|
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_datasource.py,sha256=rDwPgr-UCSYscc7hPOUJMwP09a9rX1MXAGf94TubdQo,2231
|
58
|
-
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py,sha256=
|
59
|
-
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py,sha256=
|
60
|
-
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py,sha256=
|
58
|
+
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_index.py,sha256=Y26i_-hdHxq12ECb7VcnmwebqDZyrhjjEB67mmlc83k,6241
|
59
|
+
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_indexer.py,sha256=ZQSJ3WwmTx2MyWPyXlkQphVa3uVxRyf_nDX3A7yt9Yk,2897
|
60
|
+
cwyodmodules/batch/utilities/integrated_vectorization/azure_search_skillset.py,sha256=BawkF3liBR85w8TN-8CowpcZiiBorISG3DP5k_2Ubeo,5630
|
61
61
|
cwyodmodules/batch/utilities/loggers/conversation_logger.py,sha256=0aXsL475-6WTqg18nHFJMFRBo34oIXWrZ_eVZwULcdk,3014
|
62
62
|
cwyodmodules/batch/utilities/orchestrator/__init__.py,sha256=4nCkoUWTROUHJMolgMwPgFIUsJrFUuu0zlHXMUTchRc,479
|
63
|
-
cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py,sha256=
|
64
|
-
cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py,sha256=
|
63
|
+
cwyodmodules/batch/utilities/orchestrator/lang_chain_agent.py,sha256=Zg_l8jpJt0xsLK8iOL_XsFc-xscsqRyIN5LRV0yTqho,6448
|
64
|
+
cwyodmodules/batch/utilities/orchestrator/open_ai_functions.py,sha256=hwqjV-jgy9nuUmzh7m36q0O9mdkl9FsQYj_hg136o2A,8974
|
65
65
|
cwyodmodules/batch/utilities/orchestrator/orchestration_strategy.py,sha256=-MEPKVX3-hH6w0NRsGkQpCV86u1d7Qx1TWEKL09jj9A,755
|
66
|
-
cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py,sha256=
|
67
|
-
cwyodmodules/batch/utilities/orchestrator/prompt_flow.py,sha256=
|
66
|
+
cwyodmodules/batch/utilities/orchestrator/orchestrator_base.py,sha256=GTeLSYQjv718CFOac6esQd66IlnTTUDZAo34mfHZQVM,6337
|
67
|
+
cwyodmodules/batch/utilities/orchestrator/prompt_flow.py,sha256=6BadHMLjRIv6b_gNU3kAna1o4aB-N7URCXOqqxvSGKw,7329
|
68
68
|
cwyodmodules/batch/utilities/orchestrator/semantic_kernel_orchestrator.py,sha256=SQpPBx0M63b008-Kl8Sfj8vX20ddGddgg76Y8FuiAsg,9932
|
69
69
|
cwyodmodules/batch/utilities/orchestrator/strategies.py,sha256=oVatdT6Gc4qtX773M9a8Izm2UNDYXmYP__8wJYdy4W8,1384
|
70
70
|
cwyodmodules/batch/utilities/parser/__init__.py,sha256=ZGBxm1TX6cQAnFkMtKN6C2FwnNv1MmwNdyo3LWRlKlo,236
|
@@ -73,10 +73,10 @@ cwyodmodules/batch/utilities/parser/parser_base.py,sha256=ZCYZEoa7-gGhoO_oMfeGCl
|
|
73
73
|
cwyodmodules/batch/utilities/plugins/chat_plugin.py,sha256=-YcUzWhh8fTh44TI3lKEOQEN-8y-_pUrp-j1vikDxEk,2935
|
74
74
|
cwyodmodules/batch/utilities/plugins/outlook_calendar_plugin.py,sha256=EPvQypk7L5daUMn1yvmRIKQCcbTglKnE5G2H5R3yfPA,6642
|
75
75
|
cwyodmodules/batch/utilities/plugins/post_answering_plugin.py,sha256=U1zzf_ztxzl4y-9Qah_n7ylHDZfnDSp2ork5ctdkA5I,1117
|
76
|
-
cwyodmodules/batch/utilities/search/azure_search_handler.py,sha256=
|
77
|
-
cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py,sha256=
|
76
|
+
cwyodmodules/batch/utilities/search/azure_search_handler.py,sha256=E1cPCPWVytvB5jhMkT6H-j1vfxIgLZw3h8nt0dHVTsQ,6863
|
77
|
+
cwyodmodules/batch/utilities/search/azure_search_handler_light_rag.py,sha256=fO61WaqZRRsOcjhzWeHBLrKIbigqzw_R28L95tvDxsM,2913
|
78
78
|
cwyodmodules/batch/utilities/search/integrated_vectorization_search_handler.py,sha256=LaDrJ6zpTa_yYfvk5N10iL3D6Z8nWMNnXgu25UFMimw,7404
|
79
|
-
cwyodmodules/batch/utilities/search/lightrag_search_handler.py,sha256=
|
79
|
+
cwyodmodules/batch/utilities/search/lightrag_search_handler.py,sha256=DdX5Yusuxa3df3hPbaybOe5bDRwZ8Gt6seecvNXoq1U,2390
|
80
80
|
cwyodmodules/batch/utilities/search/postgres_search_handler.py,sha256=fxq-n_xasKlLnTjnpC4HYcNbQHSzQTcTQqvooBO_UQU,5738
|
81
81
|
cwyodmodules/batch/utilities/search/postgres_search_handler_light_rag.py,sha256=S2oO8zvzGEBf9CBZSV3FDThwZgZhi-p0KyRwoflhYBc,6108
|
82
82
|
cwyodmodules/batch/utilities/search/search.py,sha256=zG6Qsv8cGXIcgLPAFl7mW0_kl6RB4YL5Z_HqiXZ_N04,3589
|
@@ -108,8 +108,8 @@ cwyodmodules/graphrag/query/generate.py,sha256=xBnZs2U9xFWtPk4AfAZgYKbHdcxNcIO6Q
|
|
108
108
|
cwyodmodules/graphrag/query/graph_search.py,sha256=95h3ecSWx4864XgKABtG0fh3Nk8HkqJVzoCrO8daJ-Y,7724
|
109
109
|
cwyodmodules/graphrag/query/types.py,sha256=1Iq1dp4I4a56_cuFjOZ0NTgd0A2_MpVFznp_czgt6cI,617
|
110
110
|
cwyodmodules/graphrag/query/vector_search.py,sha256=9Gwu9LPjtoAYUU8WKqCvbCHAIg3dpk71reoYd1scLnQ,1807
|
111
|
-
cwyodmodules-0.3.
|
112
|
-
cwyodmodules-0.3.
|
113
|
-
cwyodmodules-0.3.
|
114
|
-
cwyodmodules-0.3.
|
115
|
-
cwyodmodules-0.3.
|
111
|
+
cwyodmodules-0.3.29.dist-info/licenses/LICENSE,sha256=UqBDTipijsSW2ZSOXyTZnMsXmLoEHTgNEM0tL4g-Sso,1150
|
112
|
+
cwyodmodules-0.3.29.dist-info/METADATA,sha256=jCjAy1xp3dV5BBLOQPBkAfKHY-DRmonHQQB2Ymsi0vM,1969
|
113
|
+
cwyodmodules-0.3.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
114
|
+
cwyodmodules-0.3.29.dist-info/top_level.txt,sha256=99RENLbkdRX-qpJvsxZ5AfmTL5s6shSaKOWYpz1vwzg,13
|
115
|
+
cwyodmodules-0.3.29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|