.delete() method.# use directly a `where_str` to deletedocsearch.delete(where_str=f"{docsearch.metadata_column}.doc_id < 5")meta = docsearch.metadata_columnoutput = docsearch.similarity_search_with_relevance_scores(    "What did the president say about Ketanji Brown Jackson?",    k=4,    where_str=f"{meta}.doc_id<10",)for d, dist in output:    print(dist, d.metadata, d.page_content[:20] + "...")    0.24506962299346924 {'doc_id': 8} And so many families...    0.24875116348266602 {'doc_id': 6} And I‚Äôm taking robus...    0.26027143001556396 {'doc_id': 7} We see the unity amo...    0.26390212774276733 {'doc_id': 9} And unlike the $2 Tr...docsearch.drop()PreviousMongoDB AtlasNextNeo4j Vector IndexSetting up environmentsGet connection info and data schemaFilteringSimilarity search with scoreDeleting your dataCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
MyScale is a cloud-based database optimized for AI applications and solutions, built on the open-source ClickHouse.
MyScale is a cloud-based database optimized for AI applications and solutions, built on the open-source ClickHouse. ->: .delete() method.# use directly a `where_str` to deletedocsearch.delete(where_str=f"{docsearch.metadata_column}.doc_id < 5")meta = docsearch.metadata_columnoutput = docsearch.similarity_search_with_relevance_scores(    "What did the president say about Ketanji Brown Jackson?",    k=4,    where_str=f"{meta}.doc_id<10",)for d, dist in output:    print(dist, d.metadata, d.page_content[:20] + "...")    0.24506962299346924 {'doc_id': 8} And so many families...    0.24875116348266602 {'doc_id': 6} And I‚Äôm taking robus...    0.26027143001556396 {'doc_id': 7} We see the unity amo...    0.26390212774276733 {'doc_id': 9} And unlike the $2 Tr...docsearch.drop()PreviousMongoDB AtlasNextNeo4j Vector IndexSetting up environmentsGet connection info and data schemaFilteringSimilarity search with scoreDeleting your dataCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.