@cloudbase/aiagent-framework
    Preparing search index...

    Class AITools

    Index

    Constructors

    • Parameters

      • context: TcbContext

      Returns AITools

    Methods

    • Parameters

      • botId: string
      • triggerSrc: string
      • media: string

      Returns Promise<GetWxMediaContentResult>

    • Parameters

      • botId: string
      • msg: string
      • databaseModel: string[]

      Returns Promise<SearchDBResult>

    • Parameters

      • botId: string
      • msg: string
      • files: string[]

      Returns Promise<SearchFileResult>

    • Parameters

      • botId: string
      • msg: string
      • knowledgeBase: string[]

      Returns Promise<SearchKnowledgeResult>

    • Parameters

      • botId: string
      • engSerViceType: string
      • voiceFormat: string
      • voiceUrl: string

      Returns Promise<SpeechToTextResult>

    • Parameters

      • botId: string
      • text: string
      • voiceType: number

      Returns Promise<TextToSpeechResult>