with the year the documents were created.import randomfor d in docs:    d.metadata["year"] = random.randint(2012, 2014)db = DeepLake.from_documents(    docs, embeddings, dataset_path="./my_deeplake/", overwrite=True)        Dataset(path='./my_deeplake/', tensors=['embedding', 'id', 'metadata', 'text'])          tensor      htype      shape     dtype  compression      -------    -------    -------   -------  -------      embedding  embedding  (4, 1536)  float32   None           id        text      (4, 1)      str     None        metadata     json      (4, 1)      str     None          text       text      (4, 1)      str     None       db.similarity_search(    "What did the president say about Ketanji Brown Jackson",    filter={"metadata": {"year": 2013}},)    100%|‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà| 4/4 [00:00<00:00, 2936.16it/s]    [Document(page_content='Tonight. I call on the Senate to: Pass the Freedom to Vote Act. Pass the John Lewis Voting Rights Act. And while you‚Äôre at it, pass the Disclose Act so Americans can know who is funding our elections. \n\nTonight, I‚Äôd like to honor someone who has dedicated his life to serve this country: Justice Stephen Breyer‚Äîan Army veteran, Constitutional scholar, and retiring Justice of the United States Supreme Court. Justice Breyer, thank you for your service. \n\nOne of the most serious constitutional responsibilities a President has is nominating someone to serve on the United States Supreme Court. \n\nAnd I did that 4 days ago, when I nominated Circuit Court of Appeals Judge Ketanji Brown Jackson. One of our nation‚Äôs top legal minds, who will continue Justice Breyer‚Äôs legacy of excellence.', metadata={'source': '../../modules/state_of_the_union.txt', 'year': 2013}),     Document(page_content='A former top litigator in private practice. A former federal public defender. And from a family of public school educators and police officers. A consensus builder. Since she‚Äôs been nominated, she‚Äôs received a broad range
Activeloop Deep Lake as a Multi-Modal Vector Store that stores embeddings and their metadata including text, Jsons, images, audio, video, and more. It saves the data locally, in your cloud, or on Activeloop storage. It performs hybrid search including embeddings and their attributes.
Activeloop Deep Lake as a Multi-Modal Vector Store that stores embeddings and their metadata including text, Jsons, images, audio, video, and more. It saves the data locally, in your cloud, or on Activeloop storage. It performs hybrid search including embeddings and their attributes. ->: with the year the documents were created.import randomfor d in docs:    d.metadata["year"] = random.randint(2012, 2014)db = DeepLake.from_documents(    docs, embeddings, dataset_path="./my_deeplake/", overwrite=True)        Dataset(path='./my_deeplake/', tensors=['embedding', 'id', 'metadata', 'text'])          tensor      htype      shape     dtype  compression      -------    -------    -------   -------  -------      embedding  embedding  (4, 1536)  float32   None           id        text      (4, 1)      str     None        metadata     json      (4, 1)      str     None          text       text      (4, 1)      str     None       db.similarity_search(    "What did the president say about Ketanji Brown Jackson",    filter={"metadata": {"year": 2013}},)    100%|‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà‚ñà| 4/4 [00:00<00:00, 2936.16it/s]    [Document(page_content='Tonight. I call on the Senate to: Pass the Freedom to Vote Act. Pass the John Lewis Voting Rights Act. And while you‚Äôre at it, pass the Disclose Act so Americans can know who is funding our elections. \n\nTonight, I‚Äôd like to honor someone who has dedicated his life to serve this country: Justice Stephen Breyer‚Äîan Army veteran, Constitutional scholar, and retiring Justice of the United States Supreme Court. Justice Breyer, thank you for your service. \n\nOne of the most serious constitutional responsibilities a President has is nominating someone to serve on the United States Supreme Court. \n\nAnd I did that 4 days ago, when I nominated Circuit Court of Appeals Judge Ketanji Brown Jackson. One of our nation‚Äôs top legal minds, who will continue Justice Breyer‚Äôs legacy of excellence.', metadata={'source': '../../modules/state_of_the_union.txt', 'year': 2013}),     Document(page_content='A former top litigator in private practice. A former federal public defender. And from a family of public school educators and police officers. A consensus builder. Since she‚Äôs been nominated, she‚Äôs received a broad range