You can use HARPA AI as a page crawlers using one of the two approaches:
In this guide, we will discuss the first approach. You can find the description of the NAVIGATE step in the AI Commands section.
Test and choose the approach that best suits your specific task.
The {{page}} parameter supports query, url and limit arguments. For example, {{page Connect HARPA to OpenRouter https://harpa.ai limit=10%}} will search for relevant information on Connect HARPA to OpenRouter query withing https://harpa.ai website, limiting output to 10% of the LLM token context window.
Remember that the token limit includes both input and output. Therefore, try not to exceed a reasonable number of tokens in your input, for instance, 40%, to leave space for a prompt and a high-quality AI response.
{{page query url limit=x%}} parameter options are:
You can create your own Customer Service Agent that searches for information on a specific website and responds to user queries.
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=10%}}
- {{links.2.title}} {{links.2.url}} {{links.2.description}}
{{page {{query}} {{links.2.url}} limit=10%}}
[Your detailed response to the user's query]:
As a result, ChatGPT will receive information from the top 3 suitable pages: URL, Title, and description from the SERP, plus relevant data fetched directly from the website.
By the way, such a command already exists in HARPA AI, and you can use it if you have any questions. Just type /help and select a command from the list.
All rights reserved © HARPA AI TECHNOLOGIES LLC, 2021 — 2024
Designed and engineered in Finland 🇫🇮