From 02893cca452f056c196391ac29341e59185f5a03 Mon Sep 17 00:00:00 2001 From: NAPTlME Date: Mon, 22 Apr 2024 11:44:38 -0500 Subject: [PATCH] Updating a function description --- libs/aws/langchain_aws/llms/bedrock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/aws/langchain_aws/llms/bedrock.py b/libs/aws/langchain_aws/llms/bedrock.py index 0f5e493e..3a82afd9 100644 --- a/libs/aws/langchain_aws/llms/bedrock.py +++ b/libs/aws/langchain_aws/llms/bedrock.py @@ -123,7 +123,7 @@ def _combine_generation_info_for_llm_result( ) -> Dict[str, Any]: """ Returns usage and stop reason information with the intent to pack into an LLMResult - Takes a list of GenerationChunks + Takes a list of generation_info from GenerationChunks If the messages api is being used, the generation_info from some of these chunks should contain "usage" keys if not, the token counts should be found within "amazon-bedrock-invocationMetrics" """