Unofficial demo datasets for Weaviate
Project description
Weaviate demo data uploader
This aims to make it easy to upload demo data to your instance of Weaviate for learning how to use it.
Usage
All datasets are based on Dataset
superclass, and includes a number of built-in methods to make it easier to work with it.
Once you instantiate a dataset, to upload it to Weaviate the syntax is as follows:
import wv_datasets
dataset = wv_datasets.JeopardyQuestions()
dataset.add_to_schema(client)
dataset.upload_objects(client, batch_size=100)
Where client
is the instantiated weaviate.Client
object.
Built-in methods
.see_class_definitions()
: See the schema definition to be added.classes_in_schema()
: Check whether each class is already in the Weaviate schema.get_class_names()
: Get class names in the dataset
Available classes
- WikiArticles
- WineReviews
- JeopardyQuestions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file weaviate-demo-datasets-0.0.1.tar.gz
.
File metadata
- Download URL: weaviate-demo-datasets-0.0.1.tar.gz
- Upload date:
- Size: 67.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b42e9d21ead23a3e911304593bbd7e77b9e9e34c9a8c0e42d9a0293c95928c6 |
|
MD5 | 78e6d13dda5bd9035d00c9ca6891e450 |
|
BLAKE2b-256 | b4c33b677217728667d56dfd4e526f5bb620afe94dbc1fc9e5453e582d63fa82 |
File details
Details for the file weaviate_demo_datasets-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: weaviate_demo_datasets-0.0.1-py3-none-any.whl
- Upload date:
- Size: 72.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b62c7a23931d74fedaa8dcc7e50f17db76438ca7826392ce38fb3cca94f989 |
|
MD5 | 62098516de3b8afc9c8391a96bfb46a8 |
|
BLAKE2b-256 | 0db3161df79e9b274548e757f562476ce760b652fd4952c4de3520deb88ef008 |