Sign up for free, no credit card required.
Find your API details in Settings. Alternatively, get a Read Key for search by going to the Search App in your dataset and clicking
API in the header.
In Relevance AI, we search a "dataset". Think a MongoDB Collection or MySQL table. Each dataset has a single schema, that is immutable.
The easiest way to create a dataset is in your dashboard.
In your dashboard, you're able to upload data from a CSV or JSON file.
You can also easily insert JSON documents with our SDK:
const dataset = relevanceClient.dataset("my-dataset"); await dataset.insertDocuments([...myData]);
Now for the good bit! Let's search. You can experiment with search in the Search App in our dashboard.
Here's a simple search with our SDK:
const query = QueryBuilder().query("hello world").text("short_description").text("title"); const results = await dataset.search(query);