8000 Fixed Warning in Vector DB by vladimirsemenyako · Pull Request #46 · ostis-apps/ostis-ann · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed Warning in Vector DB #46

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vladimirsemenyako
Copy link

After command uvicorn main:app --reload in problem-solver/py/api/chroma_utils, there was an error, that the HuggingFaceEmbeddings class from LangChain has been deprecated as of version 0.2.2 and will be removed in version 1.0. I removed previous import: from langchain_community.embeddings.sentence_transformer import SentenceTransformerEmbeddings. And added this import: from langchain_huggingface import HuggingFaceEmbeddings. Also changed class that initializes the sentence_transofrmer.
Also there is updates in requirements.txt: new line langchain-huggingface.

Copy link
Member
@KovalM KovalM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix commits names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0