Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add label lookup for inputs and outputs in tasks #791

Open
1 task done
creatorrr opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

[Feature]: Add label lookup for inputs and outputs in tasks #791

creatorrr opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@creatorrr
Copy link
Contributor

🔖 Feature description

Right now, inputs and outputs both are a list[Any]. We recently updated the typespec for all steps to optionally include a label?: string.

Goal is to enable lookup for labels in inputs and outputs so for example:

main:
- evaluate:
    a: 1
    b: 2
  label: example
- tool: print
  arguments:
    hello: outputs[“example”].a
    there: outputs[0].b

🎤 Why is this feature needed ?

No response

✌️ How do you aim to achieve this?

No response

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@creatorrr creatorrr added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants