mirror of
https://github.com/docker/genai-stack.git
synced 2024-08-30 16:49:54 +03:00
@@ -28,7 +28,7 @@ def load_embedding_model(embedding_model_name: str, logger=BaseLogger(), config=
|
||||
embeddings = OpenAIEmbeddings()
|
||||
dimension = 1536
|
||||
logger.info("Embedding: Using OpenAI")
|
||||
if embedding_model_name == "aws":
|
||||
elif embedding_model_name == "aws":
|
||||
embeddings = BedrockEmbeddings()
|
||||
dimension = 1536
|
||||
logger.info("Embedding: Using AWS")
|
||||
|
||||
Reference in New Issue
Block a user