citizens b...5. Search for Similar Documents with Filtering‚Äãoutput = docsearch.similarity_search_with_relevance_scores(    query,    4,    Rockset.DistanceFunction.COSINE_SIM,    where_str="{} NOT LIKE '%citizens%'".format(TEXT_KEY),)print("output length:", len(output))for d, dist in output:    print(dist, d.metadata, d.page_content[:20] + '...')### output length: 4# 0.7651359650263554 {'source': '../../../state_of_the_union.txt'} Madam Speaker, Madam...# 0.7486265516824893 {'source': '../../../state_of_the_union.txt'} And I‚Äôm taking robus...# 0.7469625542348115 {'source': '../../../state_of_the_union.txt'} And so many families...# 0.7344177777547739 {'source': '../../../state_of_the_union.txt'} We see the unity amo...6.¬†[Optional]¬†Delete Inserted Documents‚ÄãYou must have the unique ID associated with each document to delete them from your collection.
Rockset is a real-time search and analytics database built for the cloud. Rockset uses a Converged Index‚Ñ¢ with an efficient store for vector embeddings to serve low latency, high concurrency search queries at scale. Rockset has full support for metadata filtering and  handles real-time ingestion for constantly updating, streaming data.
Rockset is a real-time search and analytics database built for the cloud. Rockset uses a Converged Index‚Ñ¢ with an efficient store for vector embeddings to serve low latency, high concurrency search queries at scale. Rockset has full support for metadata filtering and  handles real-time ingestion for constantly updating, streaming data. ->: citizens b...5. Search for Similar Documents with Filtering‚Äãoutput = docsearch.similarity_search_with_relevance_scores(    query,    4,    Rockset.DistanceFunction.COSINE_SIM,    where_str="{} NOT LIKE '%citizens%'".format(TEXT_KEY),)print("output length:", len(output))for d, dist in output:    print(dist, d.metadata, d.page_content[:20] + '...')### output length: 4# 0.7651359650263554 {'source': '../../../state_of_the_union.txt'} Madam Speaker, Madam...# 0.7486265516824893 {'source': '../../../state_of_the_union.txt'} And I‚Äôm taking robus...# 0.7469625542348115 {'source': '../../../state_of_the_union.txt'} And so many families...# 0.7344177777547739 {'source': '../../../state_of_the_union.txt'} We see the unity amo...6.¬†[Optional]¬†Delete Inserted Documents‚ÄãYou must have the unique ID associated with each document to delete them from your collection.