Created on

Return to the Index

This card can also be read via Gemini.

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)