Skip to content

Commit 1b19c45

Browse files
committed
Address review comments
1 parent 0dd11f4 commit 1b19c45

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

docs/ff-integrations/AI/ai-agents.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,26 @@ You can obtain your OpenAI API key from [**OpenAI API Keys**](https://platform.o
7979
Here, you specify the type of inputs users can send to the AI.
8080

8181
- **Text**: Allows users to send text-based messages.
82-
- **Image**: Enables image input, allowing the AI to analyze photos.
82+
- **Image**: Enables image input, allowing the agent to analyze photos.
83+
- **Audio**: (Google Agent only) Allows to send audio messages or voice inputs.
84+
- **Video**: (Google Agent only) Allows users to send short video clips to analyze.
8385

84-
Selecting both means users can send both text and/or images. For example, with an AI Stylist agent, enabling both Text and Image allows users to either describe their outfits in words or upload images of clothing items for analysis.
86+
Selecting multiple input types makes it easier for users to clearly communicate what they need. Instead of relying only on text descriptions, users can combine inputs—for example, uploading an image along with text to better illustrate their queries and help the agent provide more accurate responses.
8587

8688
#### Response Options
8789

8890
Defines the type of output you want from the agent. You can select from the following options:
8991

9092
- **Text**: Returns plain text responses.
9193
- **Markdown**: Allows richer formatting (headings, lists, links) if you display content as markdown. For example, An FAQ chatbot that uses formatted bullet points, and bold or italic text to highlight key info.
92-
- **Data Type (JSON)**: Returns structured data, which can be parsed programmatically. For example, a restaurant finder app might need structured data, e.g., `{ name: 'Pizza Palace', distance: '2.4 miles' }` to display a dynamic map.
94+
- **JSON**: Returns structured data, which can be parsed programmatically. For example, a restaurant finder app might need structured data, e.g., `{ name: 'Pizza Palace', distance: '2.4 miles' }` to display a dynamic map.
9395

9496
#### Model Parameters
9597

9698
Here, you can fine-tune how the agent generates responses.
9799

98100
- **Temperature**: Controls how creative or random the AI’s responses can be on a scale of 0 to 1. A lower value (e.g., 0.1) makes responses more factual and consistent. A higher value (e.g., 1.0) makes responses more creative and varied (e.g., brainstorming ideas).
99-
- **Max Tokens**: Sets the response length limit—helpful for cost control or for ensuring short, direct replies.
101+
- **Max Tokens**: Limits the total number of tokens used, including both the user's request and the agent's response. Adjusting this helps manage costs and ensures concise interactions.
100102
- **Top P**: Another technique for controlling the variety of words the AI considers. Typically kept at default unless you want fine-tuned sampling control.
101103

102104
For example, in a **Blog-Writing Assistant**, you might set a moderate to high temperature for creative phrasing and a high max tokens limit for detailed paragraphs. Conversely, a **Financial Chatbot** would benefit from a lower temperature to deliver consistent, accurate, and stable responses without unnecessary creativity.
@@ -130,10 +132,9 @@ Once configured, click the **Publish** button to make it live.
130132
</div>
131133
<p></p>
132134

133-
:::info
134-
135-
After you successfully deploy the agent, any changes made to its configuration—such as modifying the system message, model, or temperature will require you to redeploy the Agent.
135+
:::info [For non Google Agents]
136136

137+
After you successfully deploy the agent, any changes made to its configuration—such as modifying the system message, model, or temperature will require you to redeploy the Agent. For Google agents, the configuration is stored at client-side, so redeployment isn't necessary.
137138
:::
138139

139140
Now you can use the AI agent in your FlutterFlow app logic using the following actions.
@@ -147,7 +148,15 @@ You can configure the following options for this action:
147148
- **Select Agent**: Here, you select the specific AI Agent you previously configured.
148149
- **Conversation ID**: The Conversation ID is a unique identifier you assign to maintain context and continuity across multiple interactions within the same conversation. Using a consistent ID (e.g., `user123_AIStylist_202503181200`) allows the AI to remember past interactions and keep conversations coherent and contextual.
149150
- **Text Input**: This is where you specify the user's message or input text that the AI agent will process. Typically, this input comes from a widget state (e.g., TextField).
150-
- **Image Input**: If your agent supports image processing, you can provide an image either from [local device](../../ff-concepts/file-handling/displaying-media.md#uploaded-file) storage or a [network URL](../../ff-concepts/file-handling/displaying-media.md#network).
151+
- **Image Input**: If your agent supports image processing, you can provide an image.
152+
- **Audio Input**: If your agent supports audio processing, you can pass audio files.
153+
- **Video Input**: If your agent can analyze video content, provide a video file.
154+
155+
:::info
156+
- You can send media files either from [**network URL**](../../ff-concepts/file-handling/displaying-media.md#network) or a [**local device**](../../ff-concepts/file-handling/displaying-media.md#uploaded-file) storage.
157+
- For non-Google agents, we only support network URLs for now. To pass media files from your device, [**upload it first to cloud storage**](../../ff-concepts/file-handling/uploading-files.md#upload-or-save-media-action) and then provide its generated URL.
158+
:::
159+
151160
- **Action Output Variable Name**: This field stores the AI agent's response to let you display the response to users or process it further.
152161

153162
![ai-agent-send-message-action.avif](imgs/ai-agent-send-message-action.avif)

docs/ff-integrations/AI/gemini.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ keywords: [FlutterFlow, Gemini, Text Generation, Token Counting, Integration]
1212

1313
With the Gemini action, you can generate text, process text-and-image inputs, and effortlessly count tokens.
1414

15+
:::warning[Deprecation Notice]
16+
The Gemini action will eventually be deprecated. We recommend transitioning to the newer and more powerful [**AI Agent**](ai-agents.md) actions.
17+
:::
18+
19+
1520
<div class="video-container"><iframe src="https://www.loom.
1621
com/embed/1e7a383897334f6da96c58639e7abcfc?sid=b8363cff-ccfb-4ade-98fc-22a2a587e68e" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
1722

docs/resources/projects/libraries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ Once the library is imported, following resources are accessible for use:
190190
- [Custom Functions](../../ff-concepts/adding-customization/custom-functions.md), [Actions](../../resources/control-flow/functions/action-flow-editor.md), and [Widgets](../../resources/ui/widgets/intro-widgets.md)
191191
- [Assets](../../resources/projects/settings/general-settings.md#app-assets) (Note: These are not versioned)
192192

193-
:::note
194-
- Pages and Firestore Collections are still being worked on and may come in future updates.
193+
:::info
194+
- [**Pages**](../../resources/ui/pages/intro-pages.md), [**Firestore Collections**](../../ff-integrations/database/cloud-firestore/creating-collections.md), and [**Cloud Functions**](../../ff-concepts/adding-customization/cloud-functions.md) are still being worked on and may come in future updates.
195195
- Creation of [**AI Agents**](../../ff-integrations/AI/ai-agents.md) is not yet supported in the Library project
196196
:::
197197

0 commit comments

Comments
 (0)