chroma 디비에 데이터 추가, 업데이트, 업데이트 / 추가, 삭제
chroma 디비데이터 추가import chromadbclient = chromadb.PersistentClient(path="./chroma_db")collection = client.get_or_create_collection("sample_collection")collection.add( documents=["한글 문서 1", "한글 문서 2", "한글 문서 3"], # we embed for you, or bring your own metadatas=[{"source": "local"}, {"source": "local"}, {"source": "local"}], # filter on arbitrary metadata! ids=["doc1", "doc2", "doc3"], # mu..
2025. 4. 25.