Skip to content

Commit

Permalink
[fix] Add numpy to BaseEmbeddings for similarity
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavnicksm committed Jan 7, 2025
1 parent 390b7ff commit 504a936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/chonkie/embeddings/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""Base class for all embeddings implementations."""
from abc import ABC, abstractmethod
from typing import TYPE_CHECKING, Any, Callable, List, Union

import numpy as np

# for type checking
if TYPE_CHECKING:
import numpy as np
Expand Down

0 comments on commit 504a936

Please sign in to comment.