Adding Data

Let’s say we have a list of 4,000 images labeled with the scene they were taken in. If you’re working in JavaScript or you don’t have URLs or filenames for your images, you need to Base64 encode them first, which can be done in your programming language of choice or online.

Now we can send the data along with our labels as shown at below. Your Collection is going to attempt to learn patterns that associate the labels you provide with the data they correspond to.

Arugments

The domain argument
If you’re trying to build a Collection similar to one of indico’s existing text APIs, you may be able to improve your Collection’s performance by adapting one of our models to your domain’s use case. Currently, the following settings are valid for the domain argument: