Giter Club home page Giter Club logo

floating-ai-robo-plugin-template's Introduction

TemplateContentProvider ๐Ÿ“ฑ

ๆ—ฅๆœฌ่ชž็‰ˆ

Overview

TemplateContentProvider is the starting point for developing plugins for the Floating AI robo. ๐Ÿš€ This template provides the basic framework for the plugin and demonstrates how to respond to queries for specific functionalities.

Details of Floating AI robo Plugin ๐Ÿช„

  • Provides detailed information about the Tools available in Floating AI robo! ๐Ÿ”
  • Returns the results of executing Tools to Floating AI robo! ๐Ÿ’ซ

Plugin Configuration ๐Ÿ› ๏ธ

Android Manifest Settings

  • Floating AI robo accesses the plugin through the query() method. โœจ
  • Performs a query to the tools endpoint, setting and returning the plugin's feature list and details in a cursor. ๐Ÿ“œ
    • Parameters:
      • source: Data source (provider or activity).
      • target: Access target (URI for providers, ClassName for activities).
      • displayName: Tool name displayed in the app ๐Ÿท๏ธ.
      • functionName: Function name recognized by AI ๐Ÿค–.
      • description: Function description recognized by AI ๐Ÿ“–.
      • displayDescription: Function description displayed in the app ๐Ÿ“–.
      • parametersSchema: JSON string representing parameters recognized by AI.
  • Floating AI robo executes a query to the URI set in target with parameters specified in parametersSchema set as pathSegments.
  • The process results are set and returned in the type and result columns of the cursor.
    • type: Either talk, text, image, or none.
      • talk: Floating AI robo reads aloud the text set in result.
      • text: Floating AI robo processes and reads aloud the string set in result.
      • image: Floating AI robo processes and reads aloud the image object set in result.
        • Accepts images either base64-encoded or as a URL.
      • none: Floating AI robo does nothing and transitions to a standby state.
  • Floating AI robo accesses the Activity set in target with parameters specified in parametersSchema set as extra.
  • Please end the ActivityResult with {Key: uri, Value: URI of the provider} set as Extra.
  • Afterward, Floating AI robo executes a query to the Provider without parameters. The cursor settings are the same as when the source is a provider.

floating-ai-robo-plugin-template's People

Contributors

koheiyamashita avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.