@squidcloud/client 1.0.274 → 1.0.276
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/dist/cjs/index.js +1 -1
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.d.ts +3 -3
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +2 -2
- package/dist/typescript-client/src/ai-chatbot-client.d.ts +5 -3
- package/dist/typescript-client/src/personal-storage-client.d.ts +2 -2
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FunctionName } from './bundle-data.public-types';
|
|
2
2
|
import { IntegrationId } from './communication.public-types';
|
|
3
3
|
/** The supported OpenAI models */
|
|
4
|
-
export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-4", "gpt-4-turbo-preview", "gpt-4o", "gpt-4o-mini", "gpt-4o-2024-08-06", "gpt-4-turbo"];
|
|
5
|
-
export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-pro"];
|
|
4
|
+
export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-4", "gpt-4-turbo-preview", "gpt-4o", "gpt-4o-mini", "gpt-4o-2024-08-06", "o1-preview", "o1-mini", "gpt-4-turbo"];
|
|
5
|
+
export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-pro", "gemini-1.5-pro", "gemini-1.5-flash"];
|
|
6
6
|
export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-sonnet-20240620"];
|
|
7
7
|
/** The supported AI model names. */
|
|
8
|
-
export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-4", "gpt-4-turbo-preview", "gpt-4o", "gpt-4o-mini", "gpt-4o-2024-08-06", "gpt-4-turbo", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-sonnet-20240620", "gemini-pro"];
|
|
8
|
+
export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-4", "gpt-4-turbo-preview", "gpt-4o", "gpt-4o-mini", "gpt-4o-2024-08-06", "o1-preview", "o1-mini", "gpt-4-turbo", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-sonnet-20240620", "gemini-pro", "gemini-1.5-pro", "gemini-1.5-flash"];
|
|
9
9
|
export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"];
|
|
10
10
|
export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"];
|
|
11
11
|
/** The supported AI image generation model names. */
|
|
@@ -56,12 +56,12 @@ export declare enum IntegrationType {
|
|
|
56
56
|
'google_docs' = "google_docs",
|
|
57
57
|
'onedrive' = "onedrive",
|
|
58
58
|
'zendesk' = "zendesk",
|
|
59
|
-
'linear' = "linear",
|
|
60
59
|
'pinecone' = "pinecone",
|
|
61
60
|
'active_directory' = "active_directory",
|
|
62
61
|
'jira' = "jira",
|
|
63
62
|
'confluence' = "confluence",
|
|
64
|
-
'servicenow' = "servicenow"
|
|
63
|
+
'servicenow' = "servicenow",
|
|
64
|
+
'linear' = "linear"
|
|
65
65
|
}
|
|
66
66
|
export declare enum IntegrationSchemaType {
|
|
67
67
|
'data' = "data",
|
|
@@ -90,8 +90,9 @@ export declare class AiChatbotProfileReference {
|
|
|
90
90
|
* Adds a new profile to the chatbot. This will result in an error if a profile already exists with the same id.
|
|
91
91
|
*
|
|
92
92
|
* @param data An object containing options for creating the profile.
|
|
93
|
-
* @param data.modelName - The name of the
|
|
94
|
-
* `claude-3-sonnet-20240229`, `claude-3-5-sonnet-20240620` or `claude-3-haiku-20240307`, `gemini-pro
|
|
93
|
+
* @param data.modelName - The name of the AI model (`gpt-3.5, `gpt-4`, `claude-3-opus-20240229`,
|
|
94
|
+
* `claude-3-sonnet-20240229`, `claude-3-5-sonnet-20240620` or `claude-3-haiku-20240307`, `gemini-pro`,
|
|
95
|
+
* `gemini-1.5-pro` `gemini-1.5-flash`).
|
|
95
96
|
* @param data.isPublic - Whether the chat functionality of the profile can be accessed without security rules.
|
|
96
97
|
* @returns A promise that resolves when the profile is successfully created.
|
|
97
98
|
*/
|
|
@@ -102,7 +103,8 @@ export declare class AiChatbotProfileReference {
|
|
|
102
103
|
*
|
|
103
104
|
* @param data An object containing options for updating the profile.
|
|
104
105
|
* @param data.modelName - The name of the OpenAI model (`gpt-3.5, `gpt-4`, `claude-3-opus-20240229`,
|
|
105
|
-
* `claude-3-sonnet-20240229`, `claude-3-5-sonnet-20240620` or `claude-3-haiku-20240307`, `gemini-pro
|
|
106
|
+
* `claude-3-sonnet-20240229`, `claude-3-5-sonnet-20240620` or `claude-3-haiku-20240307`, `gemini-pro`,
|
|
107
|
+
* `gemini-1.5-pro` `gemini-1.5-flash`).
|
|
106
108
|
* @param data.isPublic - Whether the chat functionality of the profile can be accessed without security rules.
|
|
107
109
|
* @returns A promise that resolves when the profile is successfully updated.
|
|
108
110
|
*/
|
|
@@ -39,12 +39,12 @@ export declare class PersonalStorageClient {
|
|
|
39
39
|
*
|
|
40
40
|
* @param documentOrFolderId - The ID of the document or folder to be indexed.
|
|
41
41
|
* @param identifier - A user-provided identifier (usually a user ID) that will be associated with the document.
|
|
42
|
-
* @param aiProfileId - The profile ID for the AI processing configuration.
|
|
43
42
|
* @param aiIntegrationId - The integration ID for the AI processing configuration.
|
|
43
|
+
* @param aiProfileId - The profile ID for the AI processing configuration.
|
|
44
44
|
* @param metadata - Metadata to include with the index
|
|
45
45
|
* @returns A promise that resolves when the document or folder is successfully indexed.
|
|
46
46
|
*/
|
|
47
|
-
indexDocumentOrFolder(documentOrFolderId: string, identifier: string,
|
|
47
|
+
indexDocumentOrFolder(documentOrFolderId: string, identifier: string, aiIntegrationId: string, aiProfileId: string, metadata?: AiContextMetadata): Promise<void>;
|
|
48
48
|
/**
|
|
49
49
|
* Unindexes a previously indexed document, removing it from AI processing.
|
|
50
50
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.276";
|