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

Additional documentation for Feedback #129

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Additional documentation for Feedback #129

merged 3 commits into from
Apr 11, 2024

Conversation

delip
Copy link
Contributor

@delip delip commented Apr 1, 2024

This one is focused on improving the developer experience. Compiled from my notes, but edit/reformat as needed.

@arjunbansal arjunbansal requested a review from nqn April 5, 2024 04:15
@nqn nqn self-assigned this Apr 8, 2024
- `type`: Usually set to "object" to indicate that the feedback data should be a JSON object.
- `properties`: An object that defines the individual fields of the feedback, including their types (e.g., integer, string), possible values, and descriptions.
- `required`: An array listing the names of required properties.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For a full list of supported JSON schema properties, see [JSON Schema](https://json-schema.org/understanding-json-schema/reference/).


- `task_id`: The ID of the feedback task this feedback is for.
- `values`: A dictionary where keys correspond to the properties defined in the feedback task's schema, and values are the feedback given for those properties.
- `completion_tags_selector`: A list of tags associated with the feedback.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `completion_tags_selector`: A list of tags associated with the feedback.
- `completion_tags_selector`: A list of tags which is used to map this feedback item to a set of logs. See [matching-semantics](https://docs.log10.io/feedback/log_matching#matching-semantics) for more details

Copy link
Contributor

@nqn nqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modulo suggestions - just the "selector" part of tag selectors.

@nqn nqn merged commit f1245b1 into log10-io:main Apr 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants