dxmt-python-sdk 1.6.0__py3-none-any.whl → 1.7.2__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.
dxmt/__init__.py CHANGED
@@ -68,28 +68,14 @@ except ImportError:
68
68
  MEM0_AVAILABLE = False
69
69
  DXMTMemoryStore = None # type: ignore
70
70
 
71
- # Optional Haystack integration (requires haystack-ai package)
72
- try:
73
- from .haystack import DXMTDocumentStore
74
- from .haystack_retrievers import DXMTEmbeddingRetriever, DXMTBM25Retriever
75
- HAYSTACK_AVAILABLE = True
76
- except ImportError:
77
- HAYSTACK_AVAILABLE = False
78
- DXMTDocumentStore = None # type: ignore
79
- DXMTEmbeddingRetriever = None # type: ignore
80
- DXMTBM25Retriever = None # type: ignore
71
+ # The Haystack integration is its own package since 1.7: `pip install dxmt-haystack`, then
72
+ # `from haystack_integrations.document_stores.dxmt import DXMTDocumentStore`. The copy that
73
+ # lived here passed `dataframe=` to a Document that no longer has the field and invented a
74
+ # vector for documents without one; it is gone rather than kept beside the real one.
81
75
 
82
- # Optional CrewAI integration (requires crewai package)
83
- try:
84
- from .crewai_tool import DXMTVectorSearchTool, DXMTToolConfig
85
- from .crewai_storage import DXMTStorage, DXMTStorageConfig
86
- CREWAI_AVAILABLE = True
87
- except ImportError:
88
- CREWAI_AVAILABLE = False
89
- DXMTVectorSearchTool = None # type: ignore
90
- DXMTToolConfig = None # type: ignore
91
- DXMTStorage = None # type: ignore
92
- DXMTStorageConfig = None # type: ignore
76
+ # The CrewAI integration is its own package since 1.7: `pip install crewai-dxmt`. The copy
77
+ # that lived here (`dxmt.crewai_storage`) implemented `crewai.memory.storage.interface.Storage`,
78
+ # which CrewAI removed with its unified memory system, so it had been a stub for months.
93
79
 
94
80
  # Optional MetaGPT/LlamaIndex integration (requires llama-index package)
95
81
  try:
@@ -114,7 +100,7 @@ except ImportError:
114
100
  initialize_dxmt = None # type: ignore
115
101
  initial_dxmt = None # type: ignore
116
102
 
117
- __version__ = "1.6.0"
103
+ __version__ = "1.7.2"
118
104
 
119
105
  __all__ = [
120
106
  "UploadResult",
@@ -146,15 +132,6 @@ __all__ = [
146
132
  "DXMTLangGraphStore",
147
133
  # mem0 integration (optional)
148
134
  "DXMTMemoryStore",
149
- # Haystack integration (optional)
150
- "DXMTDocumentStore",
151
- "DXMTEmbeddingRetriever",
152
- "DXMTBM25Retriever",
153
- # CrewAI integration (optional)
154
- "DXMTVectorSearchTool",
155
- "DXMTToolConfig",
156
- "DXMTStorage",
157
- "DXMTStorageConfig",
158
135
  # MetaGPT/LlamaIndex integration (optional)
159
136
  "DXMTLlamaIndexVectorStore",
160
137
  "DXMTRetriever",