Project

General

Profile

Actions

Bug #89

closed

[PRO-BE-pdf]Trang đầu ko biết lấy từ đầu ra. File 48_Paper

Added by Nguyen Trong 11 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/15/2023
Due date:
% Done:

0%

Estimated time:

Description

File output trang đầu không biết lấy từ đâu ra ( không giống file input) -> a check lại giúp em với ạ cảm giác như file output không phải là file sau khi dịch của file input
file output: Từ trang 2 trở đi, file output dịch bị mất nhiều từ, trang cuối bị vỡ front


Files

Actions #1

Updated by Nguyen Trong 11 months ago

  • File deleted (48_Paper-Cyber-Journal_04_17112013-1.docx)
Actions #2

Updated by Nguyen Trong 11 months ago

  • File deleted (48_Paper-Cyber-Journal_04_17112013-1.pdf)
Actions #3

Updated by Nguyen Trong 11 months ago

  • File deleted (48_Paper-Cyber-Journal_04_17112013-1_vietnamese_translated.docx)
Actions #5

Updated by nguyen hien 11 months ago

Updated by Ngân Đào 11 months ago

file input: tiếng việt -> output: tiếng việt
24/10: môi trường dev:
trang đầu dịch đúng
từ trang số 2 trở đi, có 1 số phần bị vỡ form, trang cuối vỡ form nhiều nhất

Nếu dịch sang tiếng anh hoặc tiếng nhật thì có 1 số phần không được dịch ạ

Actions #7

Updated by nguyen hien 11 months ago

file input: tiếng việt -> output: tiếng việt
có 1 số phần bị vỡ form, trang cuối vỡ form nhiều nhất

Do dịch lỗi quá 10 lần

{
"timestamp": 1698130684518,
"message": "INFO:app.translate_gpt_back_common.services.translator:input_text : MGC Resende và cộng sự (2002), \"Một thuật toán memetic cho bài toán thiết lập trọng số trong định tuyến OSPF\" Hội nghị Viễn thông INFORMS lần thứ 6.",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "INFO:app.translate_gpt_back_common.services.translator:Using open ai key: ",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "INFO:app.translate_gpt_back_common.services.translator:retry_count 1",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "INFO:app.translate_gpt_back_common.services.translator:[{'role': 'system', 'content': 'We will be using variables represented with double square brackets.'}, {'role': 'user', 'content': 'original_text:`MGC Resende và cộng sự (2002), \"Một thuật toán memetic cho bài toán thiết lập trọng số trong định tuyến OSPF\" Hội nghị Viễn thông INFORMS lần thứ 6.`. Translate to vietnamese\\n. Grammatically correct, never break words. Remove quotation marks at the beginning and end of the result, return only translated text, do not include original_text, preserve line break.\\nvietnamese text:'}]",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "INFO:app.translate_gpt_back_common.services.translator:gpt-3.5-turbo",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "ERROR:app.translate_gpt_back_common.services.translator:AuthenticationError",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "ERROR:app.translate_gpt_back_common.services.translator:No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.",
"ingestionTime": 1698130685750
}, {
"timestamp": 1698130684519,
"message": "ERROR:app.translate_gpt_back_common.services.translator:None",
"ingestionTime": 1698130685750
},

Actions #8

Updated by Nguyen Trong 11 months ago

  • Target version set to v0.0.3
Actions #9

Updated by Nguyen Trong 11 months ago

  • Assignee changed from nguyen hien to Nguyen Trong
Actions #10

Updated by Nguyen Trong 6 months ago

  • Status changed from Tested-DEV to Closed
Actions

Also available in: Atom PDF