Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The PrivateAttr should be imported from llama_index.core.bridge.pydantic instead of pydantic #11765

Merged

Conversation

neoscript99
Copy link
Contributor

Description

Can not create from llama_index.embeddings.dashscope import DashScopeEmbedding object
The reason is that, DashScopeEmbedding use from pydantic import PrivateAttr, not from llama_index.core.bridge.pydantic import PrivateAttr

Fixes # (issue)
#11764

Version Bump?

Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

  • No

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Mar 8, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 8, 2024
@logan-markewich logan-markewich enabled auto-merge (squash) March 8, 2024 15:50
@logan-markewich logan-markewich merged commit 74df7c0 into run-llama:main Mar 8, 2024
8 checks passed
bdonkey added a commit to bdonkey/gpt_index that referenced this pull request Mar 11, 2024
* main: (63 commits)
  Add LogProb type to core.base.llms module (run-llama#11795)
  Add Passio Nutrition AI Food Search Tool to LLAMA_index (run-llama#11621)
  Create new RTF integration (run-llama#11466)
  SearChain package reproduced using Llama_index library ​ (run-llama#11649)
  Update ReAct prompt for multilingual support (run-llama#11464)
  Integration in Google Sheets Reader to load the Sheets into Pandas Dataframes (run-llama#11640)
  add claude3 benchmarks  (run-llama#11685)
  nit: add link to code hierarchy notebook  (run-llama#11769)
  feat: nested metadata filters (PGVectorStore) (run-llama#11778)
  [BUG] llama-index-tools-finance (run-llama#11772)
  docs: Updated Qdrant usage examples (run-llama#11768)
  update toml for code hierarchy (run-llama#11776)
  remove unneeded chroma deps (run-llama#11775)
  Minor improvement for TiDB Vector (run-llama#11766)
  The PrivateAttr should be imported from llama_index.core.bridge.pydantic instead of pydantic (run-llama#11765)
  Logan/v0.10.18 (run-llama#11763)
  Code Hierarchy Node Parser v0.10 (run-llama#10671)
  bug fixed in OpenInference log that cause error with importing (run-llama#11751)
  Feat/mymagic-return-output (run-llama#11761)
  Add Initial Support for TiDB Vector Store (run-llama#11635)
  ...
Izukimat pushed a commit to Izukimat/llama_index that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants