From d79804197d140b1641ef64edcfe126831c8fafdd Mon Sep 17 00:00:00 2001
From: 0xLisanAlGaib <0xlisanalgaib@gmail.com>
Date: Thu, 12 Jun 2025 15:38:29 -0600
Subject: [PATCH 1/5] Updated the "Using FlowDocs in LLMs" page to be LLM
agnostic
Updated guide to support both ChatGPT and Gemini Gems
---
docs/tutorials/ai-plus-flow/chatgpt/index.md | 58 ++++++++++----------
1 file changed, 30 insertions(+), 28 deletions(-)
diff --git a/docs/tutorials/ai-plus-flow/chatgpt/index.md b/docs/tutorials/ai-plus-flow/chatgpt/index.md
index ba8e630d05..1bfe21e922 100644
--- a/docs/tutorials/ai-plus-flow/chatgpt/index.md
+++ b/docs/tutorials/ai-plus-flow/chatgpt/index.md
@@ -4,6 +4,7 @@ sidebar_label: Use ChatGPT
sidebar_position: 2
keywords:
- ChatGPT
+ - Gemini
- AI
- OpenAI
- Flow documentation
@@ -16,11 +17,11 @@ keywords:
- Flow AI assistance
---
-# Use Flow Knowledge Base in ChatGPT
+# Use Flow Knowledge Base in Custom LLs
-[ChatGPT] is an AI assistant developed by [OpenAI] that can help with tasks such as writing, coding, and answering questions. It adapts to context and user input to provide relevant, conversational responses. ChatGPT can be integrated into developer tools or workflows to assist with documentation, debugging, and productivity.
+LLMs can help with tasks such as writing, coding, and answering questions. It adapts to context and user input to provide relevant, conversational responses. They can be integrated into developer tools or workflows to assist with documentation, debugging, and productivity.
-This guide walks you through creating a **Custom GPT** using ChatGPT that can reference the [Flow Data Sources] file to answer questions.
+This guide walks you through creating a **Custom LLM**, such as [ChatGPT]'s GPTs or [Gemini]'s Gems, that can reference the [Flow Data Sources] file to answer questions.
+

---
## π Step 2: Click "Create a GPT"
-1. In the **Explore GPTs** screen, click the **"Create"** button in the top-right corner.
+- In the **GPTs** screen, click the **"Create"** button in the top-right corner.
+- In the **Explore Gems** screen, click the **New Gem** button in the center-right of the screen.
-
+

+

