feat: 使用 Azure OpenAI 进行翻译 #328
Annotations
11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
build:
OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
|
build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
build:
OCRLibrary/TesseractOCR.cs#L2
The type name 'tesseract' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
build:
OCRLibrary/BaiduFanyiOCR.cs#L47
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/BaiduGeneralOCR.cs#L29
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/TencentOCR.cs#L68
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build:
OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact
|
26.9 MB |
|