@cobrowser/chatgpt 0.7.38 → 0.7.39-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,7 @@ class TranslationService extends BaseService_1.default {
|
|
|
36
36
|
return Promise.reject(new Error('Text must be provided'));
|
|
37
37
|
}
|
|
38
38
|
const translateText = `
|
|
39
|
-
Translate the following text
|
|
39
|
+
Translate the following text to ${toLanguage} if it's not already in ${toLanguage}: ${text}.
|
|
40
40
|
`;
|
|
41
41
|
const requestBody = {
|
|
42
42
|
model: this.chatGPTModel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobrowser/chatgpt",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.39-beta.1",
|
|
4
4
|
"description": "chatgpt services to connect our projects with chatgpt api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatgpt",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://bitbucket.org/cobrowser/cb_utils/issues"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d3086da041359550490fc14c143a3fc79ee7603e"
|
|
44
44
|
}
|