mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-13 13:36:15 +00:00
community[patch]: move pdf text tests to integration (#18746)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, cast
|
||||
|
||||
from langchain_core._api.deprecation import deprecated
|
||||
from langchain_core.callbacks import (
|
||||
AsyncCallbackManagerForLLMRun,
|
||||
CallbackManagerForLLMRun,
|
||||
@@ -70,6 +71,11 @@ def convert_messages_to_prompt_anthropic(
|
||||
return text.rstrip()
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.0.28",
|
||||
removal="0.2",
|
||||
alternative_import="langchain_anthropic.ChatAnthropic",
|
||||
)
|
||||
class ChatAnthropic(BaseChatModel, _AnthropicCommon):
|
||||
"""`Anthropic` chat large language models.
|
||||
|
||||
|
Reference in New Issue
Block a user