is_pydantic_v2_subclass#
- langchain_core.utils.pydantic.is_pydantic_v2_subclass(cls: Type) bool [source]#
Check if the installed Pydantic version is 1.x-like.
- Parameters:
cls (Type)
- Return type:
bool
Site Navigation
Section Navigation
agents
beta
caches
callbacks
chat_history
chat_loaders
chat_sessions
document_loaders
documents
embeddings
example_selectors
exceptions
globals
graph_vectorstores
indexing
language_models
load
memory
messages
output_parsers
outputs
prompt_values
prompts
rate_limiters
retrievers
runnables
stores
structured_query
sys_info
tools
tracers
utils
vectorstores
utils
Check if the installed Pydantic version is 1.x-like.
cls (Type)
bool