AI
To enable AI in your application, the following modules are available to perform AI function calls. AI function are provided a prompt in the form of a string and returns its results.
Module: ai
To invoke an AI call, ai can be called with a prompt. For example:
To use the the AI module without streaming-mode, a list of compatible text models must be set on the application. This list includes:
Module: generate
For generative art production, the generate module can be used provided with a prompt describing the image to be created. For example:
In response, the type content and the file ID is provided delimited with : the file ID can be used to identify the file during file sharing in Interface Enabled Applications.
Questions?
Let us know on contact@frames.sh.
Last updated