is_pydantic_v1_subclass#
- langchain_core.utils.pydantic.is_pydantic_v1_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
agentsbetacachescallbackschat_historychat_loaderschat_sessionsdocument_loadersdocumentsembeddingsexample_selectorsexceptionsglobalsgraph_vectorstoresindexinglanguage_modelsloadmemorymessagesoutput_parsersoutputsprompt_valuespromptsrate_limitersretrieversrunnablesstoresstructured_querysys_infotoolstracersutilsvectorstoresutilsCheck if the installed Pydantic version is 1.x-like.
cls (Type)
bool