mb-rag 1.1.45__tar.gz → 1.1.46__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.
Potentially problematic release.
This version of mb-rag might be problematic. Click here for more details.
- {mb_rag-1.1.45 → mb_rag-1.1.46}/PKG-INFO +1 -1
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/rag/embeddings.py +3 -3
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/version.py +1 -1
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag.egg-info/PKG-INFO +1 -1
- {mb_rag-1.1.45 → mb_rag-1.1.46}/README.md +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/__init__.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/chatbot/__init__.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/chatbot/basic.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/chatbot/chains.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/chatbot/prompts.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/rag/__init__.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/__init__.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/all_data_extract.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/bounding_box.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/document_extract.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/extra.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag/utils/pdf_extract.py +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag.egg-info/SOURCES.txt +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag.egg-info/dependency_links.txt +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag.egg-info/requires.txt +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/mb_rag.egg-info/top_level.txt +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/pyproject.toml +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/setup.cfg +0 -0
- {mb_rag-1.1.45 → mb_rag-1.1.46}/setup.py +0 -0
|
@@ -181,13 +181,13 @@ class ModelProvider:
|
|
|
181
181
|
return GoogleGenerativeAIEmbeddings(**kwargs)
|
|
182
182
|
|
|
183
183
|
@staticmethod
|
|
184
|
-
def get_rag_qwen(model_name: str = "
|
|
184
|
+
def get_rag_qwen(model_name: str = "Qwen/Qwen3-Embedding-0.6B", **kwargs):
|
|
185
185
|
"""
|
|
186
186
|
Load Qwen embedding model.
|
|
187
187
|
Uses Transformers for embedding generation.
|
|
188
188
|
|
|
189
189
|
Args:
|
|
190
|
-
model_name (str): Model identifier (default: "
|
|
190
|
+
model_name (str): Model identifier (default: "Qwen/Qwen3-Embedding-0.6B")
|
|
191
191
|
**kwargs: Additional arguments for model initialization
|
|
192
192
|
|
|
193
193
|
Returns:
|
|
@@ -195,7 +195,7 @@ class ModelProvider:
|
|
|
195
195
|
"""
|
|
196
196
|
from langchain.embeddings import HuggingFaceEmbeddings
|
|
197
197
|
|
|
198
|
-
return HuggingFaceEmbeddings(model_name=
|
|
198
|
+
return HuggingFaceEmbeddings(model_name=model_name, **kwargs)
|
|
199
199
|
|
|
200
200
|
def load_embedding_model(model_name: str = 'openai', model_type: str = "text-embedding-ada-002", **kwargs):
|
|
201
201
|
"""
|
|
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
|
|
File without changes
|
|
File without changes
|