Install and basic usage
pip install chromadb
import chromadb
client = chromadb.PersistentClient(path="./db")
col = client.get_or_create_collection("docs")
col.add(documents=["text content"], ids=["1"])
results = col.query(query_texts=["your query"], n_results=2)
print(results)