getCollectionOrNull
Fetch a collection's info, or null if it does not exist — instead of throwing KdrantException.CollectionNotFound.
val info = qdrant.getCollectionOrNull("articles") ?: returnContent copied to clipboard
Fetch a collection's info, or null if it does not exist — instead of throwing KdrantException.CollectionNotFound.
val info = qdrant.getCollectionOrNull("articles") ?: return