Created on
import chromadb
client = chromadb.PersistentClient(path='xroma.db')
collection = client.get_collection(name='zed')
query = input("search> ")
results = collection.query(
query_texts=query,
n_results=10,
)
print(results)
Created on
import chromadb
client = chromadb.PersistentClient(path='xroma.db')
collection = client.get_collection(name='zed')
query = input("search> ")
results = collection.query(
query_texts=query,
n_results=10,
)
print(results)