Skip to main content


In this section you are going to populate your Weaviate instance with a movie dataset, using the OpenAI API to embed the text data.

Weaviate instance

Make sure to have your Weaviate instance set up. You should have created an instance and be able to connect to it.

OpenAI key

You will need an OpenAI API key to follow along. If you don't have one, go to the OpenAI website and sign up for an account and create an API key.

Source data

We are going to use a movie dataset sourced from TMDB. The dataset can be found in this GitHub repository, and it contains bibliographic information on ~700 movies released between 1990 and 2024.

See sample data
0/3Nn5BOM1EVw1IYrv6MsbOS6N1Ol.jpg[14, 18, 10749]162enEdward ScissorhandsA small suburban town receives a visit from a castaway unfinished science experiment named Edward.45.694/1RFIbuW9Z3eN9Oxw2KaQG5DfLmD.jpg1990-12-07Edward ScissorhandsFalse7.712305
1/sw7mordbZxgITU877yTpZCud90M.jpg[18, 80]769enGoodFellasThe true story of Henry Hill, a half-Irish, half-Sicilian Brooklyn kid who is adopted by neighbourhood gangsters at an early age and climbs the ranks of a Mafia family under the guidance of Jimmy Conway.57.228/aKuFiU82s5ISJpGZp7YkIr3kCUd.jpg1990-09-12GoodFellasFalse8.512106
2/6uLhSLXzB1ooJ3522ydrBZ2Hh0W.jpg[35, 10751]771enHome AloneEight-year-old Kevin McCallister makes the most of the situation after his family unwittingly leaves him behind when they go on Christmas vacation. But when a pair of bungling burglars set their sights on Kevin's house, the plucky kid stands ready to defend his territory. By planting booby traps galore, adorably mischievous Kevin stands his ground as his frantic mother attempts to race home before Christmas Day.3.538/onTSipZ8R3bliBdKfPtsDuHTdlL.jpg1990-11-16Home AloneFalse7.410599
3/vKp3NvqBkcjHkCHSGi6EbcP7g4J.jpg[12, 35, 878]196enBack to the Future Part IIIThe final installment of the Back to the Future trilogy finds Marty digging the trusty DeLorean out of a mineshaft and looking for Doc in the Wild West of 1885. But when their time machine breaks down, the travelers are stranded in a land of spurs. More problems arise when Doc falls for pretty schoolteacher Clara Clayton, and Marty tangles with Buford Tannen.28.896/crzoVQnMzIrRfHtQw0tLBirNfVg.jpg1990-05-25Back to the Future Part IIIFalse7.59918
4/3tuWpnCTe14zZZPt6sI1W9ByOXx.jpg[35, 10749]114enPretty WomanWhen a millionaire wheeler-dealer enters a business contract with a Hollywood hooker Vivian Ward, he loses his heart in the bargain.97.953/hVHUfT801LQATGd26VPzhorIYza.jpg1990-03-23Pretty WomanFalse7.57671

Next, you will create a corresponding object collection and import the data.

Questions and feedback

If you have any questions or feedback, let us know in the user forum.