Skip to content

Commit 683868b

Browse files
authored
Update llama_types.py
1 parent b58c8b5 commit 683868b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class EmbeddingUsage(TypedDict):
2525
class Embedding(TypedDict):
2626
index: int
2727
object: str
28-
embedding: list[float] | list[list[float]]
28+
embedding: Union[List[float], List[List[float]]]
2929

3030

3131
class CreateEmbeddingResponse(TypedDict):

0 commit comments

Comments
 (0)