한 client, 여러 collection
Chroma client 는 디스크의 디렉토리를 가리켜. client 안에 collection 만들면 — 같은 on-disk store 를 공유하는 독립적 인덱스들이야. 일반적인 앱은 콘텐츠 타입당 collection 하나 (docs, conversations, code) 를 만들어서 각각 자기 임베딩 모델과 메타데이터 스키마 가지게 해.
distance metric 을 생성 시점에 박아
Chroma 는 cosine 이 default 인데 L2 나 inner product 도 골라. 생성 시점에 골라 — 기존 collection 의 metric 변경은 재빌드 필요해. 대부분 텍스트 use case 는 cosine 그대로 둬.