fix: sagemaker config and chat methods (#1142)

This commit is contained in:
Pablo Orgaz
2023-10-30 21:54:41 +01:00
committed by GitHub
parent b0e258265f
commit a517a588c4
2 changed files with 29 additions and 4 deletions

View File

@@ -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