Skip to content

Commit

Permalink
add dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraVieira committed Apr 15, 2024
1 parent b61f003 commit c5bea06
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
outline: deep
---

# Import a CSV file to Orama Cloud
# Import a JSON file to Orama Cloud

With Orama Cloud, you can upload a CSV file as a data source.
With Orama Cloud, you can upload a JSON file as a data source.
Once you upload it to Orama Cloud, it will be distributed in our Global Search Network, making it available in 300 global locations worldwide.

You can follow along with this guide by downloading the following example JSON file: [example dataset](https://docs.oramasearch.com/cloud/guides/json-file/dog_breeds.json)
You can follow along with this guide by downloading the following example JSON file: [example dataset](/cloud/guides/json-file/dog_breeds.json)

## Creating the index

Expand Down
112 changes: 112 additions & 0 deletions packages/docs/public/cloud/guides/json-file/dog_breeds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
[
{
"breed": "Labrador Retriever",
"breedType": "Purebred",
"origin": "Canada,USA",
"popularity": "1",
"temperament": ["Cheerful", "Gentle", "Friendly", "Intelligent"],
"hypoallergenic": "No",
"intelligence": 7,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "German Shepard",
"breedType": "Purebred",
"origin": "Germany",
"popularity": "2",
"temperament": ["Corageous", "Intelligent", "Loyal", "Watchful"],
"hypoallergenic": "No",
"intelligence": 3,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Golden Retriever",
"breedType": "Purebred",
"origin": "United Kingdom",
"popularity": "3",
"temperament": ["Intelligent", "Kind", "Friendly", "Confident"],
"hypoallergenic": "No",
"intelligence": 4,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "French Bulldog",
"breedType": "Purebred",
"origin": "France, UK",
"popularity": "4",
"temperament": ["Playful", "Sociable", "Friendly", "Lively", "Patient"],
"hypoallergenic": "No",
"intelligence": 58,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Bulldog",
"breedType": "Purebred",
"origin": "United Kingdom",
"popularity": "5",
"temperament": ["Friendly", "Docile", "Willful", "Gregarious"],
"hypoallergenic": "No",
"intelligence": 77,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Beagle",
"breedType": "Purebred",
"origin": "United Kingdom",
"popularity": "6",
"temperament": ["Gentle", "Intelligent", "Even Tempered", "Determined"],
"hypoallergenic": "No",
"intelligence": 72,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Poodle",
"breedType": "Purebred",
"origin": "Germany, France",
"popularity": "7",
"temperament": ["Intelligent", "Faithful", "Trainable", "Instinctual"],
"hypoallergenic": "Yes",
"intelligence": 2,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Rottweiler",
"breedType": "Purebred",
"origin": "Germany",
"popularity": "8",
"temperament": ["Intelligent", "Corageous", "Fearless", "Confident"],
"hypoallergenic": "No",
"intelligence": 9,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "German Shorthaired Pointer",
"breedType": "Purebred",
"origin": "Germany",
"popularity": "9",
"temperament": ["Intelligent", "Trainable", "Boisterous", "Cooperative"],
"hypoallergenic": "No",
"intelligence": 9,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Yorkshire Terrier",
"breedType": "Purebred",
"origin": "United Kingdom",
"popularity": "10",
"temperament": ["Independent", "Intelligent", "Corageous", "Confident"],
"hypoallergenic": "Yes",
"intelligence": 27,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"breed": "Boxer",
"breedType": "Purebred",
"origin": "Germany",
"popularity": "11",
"temperament": ["Playful", "Friendly", "Devoted", "Loyal"],
"hypoallergenic": "No",
"intelligence": 48,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
}
]

0 comments on commit c5bea06

Please sign in to comment.