- message: >-
**Tip:** This command acts as a support agent, answering questions scanning
website content, [full guide
here](https://harpa.ai/guides/page-parameter-page-crawler#tl;dr:-page-fetching).
Use this command as a template for your commands.
type: say
- message: 'Type your question or query about a product, service or website:'
type: ask
param: query
options: null
default: ''
- param: website
message: 'Product webpage to scan for answer, pleass Enter for {{domain}}:'
type: ask
options:
- label: ๐ THIS WEBSITE
value: '{{domain}}'
- $custom
default: ''
optionsInvalid: false
- value: '{{serp {{query}} site:{{website}}}}'
type: calc
func: set
param: data
format: ''
- type: calc
func: serp.extract-links
from: data
to: links
- prompt: >-
Please ignore all previous instructions.
The output should be in {{language}}.
As a Customer Service Agent and the keeper of the database for the website
"{{website}}",
I want you to create a detailed response to my query, adhering to a
specific format I provide:
- Use only the [INFORMATION] that I provide to you.
- Do not use any other tools or sources.
- Please integrate insights from the additional information into your
response and ensure the inclusion of links in a markdown format: [[1]](URL).
- Please avoid general phrases and unrelated words in your response to my
question.
- Do not fabricate facts or information.
FOLLOW THE FORMAT:
## Customer Service Agent Response to "{{query}}"
... detailed response text with links, e.g., [[1]](URL).
[USER QUESTION]: {{query}}
[INFORMATION]:
- {{links.0.title}} {{links.0.url}} {{links.0.description}}
{{page {{query}} {{links.0.url}} limit=20%}}
- {{links.1.title}} {{links.1.url}} {{links.1.description}}
{{page {{query}} {{links.1.url}} limit=20%}}
- {{links.2.title}} {{links.2.url}} {{links.2.description}}
{{page {{query}} {{links.2.url}} limit=20%}}
[Your detailed response to the user's query]:
type: gpt
param: gpt
dumb: false
All rights reserved ยฉ HARPA AI TECHNOLOGIES LLC, 2021 โ 2024
Designed and engineered in Finland ๐ซ๐ฎ