You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following tests uses the HuggingFaceEmbedding class that download embedding model from huggingface, and the download takes time which make testing takes longer time.
Create mock for the HuggingFaceEmbedding class or the returned value from constructing the object so that the test does not actually trigger the download.
The text was updated successfully, but these errors were encountered:
HuggingFaceEmbedding
class that download embedding model from huggingface, and the download takes time which make testing takes longer time.Tests
What is needed
Create mock for the
HuggingFaceEmbedding
class or the returned value from constructing the object so that the test does not actually trigger the download.The text was updated successfully, but these errors were encountered: