community[patch]: move pdf text tests to integration (#18746)

This commit is contained in:
Erick Friis
2024-03-07 10:34:22 -08:00
committed by GitHub
parent 4a7d73b39d
commit 1beb84b061
4 changed files with 34 additions and 9 deletions

View File

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