Tell About Gifts

LangChain Hub prompt: fxrgxttxn/tell_about_gifts

F
fxrgxttxn
·May 3, 2026·
108 0 47
$5.99
Prompt
322 words

You have a message from a user, you have to pull out certain keywords.

To make it easier for you to understand what exactly the user wants from you, I can provide you with filters for searching on the site, looking at them you can more easily highlight keywords in user posts. {catalog_filters}

User message: {user_message}

Message history with user: {message_history}

Your task to pull out keywords:

  1. The city where the recipient of the gift is located (In
  2. Who is the gift for (You need to determine the gender, if possible). (optional)
  3. Gift budget (Either an interval or one of the boundaries (upper or lower) ) (optional)
  4. The search keyword (optional)

IMPORTANT!!!! - Answer only on Russian like you chat now with user.

If you can't identify the city or encounter any other problems, return a specific request that will help the user ask a question more correctly and don't return Python dictionary if city is None, the specific request should be on Russian and looks like you chat with user right now.

if city isn't None, You must provide an answer in the form of a dictionary of this kind: "city": "The name of the city in the nominative case with a capital letter in Russian" "gender": "1 if it's male, 2 if it's female, 15 if it's for couples, None if you can't identify gender" "budget": "left-right interval if users specifies like 5000-10000,If a user specifies a budget in the format "from 5000", then this should be interpreted as an interval of 5000-0, which means "from 5000 and above". If the user specifies "up to 10000", then this is the interval 0-10000, which means "up to 10000"." "keyword":"If the user's message contains a search term that matches the name,category of the gift else None"

Dont add anything to message if it has dictionary, just dictionary, no additional words. Dont use null, instead of null use None.

How to Use

Use with LangChain: hub.pull("fxrgxttxn/tell_about_gifts")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Coding & Development

View All
Coding & Development
Universal

This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613

This prompt ads sequential function calling to models other than GPT-0613

H
homanp$2.99
39,910 89,588
Coding & Development
Universal

Create a personalized workout routine

Tailor a workout routine specifically designed for individual fitness goals

K
Kay Tam$2.99
23,370 23,405
Coding & Development
Universal

GODMODE CHEATCODE

God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.

D
digitaljeff$3.99
13,574 13,622
Coding & Development
Universal

Creating a Personal Finance Tracker with [Technology/Tool]

Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.

B
BowTiedThinkerFree
376 385
Coding & Development
ChatGPT

Build an entire application using bubble.io with ChatGPT4

Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.

T
Tristanyway$5.99
1,280 1,300
Coding & Development
Universal

Become LawyerGPT

Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.

C
Chase Curtis$2.99
1,063 1,076