mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-01 15:19:05 +00:00
fix: Docker and sagemaker setup (#1118)
* fix: docker copying extra files * feat: allow configuring mode through env vars * feat: Attempt to build and tag a docker image * fix: run docker on release * fix: typing in prompt transformation * chore: remove tutorial comments
This commit is contained in:
@@ -13,7 +13,7 @@ class EmbeddingComponent:
|
||||
@inject
|
||||
def __init__(self) -> None:
|
||||
match settings.llm.mode:
|
||||
case "local":
|
||||
case "local" | "sagemaker":
|
||||
from llama_index.embeddings import HuggingFaceEmbedding
|
||||
|
||||
self.embedding_model = HuggingFaceEmbedding(
|
||||
|
Reference in New Issue
Block a user