mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-10-13 10:38:08 +00:00
Feature/sagemaker embedding (#1161)
* Sagemaker deployed embedding model support --------- Co-authored-by: Pablo Orgaz <pabloogc@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ class LLMComponent:
|
||||
from private_gpt.components.llm.custom.sagemaker import SagemakerLLM
|
||||
|
||||
self.llm = SagemakerLLM(
|
||||
endpoint_name=settings.sagemaker.endpoint_name,
|
||||
endpoint_name=settings.sagemaker.llm_endpoint_name,
|
||||
)
|
||||
case "openai":
|
||||
from llama_index.llms import OpenAI
|
||||
|
Reference in New Issue
Block a user