@superatomai/sdk-node 0.0.27 → 0.0.29
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/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2923 -2715
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2901 -2693
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -587,6 +587,7 @@ type CollectionOperation = 'getMany' | 'getOne' | 'query' | 'mutation' | 'update
|
|
|
587
587
|
type CollectionHandler<TParams = any, TResult = any> = (params: TParams) => Promise<TResult> | TResult;
|
|
588
588
|
type LLMProvider = 'anthropic' | 'groq' | 'gemini' | 'openai';
|
|
589
589
|
|
|
590
|
+
type DatabaseType = 'postgresql' | 'mssql' | 'snowflake' | 'mysql';
|
|
590
591
|
interface SuperatomSDKConfig {
|
|
591
592
|
url?: string;
|
|
592
593
|
apiKey?: string;
|
|
@@ -595,6 +596,7 @@ interface SuperatomSDKConfig {
|
|
|
595
596
|
type?: string;
|
|
596
597
|
bundleDir?: string;
|
|
597
598
|
promptsDir?: string;
|
|
599
|
+
databaseType?: DatabaseType;
|
|
598
600
|
ANTHROPIC_API_KEY?: string;
|
|
599
601
|
GROQ_API_KEY?: string;
|
|
600
602
|
GEMINI_API_KEY?: string;
|
|
@@ -1644,6 +1646,7 @@ declare class SuperatomSDK {
|
|
|
1644
1646
|
private geminiApiKey;
|
|
1645
1647
|
private openaiApiKey;
|
|
1646
1648
|
private llmProviders;
|
|
1649
|
+
private databaseType;
|
|
1647
1650
|
private userManager;
|
|
1648
1651
|
private dashboardManager;
|
|
1649
1652
|
private reportManager;
|
|
@@ -1725,4 +1728,4 @@ declare class SuperatomSDK {
|
|
|
1725
1728
|
getTools(): Tool$1[];
|
|
1726
1729
|
}
|
|
1727
1730
|
|
|
1728
|
-
export { type Action, BM25L, type BM25LOptions, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CollectionHandler, type CollectionOperation, type DBUIBlock, type HybridSearchOptions, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LogLevel, type Message, type RerankedResult, SDK_VERSION, STORAGE_CONFIG, SuperatomSDK, type SuperatomSDKConfig, Thread, ThreadManager, type Tool$1 as Tool, UIBlock, UILogCollector, type User, UserManager, type UsersData, hybridRerank, logger, rerankChromaResults, rerankConversationResults };
|
|
1731
|
+
export { type Action, BM25L, type BM25LOptions, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CollectionHandler, type CollectionOperation, type DBUIBlock, type DatabaseType, type HybridSearchOptions, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LogLevel, type Message, type RerankedResult, SDK_VERSION, STORAGE_CONFIG, SuperatomSDK, type SuperatomSDKConfig, Thread, ThreadManager, type Tool$1 as Tool, UIBlock, UILogCollector, type User, UserManager, type UsersData, hybridRerank, logger, rerankChromaResults, rerankConversationResults };
|
package/dist/index.d.ts
CHANGED
|
@@ -587,6 +587,7 @@ type CollectionOperation = 'getMany' | 'getOne' | 'query' | 'mutation' | 'update
|
|
|
587
587
|
type CollectionHandler<TParams = any, TResult = any> = (params: TParams) => Promise<TResult> | TResult;
|
|
588
588
|
type LLMProvider = 'anthropic' | 'groq' | 'gemini' | 'openai';
|
|
589
589
|
|
|
590
|
+
type DatabaseType = 'postgresql' | 'mssql' | 'snowflake' | 'mysql';
|
|
590
591
|
interface SuperatomSDKConfig {
|
|
591
592
|
url?: string;
|
|
592
593
|
apiKey?: string;
|
|
@@ -595,6 +596,7 @@ interface SuperatomSDKConfig {
|
|
|
595
596
|
type?: string;
|
|
596
597
|
bundleDir?: string;
|
|
597
598
|
promptsDir?: string;
|
|
599
|
+
databaseType?: DatabaseType;
|
|
598
600
|
ANTHROPIC_API_KEY?: string;
|
|
599
601
|
GROQ_API_KEY?: string;
|
|
600
602
|
GEMINI_API_KEY?: string;
|
|
@@ -1644,6 +1646,7 @@ declare class SuperatomSDK {
|
|
|
1644
1646
|
private geminiApiKey;
|
|
1645
1647
|
private openaiApiKey;
|
|
1646
1648
|
private llmProviders;
|
|
1649
|
+
private databaseType;
|
|
1647
1650
|
private userManager;
|
|
1648
1651
|
private dashboardManager;
|
|
1649
1652
|
private reportManager;
|
|
@@ -1725,4 +1728,4 @@ declare class SuperatomSDK {
|
|
|
1725
1728
|
getTools(): Tool$1[];
|
|
1726
1729
|
}
|
|
1727
1730
|
|
|
1728
|
-
export { type Action, BM25L, type BM25LOptions, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CollectionHandler, type CollectionOperation, type DBUIBlock, type HybridSearchOptions, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LogLevel, type Message, type RerankedResult, SDK_VERSION, STORAGE_CONFIG, SuperatomSDK, type SuperatomSDKConfig, Thread, ThreadManager, type Tool$1 as Tool, UIBlock, UILogCollector, type User, UserManager, type UsersData, hybridRerank, logger, rerankChromaResults, rerankConversationResults };
|
|
1731
|
+
export { type Action, BM25L, type BM25LOptions, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CollectionHandler, type CollectionOperation, type DBUIBlock, type DatabaseType, type HybridSearchOptions, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LogLevel, type Message, type RerankedResult, SDK_VERSION, STORAGE_CONFIG, SuperatomSDK, type SuperatomSDKConfig, Thread, ThreadManager, type Tool$1 as Tool, UIBlock, UILogCollector, type User, UserManager, type UsersData, hybridRerank, logger, rerankChromaResults, rerankConversationResults };
|