fix the misleading comment

This commit is contained in:
Mahdi Malaki 2024-10-17 22:07:16 -04:00
parent 90e994db3c
commit 43349830ee

View file

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