@langchain/neo4j 0.1.24 → 0.1.25

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.
@@ -5,8 +5,8 @@ import { BasePromptTemplate } from "@langchain/core/prompts";
5
5
  import { CallbackManagerForChainRun } from "@langchain/core/callbacks/manager";
6
6
  import { BaseChain, ChainInputs, LLMChain } from "@langchain/classic/chains";
7
7
  //#region src/chains/graph_qa/cypher.d.ts
8
- declare const INTERMEDIATE_STEPS_KEY = "intermediateSteps";
9
- interface GraphCypherQAChainInput extends ChainInputs {
8
+ export declare const INTERMEDIATE_STEPS_KEY = "intermediateSteps";
9
+ export interface GraphCypherQAChainInput extends ChainInputs {
10
10
  graph: Neo4jGraph;
11
11
  cypherGenerationChain: LLMChain;
12
12
  qaChain: LLMChain;
@@ -16,7 +16,7 @@ interface GraphCypherQAChainInput extends ChainInputs {
16
16
  returnIntermediateSteps?: boolean;
17
17
  returnDirect?: boolean;
18
18
  }
19
- interface FromLLMInput {
19
+ export interface FromLLMInput {
20
20
  graph: Neo4jGraph;
21
21
  llm?: BaseLanguageModelInterface;
22
22
  cypherLLM?: BaseLanguageModelInterface;
@@ -50,7 +50,7 @@ interface FromLLMInput {
50
50
  *
51
51
  * See https://js.langchain.com/docs/security for more information.
52
52
  */
53
- declare class GraphCypherQAChain extends BaseChain {
53
+ export declare class GraphCypherQAChain extends BaseChain {
54
54
  private graph;
55
55
  private cypherGenerationChain;
56
56
  private qaChain;
@@ -68,5 +68,4 @@ declare class GraphCypherQAChain extends BaseChain {
68
68
  _call(values: ChainValues, runManager?: CallbackManagerForChainRun): Promise<ChainValues>;
69
69
  }
70
70
  //#endregion
71
- export { FromLLMInput, GraphCypherQAChain, GraphCypherQAChainInput, INTERMEDIATE_STEPS_KEY };
72
71
  //# sourceMappingURL=cypher.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cypher.d.cts","names":[],"sources":["../../../src/chains/graph_qa/cypher.ts"],"mappings":";;;;;;;cAQa;UAEI,gCAAgC;EAC/C,OAAO;EACP,uBAAuB;EACvB,SAAS;EACT;EACA;EACA;EACA;EACA;;UAGe;EACf,OAAO;EACP,MAAM;EACN,YAAY;EACZ,QAAQ;EACR,WAAW;EACX,eAAe;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BW,2BAA2B;UAC9B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER,YAAY,OAAO;EAkCnB;MAII;MAIA;SAIG,QAAQ,OAAO,eAAe;UA+C7B;EAMF,MACJ,QAAQ,aACR,aAAa,6BACZ,QAAQ"}
1
+ {"version":3,"file":"cypher.d.cts","names":[],"sources":["../../../src/chains/graph_qa/cypher.ts"],"mappings":";;;;;;;qBAQa;iBAEI,gCAAgC;EAC/C,OAAO;EACP,uBAAuB;EACvB,SAAS;EACT;EACA;EACA;EACA;EACA;;iBAGe;EACf,OAAO;EACP,MAAM;EACN,YAAY;EACZ,QAAQ;EACR,WAAW;EACX,eAAe;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2BW,2BAA2B;UAC9B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER,YAAY,OAAO;EAkCnB;MAII;MAIA;SAIG,QAAQ,OAAO,eAAe;UA+C7B;EAMF,MACJ,QAAQ,aACR,aAAa,6BACZ,QAAQ"}
@@ -5,8 +5,8 @@ import { BaseLanguageModelInterface } from "@langchain/core/language_models/base
5
5
  import { ChainValues } from "@langchain/core/utils/types";
6
6
  import { CallbackManagerForChainRun } from "@langchain/core/callbacks/manager";
7
7
  //#region src/chains/graph_qa/cypher.d.ts
8
- declare const INTERMEDIATE_STEPS_KEY = "intermediateSteps";
9
- interface GraphCypherQAChainInput extends ChainInputs {
8
+ export declare const INTERMEDIATE_STEPS_KEY = "intermediateSteps";
9
+ export interface GraphCypherQAChainInput extends ChainInputs {
10
10
  graph: Neo4jGraph;
11
11
  cypherGenerationChain: LLMChain;
12
12
  qaChain: LLMChain;
@@ -16,7 +16,7 @@ interface GraphCypherQAChainInput extends ChainInputs {
16
16
  returnIntermediateSteps?: boolean;
17
17
  returnDirect?: boolean;
18
18
  }
19
- interface FromLLMInput {
19
+ export interface FromLLMInput {
20
20
  graph: Neo4jGraph;
21
21
  llm?: BaseLanguageModelInterface;
22
22
  cypherLLM?: BaseLanguageModelInterface;
@@ -50,7 +50,7 @@ interface FromLLMInput {
50
50
  *
51
51
  * See https://js.langchain.com/docs/security for more information.
52
52
  */
53
- declare class GraphCypherQAChain extends BaseChain {
53
+ export declare class GraphCypherQAChain extends BaseChain {
54
54
  private graph;
55
55
  private cypherGenerationChain;
56
56
  private qaChain;
@@ -68,5 +68,4 @@ declare class GraphCypherQAChain extends BaseChain {
68
68
  _call(values: ChainValues, runManager?: CallbackManagerForChainRun): Promise<ChainValues>;
69
69
  }
70
70
  //#endregion
71
- export { FromLLMInput, GraphCypherQAChain, GraphCypherQAChainInput, INTERMEDIATE_STEPS_KEY };
72
71
  //# sourceMappingURL=cypher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cypher.d.ts","names":[],"sources":["../../../src/chains/graph_qa/cypher.ts"],"mappings":";;;;;;;cAQa;UAEI,gCAAgC;EAC/C,OAAO;EACP,uBAAuB;EACvB,SAAS;EACT;EACA;EACA;EACA;EACA;;UAGe;EACf,OAAO;EACP,MAAM;EACN,YAAY;EACZ,QAAQ;EACR,WAAW;EACX,eAAe;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BW,2BAA2B;UAC9B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER,YAAY,OAAO;EAkCnB;MAII;MAIA;SAIG,QAAQ,OAAO,eAAe;UA+C7B;EAMF,MACJ,QAAQ,aACR,aAAa,6BACZ,QAAQ"}
1
+ {"version":3,"file":"cypher.d.ts","names":[],"sources":["../../../src/chains/graph_qa/cypher.ts"],"mappings":";;;;;;;qBAQa;iBAEI,gCAAgC;EAC/C,OAAO;EACP,uBAAuB;EACvB,SAAS;EACT;EACA;EACA;EACA;EACA;;iBAGe;EACf,OAAO;EACP,MAAM;EACN,YAAY;EACZ,QAAQ;EACR,WAAW;EACX,eAAe;EACf;EACA;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2BW,2BAA2B;UAC9B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER,YAAY,OAAO;EAkCnB;MAII;MAIA;SAIG,QAAQ,OAAO,eAAe;UA+C7B;EAMF,MACJ,QAAQ,aACR,aAAa,6BACZ,QAAQ"}
@@ -1,13 +1,12 @@
1
1
  import { PromptTemplate } from "@langchain/core/prompts";
2
2
  //#region src/chains/graph_qa/prompts.d.ts
3
- declare const CYPHER_GENERATION_PROMPT: PromptTemplate<{
3
+ export declare const CYPHER_GENERATION_PROMPT: PromptTemplate<{
4
4
  question: any;
5
5
  schema: any;
6
6
  }, any>;
7
- declare const CYPHER_QA_PROMPT: PromptTemplate<{
7
+ export declare const CYPHER_QA_PROMPT: PromptTemplate<{
8
8
  context: any;
9
9
  question: any;
10
10
  }, any>;
11
11
  //#endregion
12
- export { CYPHER_GENERATION_PROMPT, CYPHER_QA_PROMPT };
13
12
  //# sourceMappingURL=prompts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.cts","names":[],"sources":["../../../src/chains/graph_qa/prompts.ts"],"mappings":";;cAca,0BAAwB;;;;cAsBxB,kBAAgB"}
1
+ {"version":3,"file":"prompts.d.cts","names":[],"sources":["../../../src/chains/graph_qa/prompts.ts"],"mappings":";;qBAca,0BAAwB;;;;qBAsBxB,kBAAgB"}
@@ -1,13 +1,12 @@
1
1
  import { PromptTemplate } from "@langchain/core/prompts";
2
2
  //#region src/chains/graph_qa/prompts.d.ts
3
- declare const CYPHER_GENERATION_PROMPT: PromptTemplate<{
3
+ export declare const CYPHER_GENERATION_PROMPT: PromptTemplate<{
4
4
  question: any;
5
5
  schema: any;
6
6
  }, any>;
7
- declare const CYPHER_QA_PROMPT: PromptTemplate<{
7
+ export declare const CYPHER_QA_PROMPT: PromptTemplate<{
8
8
  context: any;
9
9
  question: any;
10
10
  }, any>;
11
11
  //#endregion
12
- export { CYPHER_GENERATION_PROMPT, CYPHER_QA_PROMPT };
13
12
  //# sourceMappingURL=prompts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","names":[],"sources":["../../../src/chains/graph_qa/prompts.ts"],"mappings":";;cAca,0BAAwB;;;;cAsBxB,kBAAgB"}
1
+ {"version":3,"file":"prompts.d.ts","names":[],"sources":["../../../src/chains/graph_qa/prompts.ts"],"mappings":";;qBAca,0BAAwB;;;;qBAsBxB,kBAAgB"}
@@ -2,7 +2,7 @@ import { Serializable } from "@langchain/core/load/serializable";
2
2
  import { Document } from "@langchain/core/documents";
3
3
  //#region src/graphs/document.d.ts
4
4
  type Any = any;
5
- declare class Node extends Serializable {
5
+ export declare class Node extends Serializable {
6
6
  id: string | number;
7
7
  type: string;
8
8
  properties: Record<string, Any>;
@@ -13,7 +13,7 @@ declare class Node extends Serializable {
13
13
  properties?: Record<string, Any>;
14
14
  });
15
15
  }
16
- declare class Relationship extends Serializable {
16
+ export declare class Relationship extends Serializable {
17
17
  source: Node;
18
18
  target: Node;
19
19
  type: string;
@@ -26,7 +26,7 @@ declare class Relationship extends Serializable {
26
26
  properties?: Record<string, Any>;
27
27
  });
28
28
  }
29
- declare class GraphDocument extends Serializable {
29
+ export declare class GraphDocument extends Serializable {
30
30
  nodes: Node[];
31
31
  relationships: Relationship[];
32
32
  source: Document;
@@ -38,5 +38,4 @@ declare class GraphDocument extends Serializable {
38
38
  });
39
39
  }
40
40
  //#endregion
41
- export { GraphDocument, Node, Relationship };
42
41
  //# sourceMappingURL=document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.cts","names":[],"sources":["../../src/graphs/document.ts"],"mappings":";;;KAIK;cAEQ,aAAa;EACxB;EAEA;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,IACA,MACA;IAEA;IACA;IACA,aAAa,eAAe;;;cASnB,qBAAqB;EAChC,QAAQ;EAER,QAAQ;EAER;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,QACA,QACA,MACA;IAEA,QAAQ;IACR,QAAQ;IACR;IACA,aAAa,eAAe;;;cAUnB,sBAAsB;EACjC,OAAO;EAEP,eAAe;EAEf,QAAQ;EAER;EAEA,cACE,OACA,eACA;IAEA,OAAO;IACP,eAAe;IACf,QAAQ"}
1
+ {"version":3,"file":"document.d.cts","names":[],"sources":["../../src/graphs/document.ts"],"mappings":";;;KAIK;qBAEQ,aAAa;EACxB;EAEA;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,IACA,MACA;IAEA;IACA;IACA,aAAa,eAAe;;;qBASnB,qBAAqB;EAChC,QAAQ;EAER,QAAQ;EAER;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,QACA,QACA,MACA;IAEA,QAAQ;IACR,QAAQ;IACR;IACA,aAAa,eAAe;;;qBAUnB,sBAAsB;EACjC,OAAO;EAEP,eAAe;EAEf,QAAQ;EAER;EAEA,cACE,OACA,eACA;IAEA,OAAO;IACP,eAAe;IACf,QAAQ"}
@@ -2,7 +2,7 @@ import { Serializable } from "@langchain/core/load/serializable";
2
2
  import { Document } from "@langchain/core/documents";
3
3
  //#region src/graphs/document.d.ts
4
4
  type Any = any;
5
- declare class Node extends Serializable {
5
+ export declare class Node extends Serializable {
6
6
  id: string | number;
7
7
  type: string;
8
8
  properties: Record<string, Any>;
@@ -13,7 +13,7 @@ declare class Node extends Serializable {
13
13
  properties?: Record<string, Any>;
14
14
  });
15
15
  }
16
- declare class Relationship extends Serializable {
16
+ export declare class Relationship extends Serializable {
17
17
  source: Node;
18
18
  target: Node;
19
19
  type: string;
@@ -26,7 +26,7 @@ declare class Relationship extends Serializable {
26
26
  properties?: Record<string, Any>;
27
27
  });
28
28
  }
29
- declare class GraphDocument extends Serializable {
29
+ export declare class GraphDocument extends Serializable {
30
30
  nodes: Node[];
31
31
  relationships: Relationship[];
32
32
  source: Document;
@@ -38,5 +38,4 @@ declare class GraphDocument extends Serializable {
38
38
  });
39
39
  }
40
40
  //#endregion
41
- export { GraphDocument, Node, Relationship };
42
41
  //# sourceMappingURL=document.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.ts","names":[],"sources":["../../src/graphs/document.ts"],"mappings":";;;KAIK;cAEQ,aAAa;EACxB;EAEA;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,IACA,MACA;IAEA;IACA;IACA,aAAa,eAAe;;;cASnB,qBAAqB;EAChC,QAAQ;EAER,QAAQ;EAER;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,QACA,QACA,MACA;IAEA,QAAQ;IACR,QAAQ;IACR;IACA,aAAa,eAAe;;;cAUnB,sBAAsB;EACjC,OAAO;EAEP,eAAe;EAEf,QAAQ;EAER;EAEA,cACE,OACA,eACA;IAEA,OAAO;IACP,eAAe;IACf,QAAQ"}
1
+ {"version":3,"file":"document.d.ts","names":[],"sources":["../../src/graphs/document.ts"],"mappings":";;;KAIK;qBAEQ,aAAa;EACxB;EAEA;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,IACA,MACA;IAEA;IACA;IACA,aAAa,eAAe;;;qBASnB,qBAAqB;EAChC,QAAQ;EAER,QAAQ;EAER;EAEA,YAAY,eAAe;EAE3B;EAEA,cACE,QACA,QACA,MACA;IAEA,QAAQ;IACR,QAAQ;IACR;IACA,aAAa,eAAe;;;qBAUnB,sBAAsB;EACjC,OAAO;EAEP,eAAe;EAEf,QAAQ;EAER;EAEA,cACE,OACA,eACA;IAEA,OAAO;IACP,eAAe;IACf,QAAQ"}
@@ -1,6 +1,6 @@
1
1
  import { Neo4jGraph } from "./neo4j_graph.cjs";
2
2
  //#region src/graphs/memgraph_graph.d.ts
3
- interface MemgraphGraphConfig {
3
+ export interface MemgraphGraphConfig {
4
4
  url: string;
5
5
  username: string;
6
6
  password: string;
@@ -20,11 +20,10 @@ interface MemgraphGraphConfig {
20
20
  *
21
21
  * @link See https://js.langchain.com/docs/security for more information.
22
22
  */
23
- declare class MemgraphGraph extends Neo4jGraph {
23
+ export declare class MemgraphGraph extends Neo4jGraph {
24
24
  constructor({ url, username, password, database }: MemgraphGraphConfig);
25
25
  static initialize(config: MemgraphGraphConfig): Promise<MemgraphGraph>;
26
26
  refreshSchema(): Promise<void>;
27
27
  }
28
28
  //#endregion
29
- export { MemgraphGraph, MemgraphGraphConfig };
30
29
  //# sourceMappingURL=memgraph_graph.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memgraph_graph.d.cts","names":[],"sources":["../../src/graphs/memgraph_graph.ts"],"mappings":";;UAEiB;EACf;EACA;EACA;EACA;;;;;;;;;;;;;;;;cAuBW,sBAAsB;EACjC,cACE,KACA,UACA,UACA,YACC;SAIU,WAAW,QAAQ,sBAAsB,QAAQ;EAoBxD,iBAAa"}
1
+ {"version":3,"file":"memgraph_graph.d.cts","names":[],"sources":["../../src/graphs/memgraph_graph.ts"],"mappings":";;iBAEiB;EACf;EACA;EACA;EACA;;;;;;;;;;;;;;;;qBAuBW,sBAAsB;EACjC,cACE,KACA,UACA,UACA,YACC;SAIU,WAAW,QAAQ,sBAAsB,QAAQ;EAoBxD,iBAAa"}
@@ -1,6 +1,6 @@
1
1
  import { Neo4jGraph } from "./neo4j_graph.js";
2
2
  //#region src/graphs/memgraph_graph.d.ts
3
- interface MemgraphGraphConfig {
3
+ export interface MemgraphGraphConfig {
4
4
  url: string;
5
5
  username: string;
6
6
  password: string;
@@ -20,11 +20,10 @@ interface MemgraphGraphConfig {
20
20
  *
21
21
  * @link See https://js.langchain.com/docs/security for more information.
22
22
  */
23
- declare class MemgraphGraph extends Neo4jGraph {
23
+ export declare class MemgraphGraph extends Neo4jGraph {
24
24
  constructor({ url, username, password, database }: MemgraphGraphConfig);
25
25
  static initialize(config: MemgraphGraphConfig): Promise<MemgraphGraph>;
26
26
  refreshSchema(): Promise<void>;
27
27
  }
28
28
  //#endregion
29
- export { MemgraphGraph, MemgraphGraphConfig };
30
29
  //# sourceMappingURL=memgraph_graph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memgraph_graph.d.ts","names":[],"sources":["../../src/graphs/memgraph_graph.ts"],"mappings":";;UAEiB;EACf;EACA;EACA;EACA;;;;;;;;;;;;;;;;cAuBW,sBAAsB;EACjC,cACE,KACA,UACA,UACA,YACC;SAIU,WAAW,QAAQ,sBAAsB,QAAQ;EAoBxD,iBAAa"}
1
+ {"version":3,"file":"memgraph_graph.d.ts","names":[],"sources":["../../src/graphs/memgraph_graph.ts"],"mappings":";;iBAEiB;EACf;EACA;EACA;EACA;;;;;;;;;;;;;;;;qBAuBW,sBAAsB;EACjC,cACE,KACA,UACA,UACA,YACC;SAIU,WAAW,QAAQ,sBAAsB,QAAQ;EAoBxD,iBAAa"}
@@ -2,7 +2,7 @@ import { GraphDocument } from "./document.cjs";
2
2
  import { RoutingControl } from "neo4j-driver";
3
3
  //#region src/graphs/neo4j_graph.d.ts
4
4
  type Any = any;
5
- interface Neo4jGraphConfig {
5
+ export interface Neo4jGraphConfig {
6
6
  url: string;
7
7
  username: string;
8
8
  password: string;
@@ -10,7 +10,7 @@ interface Neo4jGraphConfig {
10
10
  timeoutMs?: number;
11
11
  enhancedSchema?: boolean;
12
12
  }
13
- interface StructuredSchema {
13
+ export interface StructuredSchema {
14
14
  nodeProps: {
15
15
  [key: NodeType["labels"]]: NodeType["properties"];
16
16
  };
@@ -23,31 +23,31 @@ interface StructuredSchema {
23
23
  index: Record<string, Any>;
24
24
  };
25
25
  }
26
- interface AddGraphDocumentsConfig {
26
+ export interface AddGraphDocumentsConfig {
27
27
  baseEntityLabel?: boolean;
28
28
  includeSource?: boolean;
29
29
  }
30
- type NodeType = {
30
+ export type NodeType = {
31
31
  labels: string;
32
32
  properties: {
33
33
  property: string;
34
34
  type: string;
35
35
  }[];
36
36
  };
37
- type RelType = {
37
+ export type RelType = {
38
38
  type: string;
39
39
  properties: {
40
40
  property: string;
41
41
  type: string;
42
42
  }[];
43
43
  };
44
- type PathType = {
44
+ export type PathType = {
45
45
  start: string;
46
46
  type: string;
47
47
  end: string;
48
48
  };
49
- declare const BASE_ENTITY_LABEL = "__Entity__";
50
- declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean): string;
49
+ export declare const BASE_ENTITY_LABEL = "__Entity__";
50
+ export declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean): string;
51
51
  /**
52
52
  * @security *Security note*: Make sure that the database connection uses credentials
53
53
  * that are narrowly-scoped to only include necessary permissions.
@@ -62,7 +62,7 @@ declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean):
62
62
  *
63
63
  * @link See https://js.langchain.com/docs/security for more information.
64
64
  */
65
- declare class Neo4jGraph {
65
+ export declare class Neo4jGraph {
66
66
  private driver;
67
67
  private database;
68
68
  private timeoutMs;
@@ -84,5 +84,4 @@ declare class Neo4jGraph {
84
84
  close(): Promise<void>;
85
85
  }
86
86
  //#endregion
87
- export { AddGraphDocumentsConfig, BASE_ENTITY_LABEL, Neo4jGraph, Neo4jGraphConfig, NodeType, PathType, RelType, StructuredSchema, formatSchema };
88
87
  //# sourceMappingURL=neo4j_graph.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j_graph.d.cts","names":[],"sources":["../../src/graphs/neo4j_graph.ts"],"mappings":";;;KAUK;UAEY;EACf;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;KAAc,KAAK,qBAAqB;;EACxC;KAAa,KAAK,kBAAkB;;EACpC,eAAe;EACf;IACE,YAAY,eAAe;IAC3B,OAAO,eAAe;;;UAIT;EACf;EACA;;KAGU;EACV;EACA;IAAc;IAAkB;;;KAGtB;EACV;EACA;IAAc;IAAkB;;;KAGtB;EAAa;EAAe;EAAc;;cAEzC;iBAsDG,aACd,QAAQ,eAAe,MACvB;;;;;;;;;;;;;;;cAwIW;UACH;UAEA;UAEA;UAEA;YAEE;YAEA,kBAAkB;EAU5B,cACE,KACA,UACA,UACA,UACA,WACA,kBACC;SAaU,WAAW,QAAQ,mBAAmB,QAAQ;EAsB3D;EAIA,uBAAmB;EAIb,MAAM,oBAAoB,eAAe,OAAO,eAAe,MACnE,eACA,SAAQ,eAAe,MACvB,UAAS,iBACR,QAAQ;EASL,sBAAkB;EAIlB,iBAAa;EAkGb,qBACJ,qBACA;IAAc;IAAkB;OAChC,qBACA,2BAAsB;EA6HlB,kBACJ,gBAAgB,iBAChB,SAAQ,0BACP;EA+CG,SAAK"}
1
+ {"version":3,"file":"neo4j_graph.d.cts","names":[],"sources":["../../src/graphs/neo4j_graph.ts"],"mappings":";;;KAUK;iBAEY;EACf;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf;KAAc,KAAK,qBAAqB;;EACxC;KAAa,KAAK,kBAAkB;;EACpC,eAAe;EACf;IACE,YAAY,eAAe;IAC3B,OAAO,eAAe;;;iBAIT;EACf;EACA;;YAGU;EACV;EACA;IAAc;IAAkB;;;YAGtB;EACV;EACA;IAAc;IAAkB;;;YAGtB;EAAa;EAAe;EAAc;;qBAEzC;wBAsDG,aACd,QAAQ,eAAe,MACvB;;;;;;;;;;;;;;;qBAwIW;UACH;UAEA;UAEA;UAEA;YAEE;YAEA,kBAAkB;EAU5B,cACE,KACA,UACA,UACA,UACA,WACA,kBACC;SAaU,WAAW,QAAQ,mBAAmB,QAAQ;EAsB3D;EAIA,uBAAmB;EAIb,MAAM,oBAAoB,eAAe,OAAO,eAAe,MACnE,eACA,SAAQ,eAAe,MACvB,UAAS,iBACR,QAAQ;EASL,sBAAkB;EAIlB,iBAAa;EAkGb,qBACJ,qBACA;IAAc;IAAkB;OAChC,qBACA,2BAAsB;EA6HlB,kBACJ,gBAAgB,iBAChB,SAAQ,0BACP;EA+CG,SAAK"}
@@ -2,7 +2,7 @@ import { GraphDocument } from "./document.js";
2
2
  import { RoutingControl } from "neo4j-driver";
3
3
  //#region src/graphs/neo4j_graph.d.ts
4
4
  type Any = any;
5
- interface Neo4jGraphConfig {
5
+ export interface Neo4jGraphConfig {
6
6
  url: string;
7
7
  username: string;
8
8
  password: string;
@@ -10,7 +10,7 @@ interface Neo4jGraphConfig {
10
10
  timeoutMs?: number;
11
11
  enhancedSchema?: boolean;
12
12
  }
13
- interface StructuredSchema {
13
+ export interface StructuredSchema {
14
14
  nodeProps: {
15
15
  [key: NodeType["labels"]]: NodeType["properties"];
16
16
  };
@@ -23,31 +23,31 @@ interface StructuredSchema {
23
23
  index: Record<string, Any>;
24
24
  };
25
25
  }
26
- interface AddGraphDocumentsConfig {
26
+ export interface AddGraphDocumentsConfig {
27
27
  baseEntityLabel?: boolean;
28
28
  includeSource?: boolean;
29
29
  }
30
- type NodeType = {
30
+ export type NodeType = {
31
31
  labels: string;
32
32
  properties: {
33
33
  property: string;
34
34
  type: string;
35
35
  }[];
36
36
  };
37
- type RelType = {
37
+ export type RelType = {
38
38
  type: string;
39
39
  properties: {
40
40
  property: string;
41
41
  type: string;
42
42
  }[];
43
43
  };
44
- type PathType = {
44
+ export type PathType = {
45
45
  start: string;
46
46
  type: string;
47
47
  end: string;
48
48
  };
49
- declare const BASE_ENTITY_LABEL = "__Entity__";
50
- declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean): string;
49
+ export declare const BASE_ENTITY_LABEL = "__Entity__";
50
+ export declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean): string;
51
51
  /**
52
52
  * @security *Security note*: Make sure that the database connection uses credentials
53
53
  * that are narrowly-scoped to only include necessary permissions.
@@ -62,7 +62,7 @@ declare function formatSchema(schema: Record<string, Any>, isEnhanced: boolean):
62
62
  *
63
63
  * @link See https://js.langchain.com/docs/security for more information.
64
64
  */
65
- declare class Neo4jGraph {
65
+ export declare class Neo4jGraph {
66
66
  private driver;
67
67
  private database;
68
68
  private timeoutMs;
@@ -84,5 +84,4 @@ declare class Neo4jGraph {
84
84
  close(): Promise<void>;
85
85
  }
86
86
  //#endregion
87
- export { AddGraphDocumentsConfig, BASE_ENTITY_LABEL, Neo4jGraph, Neo4jGraphConfig, NodeType, PathType, RelType, StructuredSchema, formatSchema };
88
87
  //# sourceMappingURL=neo4j_graph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j_graph.d.ts","names":[],"sources":["../../src/graphs/neo4j_graph.ts"],"mappings":";;;KAUK;UAEY;EACf;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;KAAc,KAAK,qBAAqB;;EACxC;KAAa,KAAK,kBAAkB;;EACpC,eAAe;EACf;IACE,YAAY,eAAe;IAC3B,OAAO,eAAe;;;UAIT;EACf;EACA;;KAGU;EACV;EACA;IAAc;IAAkB;;;KAGtB;EACV;EACA;IAAc;IAAkB;;;KAGtB;EAAa;EAAe;EAAc;;cAEzC;iBAsDG,aACd,QAAQ,eAAe,MACvB;;;;;;;;;;;;;;;cAwIW;UACH;UAEA;UAEA;UAEA;YAEE;YAEA,kBAAkB;EAU5B,cACE,KACA,UACA,UACA,UACA,WACA,kBACC;SAaU,WAAW,QAAQ,mBAAmB,QAAQ;EAsB3D;EAIA,uBAAmB;EAIb,MAAM,oBAAoB,eAAe,OAAO,eAAe,MACnE,eACA,SAAQ,eAAe,MACvB,UAAS,iBACR,QAAQ;EASL,sBAAkB;EAIlB,iBAAa;EAkGb,qBACJ,qBACA;IAAc;IAAkB;OAChC,qBACA,2BAAsB;EA6HlB,kBACJ,gBAAgB,iBAChB,SAAQ,0BACP;EA+CG,SAAK"}
1
+ {"version":3,"file":"neo4j_graph.d.ts","names":[],"sources":["../../src/graphs/neo4j_graph.ts"],"mappings":";;;KAUK;iBAEY;EACf;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf;KAAc,KAAK,qBAAqB;;EACxC;KAAa,KAAK,kBAAkB;;EACpC,eAAe;EACf;IACE,YAAY,eAAe;IAC3B,OAAO,eAAe;;;iBAIT;EACf;EACA;;YAGU;EACV;EACA;IAAc;IAAkB;;;YAGtB;EACV;EACA;IAAc;IAAkB;;;YAGtB;EAAa;EAAe;EAAc;;qBAEzC;wBAsDG,aACd,QAAQ,eAAe,MACvB;;;;;;;;;;;;;;;qBAwIW;UACH;UAEA;UAEA;UAEA;YAEE;YAEA,kBAAkB;EAU5B,cACE,KACA,UACA,UACA,UACA,WACA,kBACC;SAaU,WAAW,QAAQ,mBAAmB,QAAQ;EAsB3D;EAIA,uBAAmB;EAIb,MAAM,oBAAoB,eAAe,OAAO,eAAe,MACnE,eACA,SAAQ,eAAe,MACvB,UAAS,iBACR,QAAQ;EASL,sBAAkB;EAIlB,iBAAa;EAkGb,qBACJ,qBACA;IAAc;IAAkB;OAChC,qBACA,2BAAsB;EA6HlB,kBACJ,gBAAgB,iBAChB,SAAQ,0BACP;EA+CG,SAAK"}
@@ -2,7 +2,7 @@ import { ServerInfo } from "neo4j-driver";
2
2
  import { BaseListChatMessageHistory } from "@langchain/core/chat_history";
3
3
  import { BaseMessage } from "@langchain/core/messages";
4
4
  //#region src/stores/message/neo4j.d.ts
5
- type Neo4jChatMessageHistoryConfigInput = {
5
+ export type Neo4jChatMessageHistoryConfigInput = {
6
6
  sessionId?: string | number;
7
7
  sessionNodeLabel?: string;
8
8
  messageNodeLabel?: string;
@@ -11,7 +11,7 @@ type Neo4jChatMessageHistoryConfigInput = {
11
11
  password: string;
12
12
  windowSize?: number;
13
13
  };
14
- declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
14
+ export declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
15
15
  lc_namespace: string[];
16
16
  sessionId: string | number;
17
17
  sessionNodeLabel: string;
@@ -27,5 +27,4 @@ declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
27
27
  close(): Promise<void>;
28
28
  }
29
29
  //#endregion
30
- export { Neo4jChatMessageHistory, Neo4jChatMessageHistoryConfigInput };
31
30
  //# sourceMappingURL=neo4j.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j.d.cts","names":[],"sources":["../../../src/stores/message/neo4j.ts"],"mappings":";;;;KAQY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;cASW,gCAAgC;EAC3C;EAEA;EAEA;EAEA;EAEA;UAEQ;EAER,cACE,WACA,kBACA,kBACA,KACA,UACA,UACA,cACC;SAsBU,WACX,OAAO,qCACN,QAAQ;EAeL,sBAAsB,QAAQ;EAK9B,eAAe,QAAQ;EA4BvB,WAAW,SAAS,cAAc;EAyBlC,SAAK;EAmBL,SAAK"}
1
+ {"version":3,"file":"neo4j.d.cts","names":[],"sources":["../../../src/stores/message/neo4j.ts"],"mappings":";;;;YAQY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;qBASW,gCAAgC;EAC3C;EAEA;EAEA;EAEA;EAEA;UAEQ;EAER,cACE,WACA,kBACA,kBACA,KACA,UACA,UACA,cACC;SAsBU,WACX,OAAO,qCACN,QAAQ;EAeL,sBAAsB,QAAQ;EAK9B,eAAe,QAAQ;EA4BvB,WAAW,SAAS,cAAc;EAyBlC,SAAK;EAmBL,SAAK"}
@@ -2,7 +2,7 @@ import { ServerInfo } from "neo4j-driver";
2
2
  import { BaseListChatMessageHistory } from "@langchain/core/chat_history";
3
3
  import { BaseMessage } from "@langchain/core/messages";
4
4
  //#region src/stores/message/neo4j.d.ts
5
- type Neo4jChatMessageHistoryConfigInput = {
5
+ export type Neo4jChatMessageHistoryConfigInput = {
6
6
  sessionId?: string | number;
7
7
  sessionNodeLabel?: string;
8
8
  messageNodeLabel?: string;
@@ -11,7 +11,7 @@ type Neo4jChatMessageHistoryConfigInput = {
11
11
  password: string;
12
12
  windowSize?: number;
13
13
  };
14
- declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
14
+ export declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
15
15
  lc_namespace: string[];
16
16
  sessionId: string | number;
17
17
  sessionNodeLabel: string;
@@ -27,5 +27,4 @@ declare class Neo4jChatMessageHistory extends BaseListChatMessageHistory {
27
27
  close(): Promise<void>;
28
28
  }
29
29
  //#endregion
30
- export { Neo4jChatMessageHistory, Neo4jChatMessageHistoryConfigInput };
31
30
  //# sourceMappingURL=neo4j.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j.d.ts","names":[],"sources":["../../../src/stores/message/neo4j.ts"],"mappings":";;;;KAQY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;cASW,gCAAgC;EAC3C;EAEA;EAEA;EAEA;EAEA;UAEQ;EAER,cACE,WACA,kBACA,kBACA,KACA,UACA,UACA,cACC;SAsBU,WACX,OAAO,qCACN,QAAQ;EAeL,sBAAsB,QAAQ;EAK9B,eAAe,QAAQ;EA4BvB,WAAW,SAAS,cAAc;EAyBlC,SAAK;EAmBL,SAAK"}
1
+ {"version":3,"file":"neo4j.d.ts","names":[],"sources":["../../../src/stores/message/neo4j.ts"],"mappings":";;;;YAQY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;qBASW,gCAAgC;EAC3C;EAEA;EAEA;EAEA;EAEA;UAEQ;EAER,cACE,WACA,kBACA,kBACA,KACA,UACA,UACA,cACC;SAsBU,WACX,OAAO,qCACN,QAAQ;EAeL,sBAAsB,QAAQ;EAK9B,eAAe,QAAQ;EA4BvB,WAAW,SAAS,cAAc;EAyBlC,SAAK;EAmBL,SAAK"}
@@ -3,11 +3,11 @@ import { EmbeddingsInterface } from "@langchain/core/embeddings";
3
3
  import { VectorStore } from "@langchain/core/vectorstores";
4
4
  //#region src/vectorstores/neo4j_vector.d.ts
5
5
  type Any = any;
6
- type SearchType = "vector" | "hybrid";
7
- type IndexType = "NODE" | "RELATIONSHIP";
8
- type DistanceStrategy = "euclidean" | "cosine";
9
- type Metadata = Record<string, unknown>;
10
- interface Neo4jVectorStoreArgs {
6
+ export type SearchType = "vector" | "hybrid";
7
+ export type IndexType = "NODE" | "RELATIONSHIP";
8
+ export type DistanceStrategy = "euclidean" | "cosine";
9
+ export type Metadata = Record<string, unknown>;
10
+ export interface Neo4jVectorStoreArgs {
11
11
  url: string;
12
12
  username: string;
13
13
  password: string;
@@ -38,7 +38,7 @@ interface Neo4jVectorStoreArgs {
38
38
  *
39
39
  * @link See https://js.langchain.com/docs/security for more information.
40
40
  */
41
- declare class Neo4jVectorStore extends VectorStore {
41
+ export declare class Neo4jVectorStore extends VectorStore {
42
42
  private driver;
43
43
  private database;
44
44
  private preDeleteCollection;
@@ -82,9 +82,8 @@ declare class Neo4jVectorStore extends VectorStore {
82
82
  similaritySearchWithScore(query: string, k?: number, params?: Record<string, Any>): Promise<[Document, number][]>;
83
83
  similaritySearchVectorWithScore(vector: number[], k: number, query: string, params?: Record<string, Any>): Promise<[Document, number][]>;
84
84
  }
85
- declare function removeLuceneChars(text: string | null): string | null;
86
- declare function isVersionLessThan(v1: number[], v2: number[]): boolean;
87
- declare function constructMetadataFilter(filter: Record<string, Any>): [string, Record<string, Any>];
85
+ export declare function removeLuceneChars(text: string | null): string | null;
86
+ export declare function isVersionLessThan(v1: number[], v2: number[]): boolean;
87
+ export declare function constructMetadataFilter(filter: Record<string, Any>): [string, Record<string, Any>];
88
88
  //#endregion
89
- export { DistanceStrategy, IndexType, Metadata, Neo4jVectorStore, Neo4jVectorStoreArgs, SearchType, constructMetadataFilter, isVersionLessThan, removeLuceneChars };
90
89
  //# sourceMappingURL=neo4j_vector.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j_vector.d.cts","names":[],"sources":["../../src/vectorstores/neo4j_vector.ts"],"mappings":";;;;KAWK;KAEO;KAEA;KAEA;KAEA,WAAW;UAEN;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,YAAY;EACZ;EACA;EACA;;;;;;;;;;;;;;;;cAsBW,yBAAyB;UAC5B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER;EAIA,YAAY,YAAY,qBAAqB,QAAQ;SAIxC,WACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EAoCxB,oBACJ,KACA,UACA,UACA,YACC,uBAAoB;EAWjB,uBAAmB;EAInB,kBAAc;EAiCd,SAAK;EAIL,cAAU;EAgBV,MAAM,eAAe,SAAQ,MAAW,QAAQ;SAMzC,UACX,iBACA,WAAW,KACX,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SAeE,cACX,MAAM,YACN,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SA8CE,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;SA+CjB,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EA0GxB,kBAAkB;EAsBlB,yBAAqB;EAuCrB,yBACJ,gCACC;EA2CG,sBACJ,gCACC;EAeH,gBACE,QAAQ;KAAS,cAAc;MAC/B,oBACC;KAAS,cAAc;;EAOpB,WACJ,qBACA,WAAW,YACX,YAAY,eAAe,QAC3B,iBACC;EAmCG,aAAa,WAAW,aAAa;EASrC,iBACJ,eACA,YACA,SAAQ,eAAe,OACtB,QAAQ;EAaL,0BACJ,eACA,YACA,SAAQ,eAAe,OACtB,SAAS;EAKN,gCACJ,kBACA,WACA,eACA,SAAQ,eAAe,OACtB,SAAS;;iBA8ME,kBAAkB;iBAgClB,kBAAkB,cAAc;iBA+LhC,wBACd,QAAQ,eAAe,gBACb,eAAe"}
1
+ {"version":3,"file":"neo4j_vector.d.cts","names":[],"sources":["../../src/vectorstores/neo4j_vector.ts"],"mappings":";;;;KAWK;YAEO;YAEA;YAEA;YAEA,WAAW;iBAEN;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,YAAY;EACZ;EACA;EACA;;;;;;;;;;;;;;;;qBAsBW,yBAAyB;UAC5B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER;EAIA,YAAY,YAAY,qBAAqB,QAAQ;SAIxC,WACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EAoCxB,oBACJ,KACA,UACA,UACA,YACC,uBAAoB;EAWjB,uBAAmB;EAInB,kBAAc;EAiCd,SAAK;EAIL,cAAU;EAgBV,MAAM,eAAe,SAAQ,MAAW,QAAQ;SAMzC,UACX,iBACA,WAAW,KACX,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SAeE,cACX,MAAM,YACN,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SA8CE,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;SA+CjB,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EA0GxB,kBAAkB;EAsBlB,yBAAqB;EAuCrB,yBACJ,gCACC;EA2CG,sBACJ,gCACC;EAeH,gBACE,QAAQ;KAAS,cAAc;MAC/B,oBACC;KAAS,cAAc;;EAOpB,WACJ,qBACA,WAAW,YACX,YAAY,eAAe,QAC3B,iBACC;EAmCG,aAAa,WAAW,aAAa;EASrC,iBACJ,eACA,YACA,SAAQ,eAAe,OACtB,QAAQ;EAaL,0BACJ,eACA,YACA,SAAQ,eAAe,OACtB,SAAS;EAKN,gCACJ,kBACA,WACA,eACA,SAAQ,eAAe,OACtB,SAAS;;wBA8ME,kBAAkB;wBAgClB,kBAAkB,cAAc;wBA+LhC,wBACd,QAAQ,eAAe,gBACb,eAAe"}
@@ -3,11 +3,11 @@ import { Document } from "@langchain/core/documents";
3
3
  import { EmbeddingsInterface } from "@langchain/core/embeddings";
4
4
  //#region src/vectorstores/neo4j_vector.d.ts
5
5
  type Any = any;
6
- type SearchType = "vector" | "hybrid";
7
- type IndexType = "NODE" | "RELATIONSHIP";
8
- type DistanceStrategy = "euclidean" | "cosine";
9
- type Metadata = Record<string, unknown>;
10
- interface Neo4jVectorStoreArgs {
6
+ export type SearchType = "vector" | "hybrid";
7
+ export type IndexType = "NODE" | "RELATIONSHIP";
8
+ export type DistanceStrategy = "euclidean" | "cosine";
9
+ export type Metadata = Record<string, unknown>;
10
+ export interface Neo4jVectorStoreArgs {
11
11
  url: string;
12
12
  username: string;
13
13
  password: string;
@@ -38,7 +38,7 @@ interface Neo4jVectorStoreArgs {
38
38
  *
39
39
  * @link See https://js.langchain.com/docs/security for more information.
40
40
  */
41
- declare class Neo4jVectorStore extends VectorStore {
41
+ export declare class Neo4jVectorStore extends VectorStore {
42
42
  private driver;
43
43
  private database;
44
44
  private preDeleteCollection;
@@ -82,9 +82,8 @@ declare class Neo4jVectorStore extends VectorStore {
82
82
  similaritySearchWithScore(query: string, k?: number, params?: Record<string, Any>): Promise<[Document, number][]>;
83
83
  similaritySearchVectorWithScore(vector: number[], k: number, query: string, params?: Record<string, Any>): Promise<[Document, number][]>;
84
84
  }
85
- declare function removeLuceneChars(text: string | null): string | null;
86
- declare function isVersionLessThan(v1: number[], v2: number[]): boolean;
87
- declare function constructMetadataFilter(filter: Record<string, Any>): [string, Record<string, Any>];
85
+ export declare function removeLuceneChars(text: string | null): string | null;
86
+ export declare function isVersionLessThan(v1: number[], v2: number[]): boolean;
87
+ export declare function constructMetadataFilter(filter: Record<string, Any>): [string, Record<string, Any>];
88
88
  //#endregion
89
- export { DistanceStrategy, IndexType, Metadata, Neo4jVectorStore, Neo4jVectorStoreArgs, SearchType, constructMetadataFilter, isVersionLessThan, removeLuceneChars };
90
89
  //# sourceMappingURL=neo4j_vector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"neo4j_vector.d.ts","names":[],"sources":["../../src/vectorstores/neo4j_vector.ts"],"mappings":";;;;KAWK;KAEO;KAEA;KAEA;KAEA,WAAW;UAEN;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,YAAY;EACZ;EACA;EACA;;;;;;;;;;;;;;;;cAsBW,yBAAyB;UAC5B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER;EAIA,YAAY,YAAY,qBAAqB,QAAQ;SAIxC,WACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EAoCxB,oBACJ,KACA,UACA,UACA,YACC,uBAAoB;EAWjB,uBAAmB;EAInB,kBAAc;EAiCd,SAAK;EAIL,cAAU;EAgBV,MAAM,eAAe,SAAQ,MAAW,QAAQ;SAMzC,UACX,iBACA,WAAW,KACX,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SAeE,cACX,MAAM,YACN,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SA8CE,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;SA+CjB,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EA0GxB,kBAAkB;EAsBlB,yBAAqB;EAuCrB,yBACJ,gCACC;EA2CG,sBACJ,gCACC;EAeH,gBACE,QAAQ;KAAS,cAAc;MAC/B,oBACC;KAAS,cAAc;;EAOpB,WACJ,qBACA,WAAW,YACX,YAAY,eAAe,QAC3B,iBACC;EAmCG,aAAa,WAAW,aAAa;EASrC,iBACJ,eACA,YACA,SAAQ,eAAe,OACtB,QAAQ;EAaL,0BACJ,eACA,YACA,SAAQ,eAAe,OACtB,SAAS;EAKN,gCACJ,kBACA,WACA,eACA,SAAQ,eAAe,OACtB,SAAS;;iBA8ME,kBAAkB;iBAgClB,kBAAkB,cAAc;iBA+LhC,wBACd,QAAQ,eAAe,gBACb,eAAe"}
1
+ {"version":3,"file":"neo4j_vector.d.ts","names":[],"sources":["../../src/vectorstores/neo4j_vector.ts"],"mappings":";;;;KAWK;YAEO;YAEA;YAEA;YAEA,WAAW;iBAEN;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,YAAY;EACZ;EACA;EACA;;;;;;;;;;;;;;;;qBAsBW,yBAAyB;UAC5B;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;UAEA;EAER;EAIA,YAAY,YAAY,qBAAqB,QAAQ;SAIxC,WACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EAoCxB,oBACJ,KACA,UACA,UACA,YACC,uBAAoB;EAWjB,uBAAmB;EAInB,kBAAc;EAiCd,SAAK;EAIL,cAAU;EAgBV,MAAM,eAAe,SAAQ,MAAW,QAAQ;SAMzC,UACX,iBACA,WAAW,KACX,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SAeE,cACX,MAAM,YACN,YAAY,qBACZ,QAAQ,uBACP,QAAQ;SA8CE,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;SA+CjB,kBACX,YAAY,qBACZ,QAAQ,uBAAoB,QAAA;EA0GxB,kBAAkB;EAsBlB,yBAAqB;EAuCrB,yBACJ,gCACC;EA2CG,sBACJ,gCACC;EAeH,gBACE,QAAQ;KAAS,cAAc;MAC/B,oBACC;KAAS,cAAc;;EAOpB,WACJ,qBACA,WAAW,YACX,YAAY,eAAe,QAC3B,iBACC;EAmCG,aAAa,WAAW,aAAa;EASrC,iBACJ,eACA,YACA,SAAQ,eAAe,OACtB,QAAQ;EAaL,0BACJ,eACA,YACA,SAAQ,eAAe,OACtB,SAAS;EAKN,gCACJ,kBACA,WACA,eACA,SAAQ,eAAe,OACtB,SAAS;;wBA8ME,kBAAkB;wBAgClB,kBAAkB,cAAc;wBA+LhC,wBACd,QAAQ,eAAe,gBACb,eAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/neo4j",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Neo4j integrations for LangChain.js",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "neo4j-driver": "^6.2.0"
18
18
  },
19
19
  "peerDependencies": {
20
- "@langchain/core": "^1.2.14",
21
- "@langchain/classic": "1.0.52"
20
+ "@langchain/classic": "1.0.53",
21
+ "@langchain/core": "^1.2.18"
22
22
  },
23
23
  "peerDependenciesMeta": {
24
24
  "@langchain/classic": {
@@ -27,15 +27,15 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@tsconfig/recommended": "^1.0.10",
30
- "@types/node": "^26.4.0",
31
- "@vitest/coverage-v8": "^4.1.11",
30
+ "@types/node": "^26.6.3",
31
+ "@vitest/coverage-v8": "^5.0.2",
32
32
  "dotenv": "^17.4.2",
33
33
  "dpdm": "^4.3.0",
34
34
  "rimraf": "^6.1.3",
35
35
  "typescript": "~7.0.2",
36
- "vitest": "^4.1.11",
37
- "@langchain/classic": "1.0.52",
38
- "@langchain/core": "^1.2.14",
36
+ "vitest": "^5.0.2",
37
+ "@langchain/classic": "1.0.53",
38
+ "@langchain/core": "^1.2.18",
39
39
  "@langchain/tsconfig": "0.0.1",
40
40
  "@langchain/standard-tests": "0.0.23"
41
41
  },