langroid 0.15.0__py3-none-any.whl → 0.15.2__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 +6 -1
- langroid/py.typed +0 -0
- {langroid-0.15.0.dist-info → langroid-0.15.2.dist-info}/METADATA +1 -1
- {langroid-0.15.0.dist-info → langroid-0.15.2.dist-info}/RECORD +7 -6
- pyproject.toml +2 -3
- {langroid-0.15.0.dist-info → langroid-0.15.2.dist-info}/LICENSE +0 -0
- {langroid-0.15.0.dist-info → langroid-0.15.2.dist-info}/WHEEL +0 -0
@@ -91,6 +91,11 @@ class Neo4jChatAgent(ChatAgent):
|
|
91
91
|
self._import_neo4j()
|
92
92
|
self._initialize_connection()
|
93
93
|
self._init_tool_messages()
|
94
|
+
self.init_state()
|
95
|
+
|
96
|
+
def init_state(self) -> None:
|
97
|
+
super().init_state()
|
98
|
+
self.current_retrieval_cypher_query: str = ""
|
94
99
|
|
95
100
|
def handle_message_fallback(
|
96
101
|
self, msg: str | ChatDocument
|
@@ -274,7 +279,7 @@ class Neo4jChatAgent(ChatAgent):
|
|
274
279
|
the database.
|
275
280
|
"""
|
276
281
|
query = msg.cypher_query
|
277
|
-
|
282
|
+
self.current_retrieval_cypher_query = query
|
278
283
|
logger.info(f"Executing Cypher query: {query}")
|
279
284
|
response = self.read_query(query)
|
280
285
|
if isinstance(response.data, list) and len(response.data) == 0:
|
langroid/py.typed
ADDED
File without changes
|
@@ -19,7 +19,7 @@ langroid/agent/special/lance_rag/query_planner_agent.py,sha256=5YPeliCjlRk1LEDe5
|
|
19
19
|
langroid/agent/special/lance_tools.py,sha256=qS8x4wi8mrqfbYV2ztFzrcxyhHQ0ZWOc-zkYiH7awj0,2105
|
20
20
|
langroid/agent/special/neo4j/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
langroid/agent/special/neo4j/csv_kg_chat.py,sha256=dRsAgMBa1H_EMI2YYgJR2Xyv1D7e4o3G9M64mTewq_c,6409
|
22
|
-
langroid/agent/special/neo4j/neo4j_chat_agent.py,sha256=
|
22
|
+
langroid/agent/special/neo4j/neo4j_chat_agent.py,sha256=2r9kZ1AH3AxvJ6BZn0BZLhz-Bw8b7xUBlRv86gSEE8s,13542
|
23
23
|
langroid/agent/special/neo4j/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
24
24
|
langroid/agent/special/neo4j/utils/system_message.py,sha256=_2NKX2Sx_7nLGNk_0rUyDkgTHZJuKm_DgtG7M_BFPkY,2920
|
25
25
|
langroid/agent/special/relevance_extractor_agent.py,sha256=zIx8GUdVo1aGW6ASla0NPQjYYIpmriK_TYMijqAx3F8,4796
|
@@ -104,6 +104,7 @@ langroid/prompts/chat-gpt4-system-prompt.md,sha256=Q3uLCJTPQvmUkZN2XDnkBC7M2K3X0
|
|
104
104
|
langroid/prompts/dialog.py,sha256=SpfiSyofSgy2pwD1YboHR_yHO3LEEMbv6j2sm874jKo,331
|
105
105
|
langroid/prompts/prompts_config.py,sha256=p_lp9nbMuQwhhMwAZsOxveRw9C0ZFZvql7pdIfgVZYo,143
|
106
106
|
langroid/prompts/templates.py,sha256=kz0rPiM6iLGhhpDonF3Y87OznSe9FRI6A0pHU0wgW4Q,6314
|
107
|
+
langroid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
108
|
langroid/pydantic_v1/__init__.py,sha256=HxPGVERapVueRUORgSpj2JX_vTZxVlVbWvhpQlpjygE,283
|
108
109
|
langroid/pydantic_v1/main.py,sha256=p_k7kDY9eDrsA5dxNNqXusKLgx7mS_icGnS7fu4goqY,147
|
109
110
|
langroid/utils/.chainlit/config.toml,sha256=1t5lHORGzc2E6dkaO9P15jYHu2w-4Kl9pYjpDPc84vs,3716
|
@@ -137,8 +138,8 @@ langroid/vector_store/meilisearch.py,sha256=6frB7GFWeWmeKzRfLZIvzRjllniZ1cYj3Hmh
|
|
137
138
|
langroid/vector_store/momento.py,sha256=qR-zBF1RKVHQZPZQYW_7g-XpTwr46p8HJuYPCkfJbM4,10534
|
138
139
|
langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
|
139
140
|
langroid/vector_store/qdrantdb.py,sha256=v88lqFkepADvlN6lByUj9I4NEKa9X9lWH16uTPPbYrE,17457
|
140
|
-
pyproject.toml,sha256=
|
141
|
-
langroid-0.15.
|
142
|
-
langroid-0.15.
|
143
|
-
langroid-0.15.
|
144
|
-
langroid-0.15.
|
141
|
+
pyproject.toml,sha256=UKn6g-ebguW3_jvH4H7Ru7Iqbo7XJtZEr2aSX-cIJ5E,7157
|
142
|
+
langroid-0.15.2.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
143
|
+
langroid-0.15.2.dist-info/METADATA,sha256=4L_GLwCE6hG1sGsNreAlqSfUQw801L85U2bPTlM71Mk,55481
|
144
|
+
langroid-0.15.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
145
|
+
langroid-0.15.2.dist-info/RECORD,,
|
pyproject.toml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "langroid"
|
3
|
-
version = "0.15.
|
3
|
+
version = "0.15.2"
|
4
4
|
description = "Harness LLMs with Multi-Agent Programming"
|
5
5
|
authors = ["Prasad Chalasani <pchalasani@gmail.com>"]
|
6
6
|
readme = "README.md"
|
7
7
|
license = "MIT"
|
8
|
-
include = ["pyproject.toml"]
|
9
|
-
|
8
|
+
include = ["pyproject.toml", "langroid/py.typed"]
|
10
9
|
|
11
10
|
# =============== MAIN DEPS ==============
|
12
11
|
[tool.poetry.dependencies]
|
File without changes
|
File without changes
|