Skip to content

Commit db4839e

Browse files
authored
Merge pull request #6 from BLaZeKiLL/wip/more-props
More properties exposed from INeo4jQueryFactory
2 parents f006c88 + 1923a01 commit db4839e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Codeblaze.SemanticKernel.Connectors.Memory.Neo4j/INeo4jQueryFactory.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ namespace Codeblaze.SemanticKernel.Connectors.Memory.Neo4j;
44

55
public interface INeo4jQueryFactory
66
{
7+
public IDictionary<string, object> DynamicProperties { get; }
8+
public string IndexName { get; }
9+
public string NodeName { get; }
710
public string TextProperty { get; }
811
public string IndexProperty { get; }
12+
public int Dimensions { get; }
913
(string, object) ListIndexQuery();
1014
(string, object) CreateIndexQuery(string collectionName);
1115
(string, object) DropIndexQuery(string collectionName);
@@ -95,9 +99,11 @@ public class Neo4jVectorIndexQueryFactory(string name, string node, string index
9599
/// and the dynamic property must be returned along with the new query
96100
/// </summary>
97101
public IDictionary<string, object> DynamicProperties { get; } = new Dictionary<string, object>();
98-
102+
public string IndexName => name;
103+
public string NodeName => node;
99104
public string TextProperty => textProperty;
100105
public string IndexProperty => indexProperty;
106+
public int Dimensions => dimensions;
101107

102108
public virtual (string, object) ListIndexQuery()
103109
{

0 commit comments

Comments
 (0)