1.8 KiB
1.8 KiB
Example Data
Add example data to a Weaviate collection for users without their own data or wanting a quick example. Downloads data from the huggingface hub.
uv run scripts/example_data.py --domain "DOMAIN_NAME" [--vectorizer "..."] [--nrows X]
Parameters
| Parameter | Flag | Required | Default | Description |
|---|---|---|---|---|
--domain |
-d |
No | academic |
Defines which dataset is being used. One of 'academic', 'finance', 'ecommerce', 'medical', or 'customer_support'. |
--vectorizer |
-v |
No | text2vec_weaviate |
Optional vectorizer (e.g., text2vec_openai, text2vec_cohere, none) |
--nrows |
-n |
No | None |
Optionally subset the data. If not supplied uses full dataset. |
When to use: Creating example data for immediate use of other skills, if no data is available or user requests some toy data.
Domain Datasets:
academicis thejamescalam/ai-arxiv2dataset, contains a selection of chunked papers from Arxiv on the topic of AI/ML. Creates theAI_Arxivcollection in the Weaviate instancefinanceis theAgamiAI/Indian-Income-Tax-Returnsdataset, fully synthetic Indian Income Tax Return forms. Creates theIncome_Tax_Returnscollection in the Weaviate instanceecommerceis thepkghf/ecom-product-catalogdataset, containing structured e-commerce product information including product details, pricing, categorization. Creates theProduct_Catalogcollection in the Weaviate instancemedicalis theAmod/hair_medical_sit, containing information about common hair related diseases. Creates theHair_Medicalcollection in the Weaviate instancecustomer_supportis theConsole-AI/IT-helpdesk-synthetic-tickets, synthetic customer support tickets from IT. Creates theIT_Support_Ticketscollection in the Weaviate instance