argilla icon indicating copy to clipboard operation
argilla copied to clipboard

[FEATURE] Same approch to send questions for Records creation and/or suggestion/responses creation

Open damianpumar opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. I see some inconsistencies between the schema of responses and suggestions both for the creation of records and for the individual creation of each entity. For responses we send the question name but for suggestions we send the suggestion name.

  "responses": [
    {
      "user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "values": {
        **"additionalProp1"**: {
          "value": "string"
        },
        "additionalProp2": {
          "value": "string"
        },
        "additionalProp3": {
          "value": "string"
        }
      },
      "status": "submitted"
    },
  ],
  "suggestions": [
    {
      **"question_id"**: "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "type": "model",
      "value": "string",
      "agent": "PWGQZCpuQChsrHfMbVj9ncTHTNm7LqNkUR/PZ/Gzi:gflITJE8ZugVNPfm U1yNdy",
      "score": 1
    }
  ],

Describe the solution you'd like I would like to have the same approach for both entities, I think send the question name it would be easier for Argilla-TS. But in short we need to take the same approach for both of them.

damianpumar avatar Jan 10 '24 16:01 damianpumar

🤖

It's great to see your attention to detail in identifying inconsistencies within the schema for responses and suggestions. Your proposed solution to have a consistent approach for both entities makes a lot of sense. Encouraging standardization can definitely improve the overall user experience and streamline the process for developers working with Argilla. Your contribution in aligning these entities will be valuable for the platform. Thank you for considering this improvement!


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

dosubot[bot] avatar Jan 10 '24 16:01 dosubot[bot]

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Apr 10 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar May 10 '24 01:05 github-actions[bot]