-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 159 update requiremnts to specify working versions #160
base: main
Are you sure you want to change the base?
Conversation
@@ -2,7 +2,7 @@ | |||
from langchain_openai import OpenAIEmbeddings | |||
from langchain_community.embeddings import OllamaEmbeddings | |||
from langchain_community.embeddings import BedrockEmbeddings | |||
from langchain_community.embeddings.sentence_transformer import SentenceTransformerEmbeddings | |||
from langchain_community.embeddings.huggingface import HuggingFaceEmbeddings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from langchain_community.embeddings.huggingface import HuggingFaceEmbeddings | |
from langchain_community.embeddings.sentence_transformer import SentenceTransformerEmbeddings |
@@ -48,7 +48,7 @@ def load_embedding_model(embedding_model_name: str, logger=BaseLogger(), config= | |||
dimension = 768 | |||
logger.info("Embedding: Using Google Generative AI Embeddings") | |||
else: | |||
embeddings = SentenceTransformerEmbeddings( | |||
embeddings = HuggingFaceEmbeddings( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
embeddings = HuggingFaceEmbeddings( | |
embeddings = SentenceTransformerEmbeddings( |
@@ -4,7 +4,7 @@ wikipedia | |||
tiktoken | |||
neo4j | |||
streamlit | |||
sentence_transformers==2.2.2 | |||
sentence_transformers==2.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sentence_transformers==2.6.0 | |
sentence_transformers |
langchain-openai | ||
langchain-community | ||
langchain-community==0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
langchain-community==0.2.1 | |
langchain-community |
langchain-huggingface==0.0.2 | ||
langchain-core==0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
langchain-huggingface==0.0.2 | |
langchain-core==0.2.1 |
langchain-google-genai | ||
# Do more of these versions need to be fixed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Do more of these versions need to be fixed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested on my Mac, just by removing the version on the sentence-transformers
it worked on my environment, please review if this change solves it for you as well.
Fixes #159