feat: translate subtitles with an OpenAI-compatible LLM
This commit is contained in:
1 parent
48cac86d60
commit
4665bf632a
21 files changed
+1877
-5
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
|
||||
<kcfgfile name="qtpotatorc"/>
|
||||
<group name="Translation">
|
||||
<entry name="ApiBaseUrl" type="String">
|
||||
<label>Base URL of the OpenAI-compatible API, including the version path (for example …/v1)</label>
|
||||
<default></default>
|
||||
</entry>
|
||||
<entry name="Model" type="String">
|
||||
<label>Model name sent to the chat completions endpoint</label>
|
||||
<default></default>
|
||||
</entry>
|
||||
<entry name="TargetLanguage" type="String">
|
||||
<label>Language to translate subtitles into, written for the model</label>
|
||||
<default>Vietnamese</default>
|
||||
</entry>
|
||||
<entry name="BatchSize" type="Int">
|
||||
<label>Subtitle lines sent per request</label>
|
||||
<default>40</default>
|
||||
<min>5</min>
|
||||
<max>200</max>
|
||||
</entry>
|
||||
</group>
|
||||
</kcfg>
|
||||
Reference in new issue
Block a user