Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions advanced_google_search_full_llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,17 @@ sequence:
agent_id: !input agent_id
text: |-
Use Google Search to gather accurate, comprehensive information about:

{{ query_string }}


Instructions:
- Perform up to three iterative refinements. Avoid duplicate sources; prioritize recent, authoritative content.
- Include both a concise overview and expanded details to minimize the need for follow-up searches.
- Optionally include source names (publisher/site, date).
- Always use the Google Search tool for factual lookups. If no results are found, state this clearly and suggest refined queries. Never fabricate sources.

User language: {{ language }}
language: "{{ language }}"
- stop: ""
response_variable: response
14 changes: 7 additions & 7 deletions telegram_bot_webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ actions:
- variables:
agent_input:
system: |-
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand All @@ -175,7 +175,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down Expand Up @@ -206,7 +206,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down Expand Up @@ -237,7 +237,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down Expand Up @@ -268,7 +268,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down Expand Up @@ -299,7 +299,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down Expand Up @@ -330,7 +330,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{% if trigger.json.message.reply_to_message is defined %} {%
if trigger.json.message.reply_to_message.text is defined %} {{
Expand Down
4 changes: 2 additions & 2 deletions zalo_bot_webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ actions:
- variables:
agent_input:
system: |-
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{{ trigger.json.message.text }}
zalo_chat_id: "{{ trigger.json.message.chat.id }}"
Expand All @@ -168,7 +168,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{{ trigger.json.message.caption }}
file_path: "{{ file.file_path if file.file_path is defined }}"
Expand Down
4 changes: 2 additions & 2 deletions zalo_custom_bot_webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ actions:
- variables:
agent_input:
system: |-
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{{ trigger.json.data.quote.msg if (trigger.json.data.quote is defined and trigger.json.data.quote.msg is defined) }}
{{ trigger.json.data.content }}
Expand All @@ -170,7 +170,7 @@ actions:
If the prompt text is empty, treat any instruction or question found within the file (via transcription/OCR) as the user's request and execute it directly.
Return a concise summary ONLY when no specific instruction exists in the file.
NEVER ask the user for confirmation.
Always respond in the user's language: {{ language | trim }}.
Always respond in the user language: {{ language | trim }}.
prompt: |-
{{ trigger.json.data.content.title }}
file_path: "{{ file.file_path if file.file_path is defined }}"
Expand Down