openfloor.manifest¶
- class openfloor.manifest.Capability(keyphrases, descriptions, languages=None, supportedLayers=None)[source]¶
Bases:
JsonSerializableDataclass
Represents a single capability in the capabilities array
-
descriptions:
List
[str
]¶
-
keyphrases:
List
[str
]¶
-
languages:
Optional
[List
[str
]] = None¶
-
supportedLayers:
Optional
[SupportedLayers
] = None¶
-
descriptions:
- class openfloor.manifest.Identification(speakerUri, serviceUrl, organization=None, conversationalName=None, department=None, role=None, synopsis=None)[source]¶
Bases:
JsonSerializableDataclass
Represents the identification section of a conversant
-
conversationalName:
Optional
[str
] = None¶
-
department:
Optional
[str
] = None¶
-
organization:
Optional
[str
] = None¶
-
role:
Optional
[str
] = None¶
-
serviceUrl:
str
¶
-
speakerUri:
str
¶
-
synopsis:
Optional
[str
] = None¶
-
conversationalName:
- class openfloor.manifest.Manifest(identification, capabilities=<factory>)[source]¶
Bases:
JsonSerializableDataclass
Represents an Assistant Manifest according to the specification
-
capabilities:
List
[Capability
]¶
-
identification:
Identification
¶
-
capabilities:
- class openfloor.manifest.SupportedLayers(input=<factory>, output=<factory>)[source]¶
Bases:
JsonSerializableDataclass
Represents the supported input and output layers for a capability
-
input:
List
[str
]¶
-
output:
List
[str
]¶
-
input: