Skip to content

Commit

Permalink
Add typing and numpy import
Browse files Browse the repository at this point in the history
typing and numpy import were missing
  • Loading branch information
do-me authored Nov 1, 2023
1 parent 8c20c7c commit bb86b30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pip install fastembed

```python
from fastembed.embedding import FlagEmbedding as Embedding
from typing import List
import numpy as np

documents: List[str] = [
"passage: Hello, World!",
Expand Down

0 comments on commit bb86b30

Please sign in to comment.