Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add a valid link
Signed-off-by: jupyterjazz <[email protected]>
  • Loading branch information
jupyterjazz committed Jun 26, 2023
commit 08c8b3b08b9a9bcd5758f2f38e84b137b4d32bd3
2 changes: 1 addition & 1 deletion docarray/documents/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TextDoc(BaseDoc):
from docarray.documents import TextDoc

# use it directly
txt_doc = TextDoc(url='http://www.jina.ai/file.txt')
txt_doc = TextDoc(url='https://example-files.online-convert.com/document/txt/example.txt')
txt_doc.text = txt_doc.url.load()
# model = MyEmbeddingModel()
# txt_doc.embedding = model(txt_doc.text)
Expand Down