Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weaviate-demo-datasets-0.0.1.tar.gz (67.9 MB view details)

Uploaded Source

Built Distribution

weaviate_demo_datasets-0.0.1-py3-none-any.whl (72.2 MB view details)

Uploaded Python 3

File details

Details for the file weaviate-demo-datasets-0.0.1.tar.gz.

File metadata

File hashes

Hashes for weaviate-demo-datasets-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3b42e9d21ead23a3e911304593bbd7e77b9e9e34c9a8c0e42d9a0293c95928c6
MD5 78e6d13dda5bd9035d00c9ca6891e450
BLAKE2b-256 b4c33b677217728667d56dfd4e526f5bb620afe94dbc1fc9e5453e582d63fa82

See more details on using hashes here.

File details

Details for the file weaviate_demo_datasets-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for weaviate_demo_datasets-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b62c7a23931d74fedaa8dcc7e50f17db76438ca7826392ce38fb3cca94f989
MD5 62098516de3b8afc9c8391a96bfb46a8
BLAKE2b-256 0db3161df79e9b274548e757f562476ce760b652fd4952c4de3520deb88ef008

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page