Artificial Intelligence, AI, Data Science, Database, Python.
this example, we’ll create a collection named “first_collection”: # Create a collection my_collection = "first_collection" first_collection = client.recreate_collection( collection_name=my_collection, vectors_config=models.VectorParams(size=100, distance=models.Distance.COSINE) )