@gsa-tts/graymatter-ui 1.1.1 → 1.1.3
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.
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gsa-tts/graymatter-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"exports": {
|
|
9
|
-
".":
|
|
9
|
+
".": {
|
|
10
|
+
"svelte": "./index.ts",
|
|
11
|
+
"default": "./index.ts"
|
|
12
|
+
},
|
|
10
13
|
"./graymatter-ui.js": "./dist/graymatter-ui.js",
|
|
11
14
|
"./graymatter-ui.umd.cjs": "./dist/graymatter-ui.umd.cjs",
|
|
12
15
|
"./stores/navigationStore": "./src/stores/navigationStore.ts",
|
|
@@ -15,7 +18,10 @@
|
|
|
15
18
|
"./astro-config": "./src/astro-config/index.ts",
|
|
16
19
|
"./component-options": "./src/component-options/index.ts",
|
|
17
20
|
"./component-options/*": "./src/component-options/*",
|
|
18
|
-
"./components":
|
|
21
|
+
"./components": {
|
|
22
|
+
"svelte": "./src/components/index.ts",
|
|
23
|
+
"default": "./src/components/index.ts"
|
|
24
|
+
},
|
|
19
25
|
"./components/*": "./src/components/*",
|
|
20
26
|
"./constants": "./src/constants/index.ts",
|
|
21
27
|
"./data": "./src/data/index.ts",
|
|
@@ -55,7 +55,7 @@ To reach chat completions the documented endpoint is `<base url>/api/v1/chat/com
|
|
|
55
55
|
|
|
56
56
|
**Request Body**
|
|
57
57
|
|
|
58
|
-
* **model**: The model ID (e.g: gemini-2.0-flash,
|
|
58
|
+
* **model**: The model ID (e.g: gemini-2.0-flash, claude_4_5_haiku)
|
|
59
59
|
* **messages**: An array of of message items consisting of User message, Image Content, Document Content, Assistant Message
|
|
60
60
|
* **max_tokens**: Maximum response length (optional)
|
|
61
61
|
* **temperature**: Response creativity (0.0-1.0, optional)
|
|
@@ -19,7 +19,6 @@ USAi API is organized around [REST](http://en.wikipedia.org/wiki/Representationa
|
|
|
19
19
|
- Gemini 2.5 Pro
|
|
20
20
|
|
|
21
21
|
**[Anthropic models](https://docs.claude.com/en/docs/overview)**
|
|
22
|
-
- Claude Haiku 3.5
|
|
23
22
|
- Claude Haiku 4.5
|
|
24
23
|
- Claude Sonnet 4.5
|
|
25
24
|
- Claude Sonnet 4.6
|
|
@@ -48,7 +47,7 @@ Each model we draw on has unique capabilities. Models may also respond different
|
|
|
48
47
|
|
|
49
48
|
#### Content types
|
|
50
49
|
|
|
51
|
-
The models USAi API draws on support multiple types of inputs; text, image, and file content types. However, each model has different input capabilities: for example, Claude Sonnet supports Optical Character Recognition (OCR) and recognizes image-only PDFs, while
|
|
50
|
+
The models USAi API draws on support multiple types of inputs; text, image, and file content types. However, each model has different input capabilities: for example, Claude Sonnet supports Optical Character Recognition (OCR) and recognizes image-only PDFs, while Llama currently does not. For additional detail about how we handle these content types, reference [OpenAI’s API documentation](https://platform.openai.com/docs/api-reference/chat/create).
|
|
52
51
|
|
|
53
52
|
### Authentication
|
|
54
53
|
|