diff --git a/README.md b/README.md index 4b813db9..bbf1db9c 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,7 @@ from qdrant_client import QdrantClient # Initialize the client client = QdrantClient("localhost", port=6333) # For production -# OR if you just want to try it out quickly: -# client = QdrantClient(":memory:") +# client = QdrantClient(":memory:") # For small experiments # Prepare your documents, metadata, and IDs docs = ["Qdrant has Langchain integrations", "Qdrant also has Llama Index integrations"] @@ -66,12 +65,12 @@ metadata = [ ] ids = [42, 2] -# If you want to change the default model: +# If you want to change the model: # client.set_model("sentence-transformers/all-MiniLM-L6-v2") # List of supported models: https://qdrant.github.io/fastembed/examples/Supported_Models -# Use the new add() method instead of upsert() method -# This internally calls embed() method of the configured embedding model +# Use the new add() instead of upsert() +# This internally calls embed() of the configured embedding model client.add( collection_name="demo_collection", documents=docs,