mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 00:11:17 +00:00
docs: aws docs updates (#20571)
This commit is contained in:
@@ -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."""
|
||||
|
||||
|
Reference in New Issue
Block a user