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

@@ -11,6 +11,7 @@ from typing import (
Optional,
)
from langchain_core._api.deprecation import deprecated
from langchain_core.callbacks import (
AsyncCallbackManagerForLLMRun,
CallbackManagerForLLMRun,
@@ -147,6 +148,11 @@ class _AnthropicCommon(BaseLanguageModel):
return stop
@deprecated(
since="0.0.28",
removal="0.2",
alternative_import="langchain_anthropic.AnthropicLLM",
)
class Anthropic(LLM, _AnthropicCommon):
"""Anthropic large language models.