triangle-utils 1.4.47 → 1.4.49

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.
@@ -20,22 +20,20 @@ export class UtilsBedrock {
20
20
  text: prompt
21
21
  },
22
22
  ...(attachment_pdf !== undefined ? [{
23
- document: {
24
- type: "document",
25
- source: {
26
- type: "base64",
27
- media_type: "application/pdf",
28
- data: attachment_pdf
29
- },
30
- title: "Attachment",
31
- citations: { "enabled": false },
32
- cache_control: { "type": "ephemeral" }
33
- }
23
+ type: "document",
24
+ source: {
25
+ type: "base64",
26
+ media_type: "application/pdf",
27
+ data: attachment_pdf
28
+ },
29
+ title: "Attachment",
30
+ citations: { "enabled": false },
31
+ cache_control: { "type": "ephemeral" }
34
32
  }] : [])
35
33
  ]
36
34
  }],
37
35
  max_tokens: 200,
38
- temperature: 0.5,
36
+ temperature: 0,
39
37
  anthropic_version: "bedrock-2023-05-31"
40
38
  })
41
39
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-utils",
3
- "version": "1.4.47",
3
+ "version": "1.4.49",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -24,22 +24,20 @@ export class UtilsBedrock {
24
24
  text : prompt
25
25
  },
26
26
  ...(attachment_pdf !== undefined ? [{
27
- document : {
28
- type: "document",
29
- source: {
30
- type: "base64",
31
- media_type: "application/pdf",
32
- data: attachment_pdf
33
- },
34
- title: "Attachment",
35
- citations: { "enabled": false },
36
- cache_control: {"type": "ephemeral"}
37
- }
27
+ type: "document",
28
+ source: {
29
+ type: "base64",
30
+ media_type: "application/pdf",
31
+ data: attachment_pdf
32
+ },
33
+ title: "Attachment",
34
+ citations: { "enabled": false },
35
+ cache_control: {"type": "ephemeral"}
38
36
  }] : [])
39
37
  ]
40
38
  }],
41
39
  max_tokens: 200,
42
- temperature: 0.5,
40
+ temperature: 0,
43
41
  anthropic_version: "bedrock-2023-05-31"
44
42
  })
45
43
  })