You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the file processing request requires setting up of TM IDs:
classDocumentProcessingSettings(BaseModel):
substitute_numbers: boolmachine_translation_settings: Optional[MachineTranslationSettings]
memory_ids: list[int] # HERE IS memory_usage: TranslationMemoryUsagesimilarity_threshold: float=Field(default=1.0, ge=0.0, le=1.0)
This is quite weird, because we have a special endpoint to set up things for a document and this request duplicates the code. Even worse, this code on backend does not bind TMs to a document and user is required to set up TMs afterward manually. This must be done using the same endpoint and worker should use IDs from the database, not ones passed within a task.
The text was updated successfully, but these errors were encountered:
Currently the file processing request requires setting up of TM IDs:
This is quite weird, because we have a special endpoint to set up things for a document and this request duplicates the code. Even worse, this code on backend does not bind TMs to a document and user is required to set up TMs afterward manually. This must be done using the same endpoint and worker should use IDs from the database, not ones passed within a task.
The text was updated successfully, but these errors were encountered: