mistral-haystack 2.1.0__tar.gz → 2.1.1__tar.gz
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.
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/CHANGELOG.md +7 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/PKG-INFO +1 -1
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/converters/mistral/ocr_document_converter.py +3 -1
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/generators/mistral/chat/chat_generator.py +11 -25
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/.gitignore +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/LICENSE.txt +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/README.md +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/examples/chat_generator_with_structured_output.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/examples/indexing_ocr_pipeline.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/examples/indexing_pipeline.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/examples/streaming_chat_with_rag.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/pydoc/config_docusaurus.yml +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/pyproject.toml +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/converters/mistral/__init__.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/converters/py.typed +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/embedders/mistral/__init__.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/embedders/mistral/document_embedder.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/embedders/mistral/text_embedder.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/embedders/py.typed +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/generators/mistral/__init__.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/generators/mistral/chat/__init__.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/src/haystack_integrations/components/generators/py.typed +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/__init__.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/conftest.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_mistral_chat_generator.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_mistral_chat_generator_async.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_mistral_document_embedder.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_mistral_text_embedder.py +0 -0
- {mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_ocr_document_converter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mistral-haystack
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/mistral#readme
|
|
5
5
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
6
6
|
Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/mistral
|
|
@@ -105,8 +105,10 @@ class MistralOCRDocumentConverter:
|
|
|
105
105
|
"""
|
|
106
106
|
|
|
107
107
|
SUPPORTED_MODELS: ClassVar[list[str]] = [
|
|
108
|
+
"mistral-ocr-2512",
|
|
109
|
+
"mistral-ocr-3",
|
|
108
110
|
"mistral-ocr-3-0",
|
|
109
|
-
"mistral-ocr-4
|
|
111
|
+
"mistral-ocr-4",
|
|
110
112
|
"mistral-ocr-4-1",
|
|
111
113
|
"mistral-ocr-latest",
|
|
112
114
|
]
|
|
@@ -110,7 +110,7 @@ class MistralChatGenerator(OpenAIChatGenerator):
|
|
|
110
110
|
- **Streaming Support**: Supports streaming responses from the Mistral API Chat Completion endpoint.
|
|
111
111
|
- **Customizability**: Supports all parameters supported by the Mistral API Chat Completion endpoint.
|
|
112
112
|
- **Reasoning Support**: Extracts reasoning/thinking content from models that support it
|
|
113
|
-
(e.g.,
|
|
113
|
+
(e.g., Mistral Small 4 with `reasoning_effort`, Mistral Medium 3.5, Mistral Large 4) and stores it in the
|
|
114
114
|
`ReasoningContent` field on `ChatMessage`.
|
|
115
115
|
|
|
116
116
|
This component uses the ChatMessage format for structuring both input and output,
|
|
@@ -158,49 +158,35 @@ class MistralChatGenerator(OpenAIChatGenerator):
|
|
|
158
158
|
"""
|
|
159
159
|
|
|
160
160
|
SUPPORTED_MODELS: ClassVar[list[str]] = [
|
|
161
|
-
"mistral-medium-2505",
|
|
162
|
-
"mistral-medium-2508",
|
|
163
161
|
"mistral-medium-latest",
|
|
164
162
|
"mistral-medium",
|
|
163
|
+
"mistral-medium-2604",
|
|
164
|
+
"mistral-medium-3",
|
|
165
|
+
"mistral-medium-3-5",
|
|
166
|
+
"mistral-medium-3.5",
|
|
165
167
|
"mistral-vibe-cli-with-tools",
|
|
166
|
-
"open-mistral-nemo",
|
|
167
|
-
"open-mistral-nemo-2407",
|
|
168
|
-
"mistral-tiny-2407",
|
|
169
|
-
"mistral-tiny-latest",
|
|
170
168
|
"codestral-2508",
|
|
171
169
|
"codestral-latest",
|
|
172
|
-
"
|
|
170
|
+
"mistral-code-latest",
|
|
171
|
+
"mistral-code-fim-latest",
|
|
173
172
|
"mistral-vibe-cli-latest",
|
|
174
|
-
"devstral-medium-latest",
|
|
175
|
-
"devstral-latest",
|
|
176
|
-
"mistral-small-2506",
|
|
177
173
|
"mistral-small-latest",
|
|
178
|
-
"
|
|
179
|
-
"
|
|
174
|
+
"mistral-small-2603",
|
|
175
|
+
"mistral-vibe-cli-fast",
|
|
180
176
|
"magistral-medium-latest",
|
|
181
|
-
"magistral-small-2509",
|
|
182
177
|
"magistral-small-latest",
|
|
183
178
|
"voxtral-small-2507",
|
|
184
179
|
"voxtral-small-latest",
|
|
185
180
|
"mistral-large-2512",
|
|
186
181
|
"mistral-large-latest",
|
|
182
|
+
"mistral-large-4",
|
|
183
|
+
"mistral-large-4-0",
|
|
187
184
|
"ministral-3b-2512",
|
|
188
185
|
"ministral-3b-latest",
|
|
189
186
|
"ministral-8b-2512",
|
|
190
187
|
"ministral-8b-latest",
|
|
191
188
|
"ministral-14b-2512",
|
|
192
189
|
"ministral-14b-latest",
|
|
193
|
-
"mistral-large-2411",
|
|
194
|
-
"pixtral-large-2411",
|
|
195
|
-
"pixtral-large-latest",
|
|
196
|
-
"mistral-large-pixtral-2411",
|
|
197
|
-
"devstral-small-2507",
|
|
198
|
-
"devstral-medium-2507",
|
|
199
|
-
"labs-devstral-small-2512",
|
|
200
|
-
"devstral-small-latest",
|
|
201
|
-
"voxtral-mini-2507",
|
|
202
|
-
"voxtral-mini-latest",
|
|
203
|
-
"voxtral-mini-2602",
|
|
204
190
|
]
|
|
205
191
|
"""A list of models supported by Mistral AI
|
|
206
192
|
see [Mistral AI docs](https://docs.mistral.ai/getting-started/models) for more information
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/examples/chat_generator_with_structured_output.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistral_haystack-2.1.0 → mistral_haystack-2.1.1}/tests/test_mistral_chat_generator_async.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|