Skip to content

Commit 856b6ea

Browse files
committed
docs: remove bytes field example
Signed-off-by: punndcoder28 <[email protected]>
1 parent c93df9d commit 856b6ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docarray/documents/text.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,12 @@ class MultiModalDoc(BaseDoc):
116116
)
117117
embedding: Optional[AnyEmbedding] = Field(
118118
description='''Embedding field is used to store tensor objects of type
119-
Tensorflow, PyTorch, and NumPy''',
120-
example='''np.zeros((3, 32, 32))''',
119+
Tensorflow, PyTorch, NumPy, and JAX''',
120+
example='''[[1, 1, 1], [1, 0, 1], [0, 0, 1]]''',
121121
)
122122
bytes_: Optional[bytes] = Field(
123123
description='''The bytes of image or video content that can be loaded
124124
into an image or video tensor object''',
125-
example='',
126125
)
127126

128127
def __init__(self, text: Optional[str] = None, **kwargs):

0 commit comments

Comments
 (0)