[PYTHON/PYMILVUS] MilvusClient 클래스 : delete 메소드에서 collection_name/filter 인자를 사용해 엔터티 삭제하기

■ MilvusClient 클래스의 delete 메소드에서 collection_name/filter 인자를 사용해 엔터티를 삭제하는 방법을 보여준다.

main.py

{'id': 0, 'text': 'Artificial intelligence was founded as an academic discipline in 1956.', 'subject': 'history'}
{'id': 1, 'text': 'Alan Turing was the first person to conduct substantial research in AI.', 'subject': 'history'}
{'id': 2, 'text': 'Born in Maida Vale, London, Turing was raised in southern England.', 'subject': 'history'}
—————————————————————————————————-
[0, 1, 2]
—————————————————————————————————-
"""
—————————————————————————————————-

requirements.txt

※ pip install pymilvus[model] 명령을 실행했다.

Advertisements