----
-
-## π Step 3: Walk Through the GPT Builder
-
-ChatGPT will now guide you through a conversation to set up your custom GPT. First, drag and drop the [Flow Data Sources All Merged] file into the prompt.
-
-### Suggested Prompt
-
-```text
-I want to make a GPT called FlowGPT that uses the linked file as it's primary source. This file changes, so it should reference the live file at least once a day: https://github.com/onflow/Flow-Data-Sources/blob/main/merged_docs/all_merged.md
-```
---
-## π Step 4: Configure the GPT's Name and Instructions
+## π Step 3: Walk Through the Agent Coniguration
-ChatGPT may ask you to customize or verify:
+- If using ChatGPT, click on the **Configure** button before proceeding.
-- **Name and description** of your GPT
-- **Instructions**: Tell it how to behave and what to prioritize (e.g., always reference the uploaded document)
-- **Capabilities**: Enable file browsing, code interpreter, or DALLΒ·E if needed
+1. Fill the **Name and description** of your custom LLM.
+ - You can name the agent **FlowDocs** and set the description as: **Provides knowledge about building on Flow**.
+3. **Instructions**: Tell it how to behave and what to prioritize (e.g., always reference the uploaded document)
+4. **Capabilities**: Enable file browsing, code interpreter, or DALLΒ·E if needed
-We've found it helpful to suggest:
+### Suggested Prompt
```text
+I want to make an agent called FlowDocs that uses the linked file as its primary source.Β This file changes, so it should reference the live file at least once a day:Β https://github.com/onflow/Flow-Data-Sources/blob/main/merged_docs/all_merged.md
+
Please imagine you are a fast and smart junior developer who is eager to help and has memorized all the information in the linked file
```
Please let us know if you find any other useful customization prompts!
+- You can further customize your personalized agent by providing more files and determining the actions it can do.
+
---
## π Step 5: Test Your GPT
-Once the GPT is built, you'll be taken to a preview chat window. Test it by asking a few questions based on your uploaded document.
+Once the personalized agent is built, you'll be taken to a preview chat window. Test it by asking a few questions based on your uploaded document.
---
@@ -106,7 +106,9 @@ When you're ready:
You've now created a custom GPT that references your uploaded file as a primary source. You can update the file or instructions later if needed.
[ChatGPT]: https://chatgpt.com/
+[Gemini]: https://gemini.google.com/app
[OpenAI]: https://openai.com/
[ChatGPT Plus subscription]: https://chat.openai.com
+[Gemini Pro subscription]: https://gemini.google/subscriptions/
[Flow Data Sources]: ../flow-data-sources.md
[Flow Data Sources All Merged]: https://github.com/onflow/Flow-Data-Sources/blob/main/merged_docs/all_merged.md
From 9baf4d2b7c66493cc126c26f6ee403acf241aab4 Mon Sep 17 00:00:00 2001
From: Brian Doyle
Date: Thu, 12 Jun 2025 17:41:35 -0400
Subject: [PATCH 2/5] Update docs/tutorials/ai-plus-flow/chatgpt/index.md
---
docs/tutorials/ai-plus-flow/chatgpt/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/tutorials/ai-plus-flow/chatgpt/index.md b/docs/tutorials/ai-plus-flow/chatgpt/index.md
index 1bfe21e922..d869f47637 100644
--- a/docs/tutorials/ai-plus-flow/chatgpt/index.md
+++ b/docs/tutorials/ai-plus-flow/chatgpt/index.md
@@ -17,7 +17,7 @@ keywords:
- Flow AI assistance
---
-# Use Flow Knowledge Base in Custom LLs
+# Use Flow Knowledge Base in Custom LLMs
LLMs can help with tasks such as writing, coding, and answering questions. It adapts to context and user input to provide relevant, conversational responses. They can be integrated into developer tools or workflows to assist with documentation, debugging, and productivity.
From 9012950adac7f0a96d5c07e4f978cbb02cc7cec9 Mon Sep 17 00:00:00 2001
From: Brian Doyle
Date: Thu, 12 Jun 2025 17:43:37 -0400
Subject: [PATCH 3/5] Update docs/tutorials/ai-plus-flow/chatgpt/index.md
---
docs/tutorials/ai-plus-flow/chatgpt/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/tutorials/ai-plus-flow/chatgpt/index.md b/docs/tutorials/ai-plus-flow/chatgpt/index.md
index d869f47637..51dd90b76c 100644
--- a/docs/tutorials/ai-plus-flow/chatgpt/index.md
+++ b/docs/tutorials/ai-plus-flow/chatgpt/index.md
@@ -40,7 +40,7 @@ You'll need a [ChatGPT Plus subscription] to use the **Custom GPT** feature or a
:::
-## π Step 1: Open the "Custom LLM" Section
+## Step 1: Open the "Custom LLM" Section
1. Log in to [ChatGPT] or [Gemini]
2. In the sidebar on the left
From d7ea36c07038897068fb7f650489c75f6f507efe Mon Sep 17 00:00:00 2001
From: Brian Doyle
Date: Thu, 12 Jun 2025 17:43:55 -0400
Subject: [PATCH 4/5] Update docs/tutorials/ai-plus-flow/chatgpt/index.md
---
docs/tutorials/ai-plus-flow/chatgpt/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/tutorials/ai-plus-flow/chatgpt/index.md b/docs/tutorials/ai-plus-flow/chatgpt/index.md
index 51dd90b76c..357e7f88ef 100644
--- a/docs/tutorials/ai-plus-flow/chatgpt/index.md
+++ b/docs/tutorials/ai-plus-flow/chatgpt/index.md
@@ -52,7 +52,7 @@ You'll need a [ChatGPT Plus subscription] to use the **Custom GPT** feature or a
---
-## π Step 2: Click "Create a GPT"
+## Step 2: Click "Create a GPT"
- In the **GPTs** screen, click the **"Create"** button in the top-right corner.
- In the **Explore Gems** screen, click the **New Gem** button in the center-right of the screen.
From 5666b4107d454670858bc4ace0a9ffe1a86dfce8 Mon Sep 17 00:00:00 2001
From: Brian Doyle
Date: Thu, 12 Jun 2025 17:44:19 -0400
Subject: [PATCH 5/5] Update docs/tutorials/ai-plus-flow/chatgpt/index.md
---
docs/tutorials/ai-plus-flow/chatgpt/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/tutorials/ai-plus-flow/chatgpt/index.md b/docs/tutorials/ai-plus-flow/chatgpt/index.md
index 357e7f88ef..300df8101c 100644
--- a/docs/tutorials/ai-plus-flow/chatgpt/index.md
+++ b/docs/tutorials/ai-plus-flow/chatgpt/index.md
@@ -63,7 +63,7 @@ You'll need a [ChatGPT Plus subscription] to use the **Custom GPT** feature or a
---
-## π Step 3: Walk Through the Agent Coniguration
+## Step 3: Walk Through the Agent Coniguration
- If using ChatGPT, click on the **Configure** button before proceeding.