Closed AlexDjSun closed 1 month ago
Let's release it as a beta version for now, keep this pull request open and iron out some details before merging. Some comments:
{month}-{year}.txt
or something similar which would guarantee that the file rotates every month which makes data exports easierQuestion: Is the frontend really limited to sending previous request data as strings? If this is really the case, then we should have it be either a string or json as the json would be used in some other integrations in the future, but it would make a lot more sense not to use strings at all if we can and use types Request
and Response
in their schemas instead of str
.
This functionality has been moved to a separate component and will not be merged
Frontend is sending all data as strings, so POST
/v2/correction
accepts three keys -request
which contains the original translation request data;response
- the original translation text;correction
- the user-corrected translation. A path to the file where all user-corrections are stored should be defined inconfig/confg.yaml
in the parametercorrections_data_storage_path
.Example of saved data: