immosquare-translate 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb9bf1291f2d54448b290ba1cc3514c32fba97a989cdaa3b9d7b30950642e3c5
4
- data.tar.gz: d7118588f2c537dae3b9df764a6217a73bedec70d68f2260f393e399d84aac8e
3
+ metadata.gz: 71add0a533248479a8a83a8f97c25beaeb8172c1dc7469e49b63b18baa34bf82
4
+ data.tar.gz: e266dd37a4c21b6d5ee4b9dbe344e24d2dbb3d671a82916412846842957f7051
5
5
  SHA512:
6
- metadata.gz: 4859e9d1d6b6c3a2600aba4fab39b41e1deb0ad19915a96e629fc77afb91ee5ecf56778daa89c3c90af02ff811379a235755abdb1eb59353622fd39b1629bb5a
7
- data.tar.gz: 4e912e82473338dec1f10f868f11bd88a0a3a0ee63471b713c28ccbbad53770d35c826ecd4549c2e868fc55a003abf0b20947a204ab71b501a290e83884bba15
6
+ metadata.gz: 4b16fb9414e574cbee14da6a5e54f3cf6df8d0bf6430e4d9ab6dcd8b185f21d4987074646ddaa78375c86124e1b73bad89807e1daf51f57dfb9369a5f84c2ca3
7
+ data.tar.gz: 9931a5bfca8430befcd24e25b1087decd4099e4958039af615fe080da9e962a5b0ea5fc8dbcc054d64df130391f6442f781adb3677784363c6e0cea41c3c3ff4
@@ -28,7 +28,8 @@ module ImmosquareTranslate
28
28
 
29
29
  prompt_system = "As a sophisticated translation AI, your role is to translate sentences from a specified source language to multiple target languages. " \
30
30
  "It is imperative that you return the translations in a single, pure JSON string format. Use ISO 639-1 language codes for specifying languages. " \
31
- "Ensure that the output does not include markdown or any other formatting characters. Adhere to the JSON structure meticulously."
31
+ "if string is html, you should return the translated html." \
32
+ "Ensure that the output does not include markdown (```json) or any other formatting characters. Adhere to the JSON structure meticulously."
32
33
 
33
34
 
34
35
  prompt = "Translate the following sentences from '#{from_iso}' into the languages #{to_iso.join(", ")}, and format the output as a single, pure JSON string. " \
@@ -1,3 +1,3 @@
1
1
  module ImmosquareTranslate
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
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.0
4
+ version: 0.1.1
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-03-18 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty