From 48e0a267335489358844c722bac768f12e88bbb8 Mon Sep 17 00:00:00 2001 From: Luo Peng Date: Mon, 6 May 2024 08:36:27 +0800 Subject: [PATCH] Fix the import of Pydantic (#13275) --- .../llama_index/packs/resume_screener/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-index-packs/llama-index-packs-resume-screener/llama_index/packs/resume_screener/base.py b/llama-index-packs/llama-index-packs-resume-screener/llama_index/packs/resume_screener/base.py index 249aa09181524..01b45bbad9072 100644 --- a/llama-index-packs/llama-index-packs-resume-screener/llama_index/packs/resume_screener/base.py +++ b/llama-index-packs/llama-index-packs-resume-screener/llama_index/packs/resume_screener/base.py @@ -7,7 +7,7 @@ from llama_index.core.schema import NodeWithScore from llama_index.llms.openai import OpenAI from llama_index.readers.file import PDFReader -from pydantic import BaseModel, Field +from llama_index.core.bridge.pydantic import BaseModel, Field # backwards compatibility try: