pinecone.data.types.vector_typed_dict

1from .sparse_vector_typed_dict import SparseVectorTypedDict
2from typing import TypedDict, List
3
4
5class VectorTypedDict(TypedDict, total=False):
6    values: List[float]
7    metadata: dict
8    sparse_values: SparseVectorTypedDict
9    id: str
class VectorTypedDict(typing.TypedDict):
 6class VectorTypedDict(TypedDict, total=False):
 7    values: List[float]
 8    metadata: dict
 9    sparse_values: SparseVectorTypedDict
10    id: str
values: List[float]
metadata: dict
id: str