-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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 | ||||||
|
||||||
from langchain_openai import ChatOpenAI | ||||||
from langchain_community.chat_models import ChatOllama | ||||||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
model_name="all-MiniLM-L6-v2", cache_folder="/embedding_model" | ||||||
) | ||||||
dimension = 384 | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
Pillow | ||||||
fastapi | ||||||
PyPDF2 | ||||||
|
@@ -14,6 +14,9 @@ uvicorn | |||||
sse-starlette | ||||||
boto3 | ||||||
# missing from the langchain base image? | ||||||
langchain-huggingface==0.0.2 | ||||||
langchain-core==0.2.1 | ||||||
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
langchain-openai | ||||||
langchain-community | ||||||
langchain-community==0.2.1 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
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.