mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-10-14 02:58:03 +00:00
fix: sagemaker config and chat methods (#1142)
This commit is contained in:
@@ -37,8 +37,6 @@ class LLMComponent:
|
||||
|
||||
self.llm = SagemakerLLM(
|
||||
endpoint_name=settings.sagemaker.endpoint_name,
|
||||
messages_to_prompt=messages_to_prompt,
|
||||
completion_to_prompt=completion_to_prompt,
|
||||
)
|
||||
case "openai":
|
||||
from llama_index.llms import OpenAI
|
||||
|
Reference in New Issue
Block a user