aws / mynah-ui

https://aws.github.io/mynah-ui/
Apache License 2.0
13 stars 11 forks source link

(feat): Add context selector to prompt input #62

Closed dogusata closed 2 months ago

dogusata commented 2 months ago

Problem

Exactly like the quick action commands selector, a context selector should be implemented into the prompt input field. But unlike the quick action commands, it can be picked multiple times and should be written inside the prompt text. It should also send the selected context items in an additional attribute in the prompt object. The available context items should be provided through the data model like the QuickAction commands but in a new attribute field.

We want to allow users to specify a target for the context like workspace or in the future file or folder.

Solution

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.