Inferences
Below is an example dataframe containing Wikipedia articles along with its embedding vector.| id | text | embedding |
|---|---|---|
| 1 | Voyager 2 is a spacecraft used by NASA to expl… | [-0.02785328, -0.04709944, 0.042922903, 0.0559… |
| 2 | The Staturn Nebula is a planetary nebula in th… | [0.03544901, 0.039175965, 0.014074919, -0.0307… |
| 3 | Eris is a dwarf planet and a trans-Neptunian o… | [0.05506449, 0.0031612846, -0.020452883, -0.02… |
Schema
Below is an appropriate schema for the dataframe above. It specifies theid column and that embedding belongs to text. Other columns, if exist, will be detected automatically, and need not be specified by the schema.
Inferences
Define the inferences by pairing the dataframe with the schema.Application
The application launcher accepts the corpus dataset throughcorpus= parameter.

