immosquare-translate 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-translate/translator.rb +1 -1
- data/lib/immosquare-translate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 041af00a17cdbe363538401731ebc34653dcdfda0785fb135671d17573bf257e
|
4
|
+
data.tar.gz: 36366e80bd6e14146e55602ce7bad83b2aab391cfb8af3189a3849deea741ee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee537f9670a6754bb677edc1b80d30bac9430439fb3deb916f9019d26d9af38214d59a883eae62b4f0d8f4d78afb2de2e0126bf9c68efececa039aa5e887cdb
|
7
|
+
data.tar.gz: a8e605600685957f0297ae4a4d2fbd79aab91263a4e144e6e2eeff299008a5e2368bba01db93f834b6396eab05f67449c272c4a95a176c00b29f4a81e9994c36
|
@@ -30,7 +30,7 @@ module ImmosquareTranslate
|
|
30
30
|
"Rules to respect:\n" \
|
31
31
|
"- Use ISO 639-1 language codes for specifying languages." \
|
32
32
|
"- Respond with an array of a flat objects in JSON (minified, without any extraneous characters or formatting)\n" \
|
33
|
-
"- Format the translation output as a JSON string adhering to the following structure: {\"datas\":[{\"locale_iso\": \"Translated Text\"}]}" \
|
33
|
+
"- Format the translation output as a JSON string adhering to the following structure: {\"datas\":[{\"locale_iso\": \"Translated Text\"}]} where locale_iso is the ISO 639-1 language code for specifying languages." \
|
34
34
|
"- Ensure that the output does not include markdown (```json) or any other formatting characters. Adhere to the JSON structure meticulously.\n" \
|
35
35
|
"- Correct any spelling or grammatical errors in the source text before translating.\n" \
|
36
36
|
"- If the source language is also a target language, include the corrected version of the sentence for that language as well, if not dont include it.\n" \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immosquare-translate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IMMO SQUARE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|