langroid 0.6.4__py3-none-any.whl → 0.6.5__py3-none-any.whl
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.
- langroid/agent/special/neo4j/neo4j_chat_agent.py +4 -2
- langroid/agent/special/neo4j/utils/system_message.py +2 -1
- {langroid-0.6.4.dist-info → langroid-0.6.5.dist-info}/METADATA +1 -1
- {langroid-0.6.4.dist-info → langroid-0.6.5.dist-info}/RECORD +7 -7
- pyproject.toml +1 -1
- {langroid-0.6.4.dist-info → langroid-0.6.5.dist-info}/LICENSE +0 -0
- {langroid-0.6.4.dist-info → langroid-0.6.5.dist-info}/WHEEL +0 -0
@@ -279,8 +279,10 @@ class Neo4jChatAgent(ChatAgent):
|
|
279
279
|
response = self.read_query(query)
|
280
280
|
if isinstance(response.data, list) and len(response.data) == 0:
|
281
281
|
return """
|
282
|
-
No results found;
|
283
|
-
|
282
|
+
No results found; check if your query used the right label names --
|
283
|
+
remember these are case sensitive, so you have to use the exact label
|
284
|
+
names you found in the schema.
|
285
|
+
Or retry using one of the RETRY-SUGGESTIONS in your instructions.
|
284
286
|
"""
|
285
287
|
if response.success:
|
286
288
|
return json.dumps(response.data)
|
@@ -41,7 +41,8 @@ If you receive a null or other unexpected result,
|
|
41
41
|
(a) make sure you use the available TOOLs correctly,
|
42
42
|
(b) USE `get_schema` tool/function-call to get all the node labels, relationship
|
43
43
|
types, and property keys available in your Neo4j database.
|
44
|
-
(c) LABELS
|
44
|
+
(c) LABELS are CASE-SENSITIVE -- make sure you adhere to the exact label name
|
45
|
+
you found in the schema.
|
45
46
|
(d) see if you have made an assumption in your Neo4j query, and try another way,
|
46
47
|
or use `retrieval_query` to explore the database contents before submitting your
|
47
48
|
final query.
|
@@ -23,9 +23,9 @@ langroid/agent/special/lance_rag_new/query_planner_agent.py,sha256=JqO_5fKW8HPn-
|
|
23
23
|
langroid/agent/special/lance_tools.py,sha256=BznV_r3LAFyybvBRa9KQ0oU7mPM3uQVfri7PFp7M_qc,1894
|
24
24
|
langroid/agent/special/neo4j/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
langroid/agent/special/neo4j/csv_kg_chat.py,sha256=dRsAgMBa1H_EMI2YYgJR2Xyv1D7e4o3G9M64mTewq_c,6409
|
26
|
-
langroid/agent/special/neo4j/neo4j_chat_agent.py,sha256=
|
26
|
+
langroid/agent/special/neo4j/neo4j_chat_agent.py,sha256=xlyIxG3-OQhp6l-dW01HxkehPKMzv2Laqp0DcBJRSrM,13439
|
27
27
|
langroid/agent/special/neo4j/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
-
langroid/agent/special/neo4j/utils/system_message.py,sha256=
|
28
|
+
langroid/agent/special/neo4j/utils/system_message.py,sha256=_2NKX2Sx_7nLGNk_0rUyDkgTHZJuKm_DgtG7M_BFPkY,2920
|
29
29
|
langroid/agent/special/relevance_extractor_agent.py,sha256=zIx8GUdVo1aGW6ASla0NPQjYYIpmriK_TYMijqAx3F8,4796
|
30
30
|
langroid/agent/special/retriever_agent.py,sha256=lvMvf-u9rSosg4YASuFdUbGLgkzLPknXAbJZfZ1LZCc,1868
|
31
31
|
langroid/agent/special/sql/__init__.py,sha256=mWfmm1QpXCezpFOS2eI57M0L_Ok3q5_ukG8tXBnBrEA,319
|
@@ -134,8 +134,8 @@ langroid/vector_store/meilisearch.py,sha256=6frB7GFWeWmeKzRfLZIvzRjllniZ1cYj3Hmh
|
|
134
134
|
langroid/vector_store/momento.py,sha256=qR-zBF1RKVHQZPZQYW_7g-XpTwr46p8HJuYPCkfJbM4,10534
|
135
135
|
langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
|
136
136
|
langroid/vector_store/qdrantdb.py,sha256=v88lqFkepADvlN6lByUj9I4NEKa9X9lWH16uTPPbYrE,17457
|
137
|
-
pyproject.toml,sha256=
|
138
|
-
langroid-0.6.
|
139
|
-
langroid-0.6.
|
140
|
-
langroid-0.6.
|
141
|
-
langroid-0.6.
|
137
|
+
pyproject.toml,sha256=DzLYdTaZkEq7skUJyKoSIG57xLpZlLmL7ws2KwYPBe4,7063
|
138
|
+
langroid-0.6.5.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
139
|
+
langroid-0.6.5.dist-info/METADATA,sha256=rSOgUJQHwzIdMef_inx5Up7kT9BUUrbroPVr-fg_9zo,54402
|
140
|
+
langroid-0.6.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
141
|
+
langroid-0.6.5.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|