Встановлення та базовий приклад
pip install chromadb
import chromadb
client = chromadb.PersistentClient(path="./db")
col = client.get_or_create_collection("docs")
col.add(documents=["текст"], ids=["1"])
results = col.query(query_texts=["запит"], n_results=2)
print(results)