docsearch = SingleStoreDB.from_documents(
    docs,
    embeddings,
    table_name = "noteook", # use table with a custom name 
)
query = "What did the president say about Ketanji Brown Jackson"
docs = docsearch.similarity_search(query) # Find documents that correspond to the query
print(docs[0].page_content)
previous
Redis
next
SKLearnVectorStore
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Jun 16, 2023.
rtdocs_stable/api.python.langchain.com/en/stable/modules/indexes/vectorstores/examples/singlestoredb.html