@smarter.sh/api 1.0.2-alpha.1 → 1.0.3-alpha.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.
- package/README.md +7 -2
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/core/config.d.ts +3 -3
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +3 -3
- package/dist/core/config.js.map +1 -1
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/errors.js +1 -1
- package/dist/core/http.d.ts +2 -2
- package/dist/core/http.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/chat.d.ts +131 -2
- package/dist/models/chat.d.ts.map +1 -1
- package/dist/models/chat.js +33 -2
- package/dist/models/chat.js.map +1 -1
- package/dist/models/journal.d.ts +2 -2
- package/dist/models/journal.js +2 -2
- package/dist/models/misc.js +1 -1
- package/dist/models/misc.js.map +1 -1
- package/dist/models/platform.js +1 -1
- package/dist/models/platform.js.map +1 -1
- package/dist/models/react.d.ts +2 -2
- package/dist/models/react.js +2 -2
- package/dist/models/sam/account.d.ts +2 -2
- package/dist/models/sam/account.js +1 -1
- package/dist/models/sam/apiconnection.d.ts +2 -2
- package/dist/models/sam/apiconnection.js +1 -1
- package/dist/models/sam/apiplugin.d.ts +2 -2
- package/dist/models/sam/apiplugin.js +1 -1
- package/dist/models/sam/budget.d.ts +2 -2
- package/dist/models/sam/budget.js +1 -1
- package/dist/models/sam/customdomain.d.ts +2 -2
- package/dist/models/sam/customdomain.js +1 -1
- package/dist/models/sam/guardrail.d.ts +2 -2
- package/dist/models/sam/guardrail.js +1 -1
- package/dist/models/sam/imagesearchplugin.d.ts +2 -2
- package/dist/models/sam/imagesearchplugin.js +1 -1
- package/dist/models/sam/index.d.ts +1 -1
- package/dist/models/sam/index.js +1 -1
- package/dist/models/sam/llmclient.d.ts +14 -6
- package/dist/models/sam/llmclient.d.ts.map +1 -1
- package/dist/models/sam/llmclient.js +1 -1
- package/dist/models/sam/llmhost.d.ts +2 -2
- package/dist/models/sam/llmhost.js +1 -1
- package/dist/models/sam/llmhostcompute.d.ts +2 -2
- package/dist/models/sam/llmhostcompute.js +1 -1
- package/dist/models/sam/mcpclient.d.ts +2 -2
- package/dist/models/sam/mcpclient.js +1 -1
- package/dist/models/sam/orchestrator.d.ts +2 -2
- package/dist/models/sam/orchestrator.js +1 -1
- package/dist/models/sam/plugin.d.ts +2 -2
- package/dist/models/sam/plugin.js +1 -1
- package/dist/models/sam/prompt.d.ts +2 -2
- package/dist/models/sam/prompt.js +1 -1
- package/dist/models/sam/provider.d.ts +2 -2
- package/dist/models/sam/provider.js +1 -1
- package/dist/models/sam/proxy.d.ts +2 -2
- package/dist/models/sam/proxy.js +1 -1
- package/dist/models/sam/schemas.d.ts.map +1 -1
- package/dist/models/sam/schemas.js +48 -38
- package/dist/models/sam/schemas.js.map +1 -1
- package/dist/models/sam/secret.d.ts +2 -2
- package/dist/models/sam/secret.js +1 -1
- package/dist/models/sam/skillplugin.d.ts +2 -2
- package/dist/models/sam/skillplugin.js +1 -1
- package/dist/models/sam/smarterauthtoken.d.ts +3 -3
- package/dist/models/sam/smarterauthtoken.js +1 -1
- package/dist/models/sam/sqlconnection.d.ts +2 -2
- package/dist/models/sam/sqlconnection.js +1 -1
- package/dist/models/sam/sqlplugin.d.ts +2 -2
- package/dist/models/sam/sqlplugin.js +1 -1
- package/dist/models/sam/user.d.ts +2 -2
- package/dist/models/sam/user.js +1 -1
- package/dist/models/sam/vectorsearch.d.ts +2 -2
- package/dist/models/sam/vectorsearch.js +1 -1
- package/dist/models/sam/vectorstore.d.ts +2 -2
- package/dist/models/sam/vectorstore.js +1 -1
- package/dist/models/sam/websearchplugin.d.ts +2 -2
- package/dist/models/sam/websearchplugin.js +1 -1
- package/dist/resources/llmclients.d.ts +23 -1
- package/dist/resources/llmclients.d.ts.map +1 -1
- package/dist/resources/llmclients.js +26 -1
- package/dist/resources/llmclients.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `Secret` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `Secret` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMSecret {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMSecretMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SkillPlugin` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SkillPlugin` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMSkillPlugin {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMPluginCommonMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SkillPlugin` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SkillPlugin` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SmarterAuthToken` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SmarterAuthToken` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Smarter API Manifest - SmarterAuthToken
|
|
7
|
+
* Smarter API Manifest - SmarterAuthToken.
|
|
8
8
|
*/
|
|
9
9
|
export interface SAMSmarterAuthToken {
|
|
10
10
|
/**
|
|
@@ -28,7 +28,7 @@ export interface SAMSmarterAuthToken {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMSmarterAuthTokenMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SmarterAuthToken` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SmarterAuthToken` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SqlConnection` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SqlConnection` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMSqlConnection {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMConnectionCommonMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SqlConnection` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SqlConnection` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `SqlPlugin` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `SqlPlugin` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -32,7 +32,7 @@ export interface SAMSqlPlugin {
|
|
|
32
32
|
*/
|
|
33
33
|
export interface SAMPluginCommonMetadata {
|
|
34
34
|
/**
|
|
35
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
35
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
36
36
|
*/
|
|
37
37
|
annotations?: {
|
|
38
38
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `User` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `User` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMUser {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMUserMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
package/dist/models/sam/user.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `Vectorsearch` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `Vectorsearch` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -32,7 +32,7 @@ export interface SAMVectorsearch {
|
|
|
32
32
|
*/
|
|
33
33
|
export interface SAMVectorsearchMetadata {
|
|
34
34
|
/**
|
|
35
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
35
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
36
36
|
*/
|
|
37
37
|
annotations?: {
|
|
38
38
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `Vectorsearch` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `Vectorsearch` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `Vectorstore` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `Vectorstore` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMVectorstore {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMVectorstoreMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `Vectorstore` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `Vectorstore` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `WebsearchPlugin` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `WebsearchPlugin` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ export interface SAMWebsearchPlugin {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SAMPluginCommonMetadata {
|
|
30
30
|
/**
|
|
31
|
-
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter
|
|
31
|
+
* Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter Project. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
|
|
32
32
|
*/
|
|
33
33
|
annotations?: {
|
|
34
34
|
[k: string]: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The SAM type of the `WebsearchPlugin` kind, generated from the Smarter
|
|
2
|
+
* The SAM type of the `WebsearchPlugin` kind, generated from the Smarter Project's JSON Schema.
|
|
3
3
|
*
|
|
4
4
|
* Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
|
|
5
5
|
*/
|
|
@@ -27,7 +27,7 @@ import { z } from "zod";
|
|
|
27
27
|
import type { RequestOptions } from "../core/http.ts";
|
|
28
28
|
import type { ServerSentEvent } from "../core/sse.ts";
|
|
29
29
|
import type { JsonValue, SmarterId } from "../core/typing.ts";
|
|
30
|
-
import { PromptChatApiMessage, PromptChatApiProgressEvent, PromptChatApiProgressResult, type PromptChatApiConfig, type PromptResponse } from "../models/chat.ts";
|
|
30
|
+
import { PromptChatApiMessage, PromptChatApiProgressEvent, PromptChatApiProgressResult, type PromptChatApiConfig, type PromptChatApiProviderRequest, type PromptResponse } from "../models/chat.ts";
|
|
31
31
|
import type { SmarterJournalMessage } from "../models/journal.ts";
|
|
32
32
|
import { LLMClient, LLMClientApiKey, LLMClientCustomDomain, LLMClientExtension, LLMClientPlugin } from "../models/llmclient.ts";
|
|
33
33
|
import { SmarterKindResource } from "./base.ts";
|
|
@@ -252,6 +252,28 @@ export declare class LLMClients extends SmarterKindResource<typeof LLMClient> {
|
|
|
252
252
|
* ```
|
|
253
253
|
*/
|
|
254
254
|
config(id: SmarterId, options?: ConfigOptions): Promise<PromptChatApiConfig>;
|
|
255
|
+
/**
|
|
256
|
+
* A chat session's request to the LLM provider: the body that Smarter sends to the provider's
|
|
257
|
+
* OpenAI-compatible `v1/chat/completions` api.
|
|
258
|
+
*
|
|
259
|
+
* The body has the model, temperature, token limit and tools of the session's latest prompt (or
|
|
260
|
+
* the LLMClient's, before its first prompt), and the whole conversation, including the latest
|
|
261
|
+
* answer, without Smarter's own messages, fields, api url or key. It can be sent with curl, or to
|
|
262
|
+
* the Prompt Passthrough api. Only a user who may read the LLMClient receives it.
|
|
263
|
+
*
|
|
264
|
+
* @param id - The LLMClient's id or hashed id.
|
|
265
|
+
* @param options - `sessionKey`: the chat session's key, or none for a new session, whose body is the LLMClient's introduction.
|
|
266
|
+
* @returns The request body.
|
|
267
|
+
* @throws {@link NotFoundError} If the LLMClient does not exist, or the user may not read it.
|
|
268
|
+
* @example
|
|
269
|
+
* ```ts
|
|
270
|
+
* const chat = await client.llmClients.chat("calculator");
|
|
271
|
+
* await chat.send("What is 17 times 23?");
|
|
272
|
+
* const body = await client.llmClients.providerRequest("calculator", { sessionKey: chat.sessionKey });
|
|
273
|
+
* console.log(body.model, body.messages.length);
|
|
274
|
+
* ```
|
|
275
|
+
*/
|
|
276
|
+
providerRequest(id: SmarterId, options?: PromptOptions): Promise<PromptChatApiProviderRequest>;
|
|
255
277
|
/**
|
|
256
278
|
* Prompt an LLMClient.
|
|
257
279
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmclients.d.ts","sourceRoot":"","sources":["../../src/resources/llmclients.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAGL,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,
|
|
1
|
+
{"version":3,"file":"llmclients.d.ts","sourceRoot":"","sources":["../../src/resources/llmclients.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAGL,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAI3B,KAAK,m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AM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAIpF;;;;;;OAMG;IACG,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAGvF"}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*/
|
|
26
26
|
import { z } from "zod";
|
|
27
27
|
import { SmarterError, SmarterPromptError } from "../core/errors.js";
|
|
28
|
-
import { LLM_MESSAGE_ROLES, PromptChatApiConfigResponse, PromptChatApiMessage, PromptChatApiProgressEvent, PromptChatApiProgressResult, PromptChatApiPromptResponse, withPromptText, } from "../models/chat.js";
|
|
28
|
+
import { LLM_MESSAGE_ROLES, PromptChatApiConfigResponse, PromptChatApiMessage, PromptChatApiProgressEvent, PromptChatApiProgressResult, PromptChatApiPromptResponse, PromptChatApiProviderRequestResponse, withPromptText, } from "../models/chat.js";
|
|
29
29
|
import { LLMClient, LLMClientApiKey, LLMClientCustomDomain, LLMClientExtension, LLMClientPlugin, } from "../models/llmclient.js";
|
|
30
30
|
import { resourceId, SmarterKindResource } from "./base.js";
|
|
31
31
|
/**
|
|
@@ -245,6 +245,31 @@ export class LLMClients extends SmarterKindResource {
|
|
|
245
245
|
});
|
|
246
246
|
return response.data;
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* A chat session's request to the LLM provider: the body that Smarter sends to the provider's
|
|
250
|
+
* OpenAI-compatible `v1/chat/completions` api.
|
|
251
|
+
*
|
|
252
|
+
* The body has the model, temperature, token limit and tools of the session's latest prompt (or
|
|
253
|
+
* the LLMClient's, before its first prompt), and the whole conversation, including the latest
|
|
254
|
+
* answer, without Smarter's own messages, fields, api url or key. It can be sent with curl, or to
|
|
255
|
+
* the Prompt Passthrough api. Only a user who may read the LLMClient receives it.
|
|
256
|
+
*
|
|
257
|
+
* @param id - The LLMClient's id or hashed id.
|
|
258
|
+
* @param options - `sessionKey`: the chat session's key, or none for a new session, whose body is the LLMClient's introduction.
|
|
259
|
+
* @returns The request body.
|
|
260
|
+
* @throws {@link NotFoundError} If the LLMClient does not exist, or the user may not read it.
|
|
261
|
+
* @example
|
|
262
|
+
* ```ts
|
|
263
|
+
* const chat = await client.llmClients.chat("calculator");
|
|
264
|
+
* await chat.send("What is 17 times 23?");
|
|
265
|
+
* const body = await client.llmClients.providerRequest("calculator", { sessionKey: chat.sessionKey });
|
|
266
|
+
* console.log(body.model, body.messages.length);
|
|
267
|
+
* ```
|
|
268
|
+
*/
|
|
269
|
+
async providerRequest(id, options) {
|
|
270
|
+
const response = await this.http.request("POST", `${this.path}${resourceId(id)}/provider-request/`, PromptChatApiProviderRequestResponse, { ...options, json: { session_key: options?.sessionKey ?? null } });
|
|
271
|
+
return response.data;
|
|
272
|
+
}
|
|
248
273
|
/**
|
|
249
274
|
* Prompt an LLMClient.
|
|
250
275
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmclients.js","sourceRoot":"","sources":["../../src/resources/llmclients.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIrE,OAAO,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"llmclients.js","sourceRoot":"","sources":["../../src/resources/llmclients.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIrE,OAAO,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,oBAAoB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