#API link, leave blank to use OpenAI API api="" #API key key="" #Oranization key, make something up for self hosted or other API organization="" #LLM model name, use gpt-3.5-turbo-1106 or gpt-3.5-turbo or gpt-4-1106-preview for OpenAI API #For text generation webui use gpt-3.5-turbo, for other API's consult their documentation model="gpt-4.1" #The language to translate TO, Don't forget to change the prompt language="English" #The timeout before disconnect error, 30 to 120 recommended timeout="120" #The number of files to translate at the same time, 1 recommended for free or self hosted API or gpt-4 fileThreads="1" #The number of threads per file, 1 recommended for free or self hosted API or gpt-4 threads="1" #The wordwrap of dialogue text width="60" #The wordwap of items and help text listWidth="100" #The wordwap of items and help text noteWidth="75" # Custom input API cost - default value for gpt-3.5, replace with your actual input API cost - depends on the model, see https://openai.com/pricing input_cost= 0.002 # Custom output API cost - default value for gpt-3.5, replace with your actual input API cost - depends on the model, see https://openai.com/pricing output_cost= 0.002 # Batch size - adjust according to your API's limitations batchsize="10" # Frequency penalty - adjust according to your needs frequency_penalty= 0.2