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
All supported engines implement the `MTEngine` interface. Methods `fixMatch()` and `fixTags()` are only implemented by AI-based engines (`AlibabaTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator`), all other engines throw an error when they are called.
25
+
All supported engines implement the `MTEngine` interface. Methods `fixMatch()` and `fixTags()` are only implemented by AI-based engines (`QwenTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator`), all other engines throw an error when they are called.
26
26
27
27
## Supported Engines
28
28
@@ -65,7 +65,7 @@ class TestGoogle {
65
65
newTestGoogle();
66
66
```
67
67
68
-
`AlibabaTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator` need that you either indicate the model to use when creating the instance, or set the model to use by calling the `setModel()` method like in the following example:
68
+
`QwenTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator` need that you either indicate the model to use when creating the instance, or set the model to use by calling the `setModel()` method like in the following example:
69
69
70
70
```typescript
71
71
import { ChatGPTTranslator } from"mtengines";
@@ -87,7 +87,7 @@ class TestChatGPT {
87
87
newTestChatGPT();
88
88
```
89
89
90
-
You can get a list of models supported by `AlibabaTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator` by calling the `getAvailableModels()` method:
90
+
You can get a list of models supported by `QwenTranslator`, `ChatGPTTranslator`, `AnthropicTranslator` and `MistralTranslator` by calling the `getAvailableModels()` method:
91
91
92
92
```typescript
93
93
import { AnthropicTranslator } from"mtengines";
@@ -124,4 +124,4 @@ Claude available models:
124
124
]
125
125
```
126
126
127
-
*Note*: Only `AlibabaTranslator` has a set of preconfigured models that depend on the selected working `region`, for all other engines the list of available models is retrieved at runtime.
127
+
*Note*: Only `QwenTranslator` has a set of preconfigured models that depend on the selected working `region`, for all other engines the list of available models is retrieved at runtime.
0 commit comments