From 43349830ee3269479dad3e595d1ffb757dbd4650 Mon Sep 17 00:00:00 2001 From: Mahdi Malaki Date: Thu, 17 Oct 2024 22:07:16 -0400 Subject: [PATCH] fix the misleading comment --- core/llm/llms/Bedrock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/llms/Bedrock.ts b/core/llm/llms/Bedrock.ts index 9c6e4bb52..1e6586a2a 100644 --- a/core/llm/llms/Bedrock.ts +++ b/core/llm/llms/Bedrock.ts @@ -112,7 +112,7 @@ class Bedrock extends BaseLLM { temperature: options.temperature, topP: options.topP, // TODO: The current approach selects the first 4 items from the list to comply with Bedrock's requirement - // of having at least 4 stop sequences, as per the AWS documentation: + // of having at most 4 stop sequences, as per the AWS documentation: // https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_InferenceConfiguration.html // However, it might be better to implement a strategy that dynamically selects the most appropriate stop sequences // based on the context.