from langchain_huggingface import HuggingFaceEmbeddings from langchain_google_genai import GoogleGenerativeAIEmbeddings from dotenv import load_dotenv load_dotenv() def get_embedding_model(): embeddings = GoogleGenerativeAIEmbeddings( model="models/gemini-embedding-001" ) return embeddings