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

Ability to get Project Output's traits/features #3

Open
sergyperov opened this issue Apr 18, 2023 · 2 comments
Open

Ability to get Project Output's traits/features #3

sergyperov opened this issue Apr 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@sergyperov
Copy link
Contributor

Given our latest discussion about custom titles for editions, I assume it would be great to send additional metadata such as output's features, e.g.:

"generativePlatformStandard": {
    "id": "1337",
    "type": "READY",
    "payload": {
        "traits": [
            {
                "name": "title",
                "value": "Random output with RED SKY #33"
            }
            {
                "name": "sunColor",
                "value": "red"
            }
        ]
    }
}

I assume there shouldn't be an API methid to fetch all possible traits, because there is a chance Project is not aware of all outputs. Therefore list of all various is usually cradfted by Platform based on all generated Project's outputs.

@sergyperov sergyperov added the enhancement New feature or request label Apr 18, 2023
@AugustDev
Copy link
Member

Hi Sergy, not sure what is the point of adding traits here? They are often known only after code finished execution.

@sergyperov
Copy link
Contributor Author

Hey @AugustDev! Yeah, my point was to send this data with genps:b:capture-preview signal (basically when code is finished)

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