diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/llama_index/embeddings/dashscope/base.py b/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/llama_index/embeddings/dashscope/base.py index 8fa2356f48d1c064f25a5d5ecf11e5376beab2bd..27710ddfd8b7d2d63ca32833a56c9f3fc9efaae9 100644 --- a/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/llama_index/embeddings/dashscope/base.py +++ b/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/llama_index/embeddings/dashscope/base.py @@ -5,8 +5,7 @@ from enum import Enum from http import HTTPStatus from typing import Any, Dict, List, Optional, Union -from pydantic import PrivateAttr - +from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.embeddings.multi_modal_base import MultiModalEmbedding from llama_index.core.schema import ImageType diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/pyproject.toml b/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/pyproject.toml index 2bf4637f416a7ee8338bdcc5ef393fb26eae7dea..5a0057fb5ee1257f10fc10528216f345119ed642 100644 --- a/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/pyproject.toml +++ b/llama-index-integrations/embeddings/llama-index-embeddings-dashscope/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-embeddings-dashscope" readme = "README.md" -version = "0.1.1" +version = "0.1.2" [tool.poetry.dependencies] python = ">=3.8.1,<4.0"