Skip to content

Commit 5da65b7

Browse files
Ambika Joshigitbook-bot
authored andcommitted
GITBOOK-233: No subject
1 parent 93252cf commit 5da65b7

File tree

6 files changed

+25
-44
lines changed

6 files changed

+25
-44
lines changed
349 KB
Loading

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
---
22
description: Where Shared AI Workflows Create Measurable Value
3-
layout:
4-
title:
5-
visible: true
6-
description:
7-
visible: true
8-
tableOfContents:
9-
visible: true
10-
outline:
11-
visible: false
12-
pagination:
13-
visible: true
143
---
154

165
# 🗃️ Gooey.AI Docs

guides/copilot/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,6 @@
22
description: Build your no-code AI copilot in minutes!
33
cover: ../../.gitbook/assets/Screenshot 2023-11-14 230925.png
44
coverY: 119.28688524590164
5-
layout:
6-
cover:
7-
visible: true
8-
size: full
9-
title:
10-
visible: true
11-
description:
12-
visible: true
13-
tableOfContents:
14-
visible: true
15-
outline:
16-
visible: false
17-
pagination:
18-
visible: true
195
---
206

217
# 🤖 How to build an AI Copilot?

guides/copilot/frequently-asked-questions-about-ai-copilot.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ A: You can add a simple prompt instruction: “Don't include markdown” or if y
2323
A: For example, if you want to make sure that Twilio does not use markdown but you want formatting for your Whatsapp or Web bots. You can add “if statement” to the prompt through our Jinja templating language like this:
2424

2525
```django
26-
{% raw %}
2726
{% if platform == "TWILIO" %}
2827
Remember, you are a voice agent, so do not use markdown, HTML, latex or any other markup language, instead, output plain text without any formatting characters like asterisk, hyphen, bracket, hash, underscore etc. Keep your responses concise and clear under 100 words.
2928
{% endif %}
30-
{% endraw %}
3129
```
3230

3331
> NOTE: This can be added in your basic prompt instructions there are no “special” settings for this.
@@ -39,7 +37,6 @@ A: By incorporating _Jinja_ templating in the Prompt, you can adjust the prompt
3937
```django
4038
You are an AI Bot that runs the front-desk of a Dentist's clinic.
4139
42-
{% raw %}
4340
{% if platform == [ "WHATSAPP", "SLACK" ] %}
4441
Remember, you are a {{ platform }} agent, so do not use HTML, latex or any other markup language, instead use only the following formatting styles:
4542
italic: single underscore
@@ -50,7 +47,6 @@ You are an AI Bot that runs the front-desk of a Dentist's clinic.
5047
quoted text: place an angle bracket and space before the text
5148
headings: just use bold style with 1 asterix.
5249
{% endif %}
53-
{% endraw %}
5450
```
5551

5652
Here the Jinja templating language uses an `if statement` to provide the prompt with a condition to output the text in a particular way based on the platform the bot is integrated into.

guides/how-to-deploy-an-ai-copilot/add-buttons-to-your-copilot.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# How to add buttons to your Copilot
1+
# Add buttons to your Copilot
22

33
To improve retention for your Copilot, we recommend you include buttons. These will encourage users to engage with the Copilot and can influence retention and higher likelihood of improving the Theory of Change process.
44

@@ -28,14 +28,35 @@ For a constant message like when you want users to Agree to TOS, you can add the
2828

2929
{% code overflow="wrap" %}
3030
```
31-
Please tap 'I agree' to let us know you understand what data we collect and to ask any farming related question.
32-
<button gui-target="input_prompt">I agree</button>
31+
{# Conversation Flow #}
32+
CONVERSATION FLOW
33+
Follow these steps:
34+
1. Introduce yourself with this script as a guideline - always include the second section about consent if they have not consented yet (including rendering the HTML elements):
35+
1. If they send over a greeting (or just stated their language), introduce yourself (translating if needed):
36+
Hello, I am Afiya, an AI chatbot created by the International Organization for Migration (IOM) to help you navigate health services in Tunisia. IOM also offers support with voluntary return, reintegration, and direct assistance for vulnerable migrants.
37+
38+
Before we start: Because I save your WhatsApp number, questions, and answers to help give better advice, I need your permission to continue. You can read about our terms & conditions here in English https://gooey.ai/iom_tos_en or Français https://gooey.ai/iom_tos_fr
39+
40+
Please respond with '✅ I Agree' to give permission and start using Afiya.
41+
<button gui-action="disable_feedback" gui-target="input_prompt">✅ I Agree</button>
42+
43+
2. Until the user agrees (e.g. they respond with a phrase such as "✅ I Agree", "agree", "I agree", "Agree", " I Agree", "✅ Ndivomereza" or "Ndivomereza"), remind them of the need to agree to data collection before using the service.
44+
3. Once they consent, remind them not so share personal information like their ID or banking information. Then answer their original query. Provide default starter questions as HTML buttons (translating if needed):
45+
Please note: I cannot provide help in medical emergencies.
46+
<button gui-target="input_prompt" gui-action="disable_feedback">📍 Health Clinics</button>
47+
<button gui-target="input_prompt" gui-action="disable_feedback">💉 Get Vaccines</button>
48+
<button gui-target="input_prompt" gui-action="disable_feedback">🤰 Pregnancy Advice</button>
49+
Send me a text or 🎙️ voice note of any health question or type / for help.
50+
51+
4. Otherwise if they asked a health-related question, attempt to answer it using the search results.
3352
```
3453
{% endcode %}
3554

3655
The key part to remember is to add the `<button>` tag in the prompt, so any text within the `<button>` tag will render as buttons in the WhatsApp Copilot.
3756

38-
![Screenshot of the Copilot Builder with the constant button](<../../.gitbook/assets/2 (9).png>)
57+
{% embed url="https://gooey.ai/copilot/iom-tunisia-health-chatbot-field-test-4lgrqximds46/" %}
58+
59+
![Screenshot of the Copilot Builder with the constant button](<../../.gitbook/assets/Screenshot 2025-07-24 at 10.34.30 AM.png>)
3960

4061
#### Example 2: Create contextual questions for follow-on conversations <a href="#id-68bzc6duztt6" id="id-68bzc6duztt6"></a>
4162

guides/how-to-deploy-an-ai-copilot/deploy-to-facebook.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
---
22
description: One-click integration for your AI Copilot
3-
layout:
4-
title:
5-
visible: true
6-
description:
7-
visible: true
8-
tableOfContents:
9-
visible: true
10-
outline:
11-
visible: true
12-
pagination:
13-
visible: true
143
---
154

165
# Deploy to Facebook

0 commit comments

Comments
 (0)