@sweetoburrito/backstage-plugin-ai-assistant-node 0.9.0 → 0.10.0
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.ts +5 -7
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -21,15 +21,13 @@ type EmbeddingDocumentMetadata = {
|
|
|
21
21
|
url: string;
|
|
22
22
|
[key: string]: string;
|
|
23
23
|
};
|
|
24
|
-
type Embedding = {
|
|
25
|
-
metadata: EmbeddingDocumentMetadata;
|
|
26
|
-
content: string;
|
|
27
|
-
vector: number[];
|
|
28
|
-
id: string;
|
|
29
|
-
};
|
|
30
24
|
type EmbeddingDocument = {
|
|
31
25
|
metadata: EmbeddingDocumentMetadata;
|
|
32
26
|
content: string;
|
|
27
|
+
vector?: string;
|
|
28
|
+
hash?: string;
|
|
29
|
+
lastUpdated?: Date;
|
|
30
|
+
id?: string;
|
|
33
31
|
};
|
|
34
32
|
type DeletionParams = {
|
|
35
33
|
ids?: string[];
|
|
@@ -155,4 +153,4 @@ type AiAssistantServiceOptions = {
|
|
|
155
153
|
declare const aiAssistantServiceRef: ServiceRef<AiAssistantService, 'plugin', 'singleton'>;
|
|
156
154
|
|
|
157
155
|
export { aiAssistantServiceRef, callbackProviderExtensionPoint, createAssistantTool, dataIngestorExtensionPoint, decrypt, embeddingsProviderExtensionPoint, encrypt, getUser, modelProviderExtensionPoint, streamToString, toolExtensionPoint };
|
|
158
|
-
export type { AiAssistantService, AiAssistantServiceOptions, AugmentationIndexer, CallbackExtensionPoint, CallbackProvider, ChainCallback, ChainCallbackOptions, ChainMetadata, ChainMetadataCallback, DataIngestionPipeline, DataIngestionPipelineOptions, DataIngestorExtensionPoint,
|
|
156
|
+
export type { AiAssistantService, AiAssistantServiceOptions, AugmentationIndexer, CallbackExtensionPoint, CallbackProvider, ChainCallback, ChainCallbackOptions, ChainMetadata, ChainMetadataCallback, DataIngestionPipeline, DataIngestionPipelineOptions, DataIngestorExtensionPoint, EmbeddingDocument, EmbeddingDocumentMetadata, EmbeddingsProvider, EmbeddingsProviderExtensionPoint, EmbeddingsSource, EntityFilterShape, Ingestor, IngestorOptions, Model, ModelProviderExtensionPoint, ScoreCallback, ToolExtensionPoint, VectorStore };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sweetoburrito/backstage-plugin-ai-assistant-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Node.js library for the ai-assistant plugin",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@backstage/backend-plugin-api": "backstage:^",
|
|
39
39
|
"@backstage/catalog-model": "backstage:^",
|
|
40
40
|
"@backstage/plugin-catalog-node": "backstage:^",
|
|
41
|
-
"@langchain/core": "^0.3.
|
|
41
|
+
"@langchain/core": "^0.3.80",
|
|
42
42
|
"@langchain/mcp-adapters": "^1.0.3",
|
|
43
43
|
"@sweetoburrito/backstage-plugin-ai-assistant-common": "^0.8.0",
|
|
44
44
|
"zod": "^4.1.11"
|