--- license: apache-2.0 language: - en - de tags: - legal pretty_name: Swiss Code of Obligations size_categories: - 1K 1. Create a new collection running this: > Vector size for `gte-small` is **`384`**. For `paraphrase-multilingual-mpnet-base-v2` is **`768`**. ```curl PUT collections/COLLECTION_NAME { "vectors": { "size": 384, "distance": "Cosine" } } ``` 1. Download the [snapshot file](https://huggingface.co/datasets/brunnolou/swiss-code-of-obligations/resolve/main/swiss-code-of-obligations-articles-gte-small-2023-10-18-12-13-25_qdrant-v1-6-1.snapshot.zip) 1. Unzip the file using the terminal (⚠️ **_not with Finder on Mac_** ⚠️) with `unzip ` 1. Upload the file using the following command. Adapt the fields accordingly and run it from the same directory, as where your snapshot lies ```shell curl -X POST 'http://localhost:6333/collections/swiss-or/snapshots/upload' \ -H 'Content-Type:multipart/form-data' \ -F 'snapshot=@swiss-code-of-obligations-articles-gte-small-2023-10-18-12-13-25.snapshot' ```