File tree 2 files changed +56
-2
lines changed
2 files changed +56
-2
lines changed Original file line number Diff line number Diff line change @@ -40,3 +40,57 @@ HybridCypherRetriever
40
40
41
41
.. autoclass :: neo4j_genai.retrievers.hybrid.HybridCypherRetriever
42
42
:members:
43
+
44
+
45
+ ******
46
+ Errors
47
+ ******
48
+
49
+
50
+ RetrieverInitializationError
51
+ ============================
52
+
53
+ .. autoclass :: neo4j_genai.exceptions.RetrieverInitializationError
54
+ :members:
55
+
56
+
57
+ SearchValidationError
58
+ =====================
59
+
60
+ .. autoclass :: neo4j_genai.exceptions.SearchValidationError
61
+ :members:
62
+
63
+
64
+ FilterValidationError
65
+ =====================
66
+
67
+ .. autoclass :: neo4j_genai.exceptions.FilterValidationError
68
+ :members:
69
+
70
+
71
+ EmbeddingRequiredError
72
+ ======================
73
+
74
+ .. autoclass :: neo4j_genai.exceptions.EmbeddingRequiredError
75
+ :members:
76
+
77
+
78
+ RecordCreationError
79
+ ===================
80
+
81
+ .. autoclass :: neo4j_genai.exceptions.RecordCreationError
82
+ :members:
83
+
84
+
85
+ Neo4jIndexError
86
+ ===============
87
+
88
+ .. autoclass :: neo4j_genai.exceptions.Neo4jIndexError
89
+ :members:
90
+
91
+
92
+ Neo4jVersionError
93
+ =================
94
+
95
+ .. autoclass :: neo4j_genai.exceptions.Neo4jVersionError
96
+ :members:
Original file line number Diff line number Diff line change 17
17
class RetrieverInitializationError (Exception ):
18
18
"""Exception raised when initialization of a retriever fails."""
19
19
20
- def __init__ (self , errors ):
20
+ def __init__ (self , errors : str ):
21
21
super ().__init__ (f"Initialization failed: { errors } " )
22
22
self .errors = errors
23
23
@@ -31,7 +31,7 @@ def __init__(self, errors):
31
31
32
32
33
33
class FilterValidationError (Exception ):
34
- """Exception raised when an embedding method is required but not provided ."""
34
+ """Exception raised when input validation for metadata filtering fails ."""
35
35
36
36
pass
37
37
You can’t perform that action at this time.
0 commit comments