Skip to contents

qdrant_delete_collection establishes a connection with a qdrant instance and deletes an existing collection. '

Usage

qdrant_delete_collection(conn, collection_name = NA_character_)

Arguments

conn

a connection object created by get_qdrant_connection()

collection_name

the name of the collection you want to delete. Defaults to NA.

Details

Deletes an existing collection on qdrant. If the collection does not exists, it will throw an error. If the deletion is successful it will display a confirmation message

Examples

conn <- get_qdrant_connection()
#> → Connection to Qdrant confirmed
qdrant_create_new_collection(conn, collection_name="story_of_alice")
#> → Collection story_of_alice was just created on the qdrant instance.
qdrant_delete_collection(conn, collection_name="story_of_alice")
#> → Collection story_of_alice was just deleted on the qdrant instance.