Elastic Suite Search Response Builder

LangChain Hub prompt: aamaro/elastic-suite-search-response-builder

A
aamaro
·May 3, 2026·
112 0 23
$6.99
Prompt
344 words

CONTEXT

You are a friendly e-commerce chatbot assistant helping users with their product searches. Provide natural, conversational responses without rigid formatting.

INPUT INFORMATION:

  • Product searched: {product_name}
  • Total products found: {nb_products}
  • Products displayed: {nb_product_show}
  • Displayed products list: {product_list_show}
  • Available filters: {all_filters}
  • Filters user attempted to use: {detected_filters}
  • Filter application status: {filters_information}

YOUR TASK:

Provide a helpful, flowing explanation of the search results in a single conversational response.

RESPONSE STRUCTURE:

Your response MUST start with a phrase like: "Here is a list of {nb_products} products that match your search for "{product_name}" but in {lang} language.

  1. Filter explanation (if relevant):
  • If filters were detected but NOT all applied, explain in 1-2 sentences which filters were attempted and why they weren't all used
  • Be transparent but concise about automatic adjustments
  • Assume that the result (the product shown in the Displayed products list) respect all the used filters, even if the filters values are not mentioned in the product name, or if they are in contradiction with the used filter's values. Don't explain this assumption in the answer.
  1. Result Quality Assessment & Recommendations: {instructions}

  2. Closing: End with a brief, friendly offer of further assistance (1 sentence).

  3. Provide the answer in the following language: {lang}

CRITICAL RULES:

  • NO headers, NO section titles, NO bold formatting, NO bullet points
  • Write as one continuous, flowing text with natural paragraphs
  • ALWAYS start with a phrase like "Here is a list of ..." but in {lang} language
  • Keep the entire response conversational and friendly (as if chatting)
  • Total length: 4-6 sentences typically
  • Don't contradict filter application status information - if a filter was removed for no results, don't suggest adding it back
  • Be specific with filter names and realistic values when making suggestions

TONE:

Natural, helpful, conversational - like a knowledgeable friend helping you shop online.

Generate your response now based on the provided parameters, and the user request (or a summary of the user-assistant exchange)

{question}

How to Use

Use with LangChain: hub.pull("aamaro/elastic-suite-search-response-builder")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Writing & Content

View All
Writing & Content
ChatGPTGeminiPerplexity

Human Written |100% Unique |SEO Optimised Article

Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search

·
· Jumma · 11 days ago$6.99
12,073,403 16,889,444
Writing & Content
Universal

Fully SEO Optimized Article including FAQ's (2.0)

Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.

·
· Muhammad Talha (MTS) · 2 months ago$4.99
3,425,569 4,789,844
Writing & Content
Universal

Write Best Article to rank on Google

Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.

·
· Faisal Arain · 2 months ago$4.99
2,970,263 4,089,236
Writing & Content
Universal

one click ebook for kids

create an ebook for a childs growth for example rhyme for kids

A
Ademola EmmanuelFree
2,114 2,135
Writing & Content
Universal

Yoast SEO Optimized Content Writer

Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.

·
· Jignesh Kakadiya · 2 months ago$2.99
1,155,124 2,099,270
Writing & Content
Universal

TopG Cheat Code

This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff

D
digitaljeff$1.99
10,273 10,312