@openfloor/protocol - v0.0.4
    Preparing search index...

    Class Capability

    Represents a single capability of an agent

    const capability = new Capability({
    keyphrases: ['weather', 'forecast', 'temperature'],
    descriptions: ['Provides weather information and forecasts'],
    languages: ['en-US', 'en-GB'],
    supportedLayers: { input: ['text'], output: ['text', 'ssml'] }
    });

    Implements

    Index

    Constructors

    Properties

    descriptions: readonly string[]
    keyphrases: readonly string[]
    languages?: readonly string[]
    supportedLayers: SupportedLayers

    Methods