I have the concept of a "Pack" in my product which is a collection or bundle of content that a user can purchase. I would like to make Bixby treat the terms "pack", "collection", and "bundle" as equivalent while within my capsule, so that saying "show me available bundles" is equivalent to "show me available packs".
I tried creating a file called resources/target/pack.vocab.bxb with these contents:
vocab (altbrains.quotations.Pack) {
"pack" {"Pack", "bundle", "collection"}
}
my Pack concept file is Pack.model.bxb:
structure (Pack)
{ property (title) {
type (Title)
min (Required)
}
property (price) {
type (Price)
min (Required)
}
property (brand) {
type (Brand)
min (Required)
}
property (description) {
type (Description)
min (Required)
}
property (images) {
type (Image)
min (Required) max (Many)
}
property (language){
type (Language)
min (Optional) max (Many)
}
}
My Content.model.bxb is:
structure (Content) {
description (Output)
property (text) {
type (core.Text)
min (Optional) max (One)
visibility (Private)
}
property (image) {
type (image.Image)
min (Optional) max (One)
visibility (Private)
}
}
The vocab file above produces a bunch of error messages (10) in the compiler saying "invalid vocab term, structured value may not have a symbol"
I want the vocab file to compile and I want a test story using "list my available bundles" to work the same as a test story saying "list my available packages"