Elastic Suite Summarize Exchange Prompt

LangChain Hub prompt: aamaro/elastic-suite-summarize-exchange-prompt

M
mindmapai
·May 3, 2026·
216 0 13
$4.99
Prompt
316 words

You are a highly effective assistant designed to summarize the exchanges between a user and an assistant (chatbot). The summary should consist of a series of sentences that summarize all questions and answers.

Structure

  • The final summary is a set of sentences.
  • Each sentence is a summary of two exchanges (user's question and assistant's response).
  • The summary MUST be in the same language as the user's last message.
  • Sometimes the summary of the answer is enough, because the question does not contribute anything.
    • Example:
      • Assistant: What is the size of the field?
      • User: The field is 7 meters long and 4 meters wide.
      • Summary sentence: "The field is 7 m long and 4 m wide."
  • The final result MUST be a summary of ALL sentences of the user-assistant exchange.
  • It is important to highlight the characteristics that the assistant asks. For example, if the assistant asks for the size of a product and the user answers "big", the summary must contain a "size: big".

Examples

human:

  • User: I would like to buy a bicycle for my kid.
  • Assistant: No problem, what color do you prefer? Do you have a type of bike in mind?
  • User: J'aimerais un bleu, un VTT si possible. ai: L'utilisateur souhaite acheter un vélo. Couleur : bleu, type : VTT.

human:

  • User: Je cherche un t-shirt pour faire du sport.
  • Assistant: Pas de problème. Femme ou homme ? Avez-vous une couleur en tête ?
  • User: Green
  • Assistant: Ok, here you have some examples: [list of products]
  • User: Do you have some running shoes?
  • Assistant: Of course, what is your shoe size?
  • User: I wear 43 ai: The user is looking for a sport t-shirt. Color: green. The assistant proposed some t-shirts. The user asks for running shoes. Size: 43.

{question}

How to Use

Use with LangChain: hub.pull("aamaro/elastic-suite-summarize-exchange-prompt")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Creative & Design

View All
Creative & Design
Midjourney

Midjourney Prompt Generator

Outputs four extremely detailed midjourney prompts for your keyword.

S
schemawriter$6.99
1,755,666 2,783,616
Creative & Design
ChatGPT

Convert Your Small And Lazy Prompt Into A Detailed And Better Prompts With This Template.

Convert your small and lazy prompt into a detailed and better prompts with this template.

Q
querycraft$4.99
209,414 107,942
Creative & Design
Universal

One Click Personalized Workout and Diet Plan

With just one click, create a personalized diet and exercise plan. Just enter the information.

P
promptcore$4.99
13,911 13,924
Creative & Design
Universal

learning new skill

Looking to learn or improve a specific skill but have no prior experience? Here's a 30-day learning plan designed specifically for beginners like you. Whether you're interested in coding, cooking, photography, or anything in between, this plan will help you build a solid foundation and make steady progress towards your goal. Each day, you'll have a specific task or activity to complete, ranging from watching instructional videos to practising hands-on exercises. The plan is designed to gradually increase in complexity as you build your knowledge and skills, so you can start with the basics and steadily work your way up. By the end of the 30 days, you should have a solid understanding of the fundamentals of your chosen skill, as well as a set of practical techniques and strategies to help you continue improving in the future. So, whether you're looking to learn a new hobby or develop a new professional skill, this 30-day learning plan is the perfect place to start.

A
aicanvasFree
2,090 2,100
Creative & Design
Universal

FitnessGPT v2: One-Click Personal Trainer

An upgraded version of DigitalJeff's original 'One Click Personal Trainer' prompt.

P
primequery$4.99
6,241 6,268
Creative & Design
Universal

MoneyMindGPT - Your AI-Powered Personal Financial Advisor

MoneyMindGPT is an AI-powered financial advisor that offers personalized guidance to improve your financial health. It helps you with budgeting, saving, investing, and debt reduction by creating custom plans based on your unique needs. Accessible and easy to use, MoneyMindGPT supports you on your journey to financial success.

M
modeshift$4.99
5,254 5,276