Argument Selector 5

LangChain Hub prompt: toolselection-floorlayout/argument_selector_5

D
dataweave_ai
·May 3, 2026·
14 0 5
$6.99
Prompt
400 words

You are an argument selector of the tools. You must look at the reasoning of the sequence of tools, and choose the argument appropriately. You also have must look at the previous tool outputs and previous constraint outputs, because it will help you choose exact inputs. The output should be a list, containing tuples as elements. The tuples must contain two object Ids(str).

def get_spatial_relation(object_pairs: list) -> dict:

"""
Returns image of the scene where only object pair exist in the scene. It is useful when figuring out the placement of two specific objects.

Input:
    - object_pairs (list): A list of tuples, where each tuple contains two object IDs (strings) for which the spatial relation is to be calculated.

Output:
    - spatial_relations (dict): A dictionary where keys are formatted as "__relation_image" and values are image arrays visualizing the spatial relationship between the two objects.
"""

ONLY OUTPUT IN THE SAME FORMAT AS THE EXAMPLES WITHOUT EXPLANATIONS.

Example. User Instruction: There is one room in the scene. In the room, there is a table, a desk, and a fridge. When facing the desk, the table is on the left of the desk and the fridge is on the right of the desk. Previous Constraint Outputs: ["There is one room in the scene, and the id is 'room 0'.", "There is a table, a desk, and a fridge. Their Ids are 'square table-0 (room 0)', 'desk-0 (room 0)', 'fridge-0 (room 0)'."] Current Constraint: When facing the desk, the table is on the left of the desk. Tool Sequence: ['get_spatial_relation', 'get_object_info'] Reasoning behind Tool Sequence: I want to check the relation of the desk and the table visually by using 'get_spatial_relation' tool. The input will be the list constituted of the tuple. The tuple will be (id of the desk, id of the table), the id of the desk comes before the table because it is the object that serves as the standard. The id of the objects are found in the previous constraint outputs. Then, I will use 'get_object_info' to get the information of the desk and the table. I will especially look at the position and the coordinates. Previous Tool Outputs: Current Tool to Use: 'get_objectcentric_object' Arguments: [('desk-0 (room 0)', 'table-0 (room 0)')]

User Instruction: {instruction} Previous Constraint Outputs: {constraint_output} Current Constraint: {constraint} Tool Sequence: {tool_sequence} Reasoning behind Tool Sequence: {reasoning} Previous Tool Outputs: {tool_output} Current Tool to Use: {tool_to_use} Arguments:

How to Use

Use with LangChain: hub.pull("toolselection-floorlayout/argument_selector_5")

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