Skip to content

Commit 02a5dab

Browse files
Update GPT integration for image recognition.md (#518)
Added screenshots to explain the working of webhook dropdown (new UI) and changed the last updated at.
1 parent c60c02e commit 02a5dab

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

docs/5. Integrations/GPT integration for image recognition.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<tr>
55
<td><b>5 minutes read</b></td>
66
<td style={{ paddingLeft: '40px' }}><b>Level: Advanced</b></td>
7-
<td style={{ paddingLeft: '40px' }}><b>Last Updated: October 2025</b></td>
7+
<td style={{ paddingLeft: '40px' }}><b>Last Updated: December 2025</b></td>
88
</tr>
99
</table>
1010
</h3>
@@ -40,22 +40,31 @@ With GPT’s image processing abilities, Glific makes it easy to automate tasks
4040

4141

4242
#### Step 2: Add a Webhook Node to Process the Image
43-
- Select the `function` from the dropdown.
44-
- In the function field, enter `parse_via_gpt_vision`, this function name is pre-defined.
43+
- By default, `Function` would be selected. Leave this as it is.
44+
45+
<img width="472" height="393" alt="Screenshot 2025-12-03 at 10 17 55 AM" src="https://github.com/user-attachments/assets/205719e3-7944-4553-ac0b-4880e8e94709" />
46+
47+
- In the `FUNCTION` field, select the pre-defined function `parse_via_gpt_vision`, from the dropdown.
48+
49+
<img width="505" height="419" alt="Screenshot 2025-12-03 at 10 18 49 AM" src="https://github.com/user-attachments/assets/cee6867c-aa07-4e32-9807-3147bdd2819e" />
50+
4551
- Give the webhook result name - you can use any name. In the screenshot example, it’s named `gptvision`.
4652

47-
<img width="493" height="408" alt="Screenshot 2025-09-29 at 1 46 28 AM" src="https://github.com/user-attachments/assets/1162f959-f923-4f5d-9214-3337456e8bda" />
53+
<img width="521" height="433" alt="Screenshot 2025-12-03 at 10 19 10 AM" src="https://github.com/user-attachments/assets/5a24d170-ec31-4ecf-bf87-ac5d782752f0" />
4854

4955
---
5056

5157
<img width="504" height="553" alt="Screenshot 2025-09-29 at 1 46 58 AM" src="https://github.com/user-attachments/assets/b398e16c-5a6b-48ac-8c16-680c30728690" />
5258

5359

5460
#### Step 3: Add Parameters in Function Body
55-
- Click on `Function Body` and pass the parameters as shown in the below screenshot.
61+
- Click on `FUNCTION Body` on the top right corner. You would see the following.
62+
63+
<img width="490" height="345" alt="Screenshot 2025-12-03 at 10 20 35 AM" src="https://github.com/user-attachments/assets/3a4d0248-7f0f-4921-ba91-1b7119b0ddb4" />
5664

57-
<img width="493" height="343" alt="Screenshot 2025-09-29 at 1 51 22 AM" src="https://github.com/user-attachments/assets/cfafbb40-04da-4321-9cf8-d457ff08835e" />
65+
- Pass the parameters as shown in the below screenshot.
5866

67+
<img width="493" height="343" alt="Screenshot 2025-09-29 at 1 51 22 AM" src="https://github.com/user-attachments/assets/cfafbb40-04da-4321-9cf8-d457ff08835e" />
5968

6069
- `Url`: in this field pass the flow variable accepting the image response from the user (In the given example `image` is the result name).
6170
- `prompt`: in this field pass the prompt, or instructions you wish to convey to the AI model towards processing the image input.

0 commit comments

Comments
 (0)