mb-rag 1.1.10__tar.gz → 1.1.12__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.10 → mb_rag-1.1.12}/PKG-INFO +1 -1
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/chatbot/basic.py +4 -4
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/version.py +1 -1
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag.egg-info/PKG-INFO +1 -1
- {mb_rag-1.1.10 → mb_rag-1.1.12}/README.md +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/__init__.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/chatbot/__init__.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/chatbot/chains.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/chatbot/prompts.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/rag/__init__.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/rag/embeddings.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/utils/__init__.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/utils/bounding_box.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag/utils/extra.py +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag.egg-info/SOURCES.txt +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag.egg-info/dependency_links.txt +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag.egg-info/requires.txt +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/mb_rag.egg-info/top_level.txt +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/pyproject.toml +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/setup.cfg +0 -0
- {mb_rag-1.1.10 → mb_rag-1.1.12}/setup.py +0 -0
|
@@ -141,12 +141,12 @@ class ModelFactory:
|
|
|
141
141
|
Returns:
|
|
142
142
|
Ollama: Chatbot model
|
|
143
143
|
"""
|
|
144
|
-
if not check_package("
|
|
145
|
-
raise ImportError("Langchain Community package not found. Please install it using: pip install
|
|
144
|
+
if not check_package("langchain_ollama"):
|
|
145
|
+
raise ImportError("Langchain Community package not found. Please install it using: pip install langchain_ollama")
|
|
146
146
|
|
|
147
|
-
from
|
|
147
|
+
from langchain_ollama import ChatOllama
|
|
148
148
|
kwargs["model"] = model_name
|
|
149
|
-
return
|
|
149
|
+
return ChatOllama(**kwargs)
|
|
150
150
|
|
|
151
151
|
@classmethod
|
|
152
152
|
def create_groq(cls, model_name: str = "llama-3.3-70b-versatile", **kwargs) -> Any:
|
|
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
|