docs: aws docs updates (#20571)

This commit is contained in:
Erick Friis
2024-04-17 16:32:00 -07:00
committed by GitHub
parent f09bd0b75b
commit e395115807
9 changed files with 117 additions and 102 deletions

View File

@@ -2,6 +2,7 @@ import re
from collections import defaultdict
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
from langchain_core._api.deprecation import deprecated
from langchain_core.callbacks import (
CallbackManagerForLLMRun,
)
@@ -195,6 +196,9 @@ class ChatPromptAdapter:
_message_type_lookups = {"human": "user", "ai": "assistant"}
@deprecated(
since="0.0.34", removal="0.3", alternative_import="langchain_aws.ChatBedrock"
)
class BedrockChat(BaseChatModel, BedrockBase):
"""Chat model that uses the Bedrock API."""