Spaces:
Running
Running
Fix NameError import
Browse files
core_utils/core_model_loaders.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
# D:\jan-contract\core_utils\core_model_loaders.py
|
| 2 |
|
| 3 |
import os
|
| 4 |
-
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
|
|
|
| 5 |
|
| 6 |
def load_embedding_model():
|
| 7 |
"""Loads the embedding model without any Streamlit dependencies or heavy local models."""
|
|
|
|
| 1 |
# D:\jan-contract\core_utils\core_model_loaders.py
|
| 2 |
|
| 3 |
import os
|
| 4 |
+
from langchain_google_genai import GoogleGenerativeAIEmbeddings, ChatGoogleGenerativeAI
|
| 5 |
+
from langchain_groq import ChatGroq
|
| 6 |
|
| 7 |
def load_embedding_model():
|
| 8 |
"""Loads the embedding model without any Streamlit dependencies or heavy local models."""
|