If you don't know what cognition engine you want to use for your job, you can get a list of all available engines and review them to understand which engine suits the job. To view engines according to what media type you have (video, image, data, audio), see Media configuration.
Steps
- Query for categories using the following sample code:
query enumerateCognitionEngineCategories {
engineCategories(type:"Cognition") {
records {
categoryType
totalEngines
id
description
type {
name
}
}
}
}
- Once you know the category you want, query for engines in that category ("Translate" in this example). Set a reasonable limit on the number of records returned (100 in this example). The following sample query returns engines that can translate, and lists the custom fields and options supported by each engine:
{
engines(limit: 100,category:"Translate") {
count
records {
id
category {
id
name
}
fields {
name
type
max
min
step
info
label
defaultValue
options {
key
value
}
}
}
}
}