lfx-nightly 0.1.12.dev42__py3-none-any.whl → 0.2.0.dev0__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.
- lfx/_assets/component_index.json +1 -1
- lfx/base/agents/agent.py +109 -29
- lfx/base/agents/events.py +102 -35
- lfx/base/agents/utils.py +15 -2
- lfx/base/composio/composio_base.py +24 -9
- lfx/base/datastax/__init__.py +5 -0
- lfx/{components/vectorstores/astradb.py → base/datastax/astradb_base.py} +84 -473
- lfx/base/io/chat.py +5 -4
- lfx/base/mcp/util.py +101 -15
- lfx/base/models/cometapi_constants.py +54 -0
- lfx/base/models/model_input_constants.py +74 -7
- lfx/base/models/ollama_constants.py +3 -0
- lfx/base/models/watsonx_constants.py +12 -0
- lfx/cli/commands.py +1 -1
- lfx/components/agents/__init__.py +3 -1
- lfx/components/agents/agent.py +47 -4
- lfx/components/agents/altk_agent.py +366 -0
- lfx/components/agents/cuga_agent.py +1 -1
- lfx/components/agents/mcp_component.py +32 -2
- lfx/components/amazon/amazon_bedrock_converse.py +1 -1
- lfx/components/apify/apify_actor.py +3 -3
- lfx/components/cometapi/__init__.py +32 -0
- lfx/components/cometapi/cometapi.py +166 -0
- lfx/components/datastax/__init__.py +12 -6
- lfx/components/datastax/{astra_assistant_manager.py → astradb_assistant_manager.py} +1 -0
- lfx/components/datastax/astradb_chatmemory.py +40 -0
- lfx/components/datastax/astradb_cql.py +5 -31
- lfx/components/datastax/astradb_graph.py +9 -123
- lfx/components/datastax/astradb_tool.py +12 -52
- lfx/components/datastax/astradb_vectorstore.py +133 -976
- lfx/components/datastax/create_assistant.py +1 -0
- lfx/components/datastax/create_thread.py +1 -0
- lfx/components/datastax/dotenv.py +1 -0
- lfx/components/datastax/get_assistant.py +1 -0
- lfx/components/datastax/getenvvar.py +1 -0
- lfx/components/datastax/graph_rag.py +1 -1
- lfx/components/datastax/list_assistants.py +1 -0
- lfx/components/datastax/run.py +1 -0
- lfx/components/docling/__init__.py +3 -0
- lfx/components/docling/docling_remote_vlm.py +284 -0
- lfx/components/helpers/memory.py +19 -4
- lfx/components/ibm/watsonx.py +25 -21
- lfx/components/input_output/chat.py +8 -0
- lfx/components/input_output/chat_output.py +8 -0
- lfx/components/knowledge_bases/ingestion.py +17 -9
- lfx/components/knowledge_bases/retrieval.py +16 -8
- lfx/components/logic/loop.py +4 -0
- lfx/components/mistral/mistral_embeddings.py +1 -1
- lfx/components/models/embedding_model.py +88 -7
- lfx/components/ollama/ollama.py +221 -14
- lfx/components/openrouter/openrouter.py +49 -147
- lfx/components/processing/parser.py +6 -1
- lfx/components/processing/structured_output.py +55 -17
- lfx/components/vectorstores/__init__.py +0 -6
- lfx/custom/custom_component/component.py +3 -2
- lfx/field_typing/constants.py +1 -0
- lfx/graph/edge/base.py +2 -2
- lfx/graph/graph/base.py +1 -1
- lfx/graph/graph/schema.py +3 -2
- lfx/graph/vertex/vertex_types.py +1 -1
- lfx/io/schema.py +6 -0
- lfx/memory/stubs.py +26 -7
- lfx/schema/message.py +6 -0
- lfx/schema/schema.py +5 -0
- lfx/services/settings/constants.py +1 -0
- {lfx_nightly-0.1.12.dev42.dist-info → lfx_nightly-0.2.0.dev0.dist-info}/METADATA +1 -1
- {lfx_nightly-0.1.12.dev42.dist-info → lfx_nightly-0.2.0.dev0.dist-info}/RECORD +70 -85
- lfx/components/datastax/astra_db.py +0 -77
- lfx/components/datastax/cassandra.py +0 -92
- lfx/components/vectorstores/astradb_graph.py +0 -326
- lfx/components/vectorstores/cassandra.py +0 -264
- lfx/components/vectorstores/cassandra_graph.py +0 -238
- lfx/components/vectorstores/chroma.py +0 -167
- lfx/components/vectorstores/clickhouse.py +0 -135
- lfx/components/vectorstores/couchbase.py +0 -102
- lfx/components/vectorstores/elasticsearch.py +0 -267
- lfx/components/vectorstores/faiss.py +0 -111
- lfx/components/vectorstores/graph_rag.py +0 -141
- lfx/components/vectorstores/hcd.py +0 -314
- lfx/components/vectorstores/milvus.py +0 -115
- lfx/components/vectorstores/mongodb_atlas.py +0 -213
- lfx/components/vectorstores/opensearch.py +0 -243
- lfx/components/vectorstores/pgvector.py +0 -72
- lfx/components/vectorstores/pinecone.py +0 -134
- lfx/components/vectorstores/qdrant.py +0 -109
- lfx/components/vectorstores/supabase.py +0 -76
- lfx/components/vectorstores/upstash.py +0 -124
- lfx/components/vectorstores/vectara.py +0 -97
- lfx/components/vectorstores/vectara_rag.py +0 -164
- lfx/components/vectorstores/weaviate.py +0 -89
- /lfx/components/datastax/{astra_vectorize.py → astradb_vectorize.py} +0 -0
- {lfx_nightly-0.1.12.dev42.dist-info → lfx_nightly-0.2.0.dev0.dist-info}/WHEEL +0 -0
- {lfx_nightly-0.1.12.dev42.dist-info → lfx_nightly-0.2.0.dev0.dist-info}/entry_points.txt +0 -0
|
@@ -4,17 +4,17 @@ lfx/constants.py,sha256=Ert_SpwXhutgcTKEvtDArtkONXgyE5x68opMoQfukMA,203
|
|
|
4
4
|
lfx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
lfx/settings.py,sha256=wnx4zkOLQ8mvampYsnnvVV9GvEnRUuWQpKFSbFTCIp4,181
|
|
6
6
|
lfx/type_extraction.py,sha256=eCZNl9nAQivKdaPv_9BK71N0JV9Rtr--veAht0dnQ4A,2921
|
|
7
|
-
lfx/_assets/component_index.json,sha256=
|
|
7
|
+
lfx/_assets/component_index.json,sha256=l_3w3aDbXfpm9rBujXszWue3tQLOm10ulpTGYD3U0uE,3592962
|
|
8
8
|
lfx/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
lfx/base/constants.py,sha256=v9vo0Ifg8RxDu__XqgGzIXHlsnUFyWM-SSux0uHHoz8,1187
|
|
10
10
|
lfx/base/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
lfx/base/agents/agent.py,sha256
|
|
11
|
+
lfx/base/agents/agent.py,sha256=uKp5OSNxGbKa-fyZLfHl68f1ZntS49LFLNN49OGcnnY,15199
|
|
12
12
|
lfx/base/agents/callback.py,sha256=mjlT9ukBMVrfjYrHsJowqpY4g9hVGBVBIYhncLWr3tQ,3692
|
|
13
13
|
lfx/base/agents/context.py,sha256=u0wboX1aRR22Ia8gY14WF12RjhE0Rxv9hPBiixT9DtQ,3916
|
|
14
14
|
lfx/base/agents/default_prompts.py,sha256=tUjfczwt4D5R1KozNOl1uSL2V2rSCZeUMS-cfV4Gwn0,955
|
|
15
15
|
lfx/base/agents/errors.py,sha256=4QY1AqSWZaOjq-iQRYH_aeCfH_hWECLQkiwybNXz66U,531
|
|
16
|
-
lfx/base/agents/events.py,sha256=
|
|
17
|
-
lfx/base/agents/utils.py,sha256=
|
|
16
|
+
lfx/base/agents/events.py,sha256=wk5sEsAkFbZxx_UUYYSvzWwocmAQZzfFlxKVAb_QSQ8,17170
|
|
17
|
+
lfx/base/agents/utils.py,sha256=VEAVYC6oOadjKeZ-cUS-1OOCnWW69FhpcGWzjvR4uZ8,7161
|
|
18
18
|
lfx/base/agents/crewai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
lfx/base/agents/crewai/crew.py,sha256=TN1JyLXMpJc2yPH3tokhFmxKKYoJ4lMvmG19DmpKfeY,7953
|
|
20
20
|
lfx/base/agents/crewai/tasks.py,sha256=1pBok1UDdAjLtOf2Y-rDrjRaM93no-XLy5Bf_zvWsRM,151
|
|
@@ -23,7 +23,7 @@ lfx/base/astra_assistants/util.py,sha256=T_W44VFoOXBF3m-0eCSrHvzbKx1gdyBF9IAWKMX
|
|
|
23
23
|
lfx/base/chains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
lfx/base/chains/model.py,sha256=QSYJBc0Ygpx2Ko273u1idL_gPK2xpvRQgJb4oTx8x8s,766
|
|
25
25
|
lfx/base/composio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
|
-
lfx/base/composio/composio_base.py,sha256=
|
|
26
|
+
lfx/base/composio/composio_base.py,sha256=3mcseDIDIj25oKDsTnnelvSq8dIImzrFJDmkcNSWOy0,132478
|
|
27
27
|
lfx/base/compressors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
lfx/base/compressors/model.py,sha256=-FFBAPAy9bAgvklIo7x_uwShZR5NoMHakF6f_hNnLHg,2098
|
|
29
29
|
lfx/base/curl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -32,6 +32,8 @@ lfx/base/data/__init__.py,sha256=lQsYYMyAg_jA9ZF7oc-LNZsRE2uMGT6g16WzsUByHqs,81
|
|
|
32
32
|
lfx/base/data/base_file.py,sha256=UKpF9BsNHgg-cdB1uVB8F00czvCTLfks320aLg3F_kM,28049
|
|
33
33
|
lfx/base/data/docling_utils.py,sha256=gVDxOZghSJEo5n-UNkVGBQYqkvfNqkNkltBhAnoaJd4,13048
|
|
34
34
|
lfx/base/data/utils.py,sha256=dGqEO4zE5s_V2Cs4j0EEeyLjYLX6Zex-EGzIOznK76o,5960
|
|
35
|
+
lfx/base/datastax/__init__.py,sha256=s72q8NeqlMuNXb5WcYR2DTIuWOiBtfX23Z_Zte2PHGo,90
|
|
36
|
+
lfx/base/datastax/astradb_base.py,sha256=-6ROQSZtJ1tBXH6984bau-O4nl7NzB8C7Sz9T81YCdI,36776
|
|
35
37
|
lfx/base/document_transformers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
38
|
lfx/base/document_transformers/model.py,sha256=etVEmyakiEgflB-fayClPnFRhaEdXfdUu4cqpgtk8ek,1317
|
|
37
39
|
lfx/base/embeddings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -42,7 +44,7 @@ lfx/base/flow_processing/utils.py,sha256=G-MhVp_W9xdNVYrajovky31bNWgUqq5H4GDlEDW
|
|
|
42
44
|
lfx/base/huggingface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
45
|
lfx/base/huggingface/model_bridge.py,sha256=pObEcu70zRdSZItl9P5SfxdpxTQJeE9Sp79ISbGcoy0,4800
|
|
44
46
|
lfx/base/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
|
-
lfx/base/io/chat.py,sha256=
|
|
47
|
+
lfx/base/io/chat.py,sha256=9FjHtd8Qjl8TqNSCuij5LSO1HGs0FNreGFBZa8F-Edw,1016
|
|
46
48
|
lfx/base/io/text.py,sha256=uW2vdNIccZUzv0FUVafo4W-lOhm8YFJOMV2qytGYHPk,748
|
|
47
49
|
lfx/base/knowledge_bases/__init__.py,sha256=qn65fdRRbwoD1qxHd45sze1ylESqPJaq76TvBysLXbg,151
|
|
48
50
|
lfx/base/knowledge_bases/knowledge_base_utils.py,sha256=yxYm5DTk-TPkibFH_z44jql_MA21y_HaNbk7WZ3eW1Q,4399
|
|
@@ -53,7 +55,7 @@ lfx/base/langwatch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
53
55
|
lfx/base/langwatch/utils.py,sha256=N7rH3sRwgmNQzG0pKjj4wr_ans_drwtvkx4BQt-B0WA,457
|
|
54
56
|
lfx/base/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
57
|
lfx/base/mcp/constants.py,sha256=-1XnJxejlqm9zs1R91qGtOeX-_F1ZpdHVzCIqUCvhgE,62
|
|
56
|
-
lfx/base/mcp/util.py,sha256=
|
|
58
|
+
lfx/base/mcp/util.py,sha256=PpXfEpZTzPcwLXqKimBNh37k3s21wRErxKnNXIUd980,71844
|
|
57
59
|
lfx/base/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
60
|
lfx/base/memory/memory.py,sha256=kZ-aZoHvRW4PJAgY1LUt5UBj7YXbos_aVBPGjC1EFCY,1835
|
|
59
61
|
lfx/base/memory/model.py,sha256=2oDORZV_l-DHLx9j9--wYprQUIYKOb8aTJpXmR1qOLw,1330
|
|
@@ -62,17 +64,19 @@ lfx/base/models/aiml_constants.py,sha256=7r_wG6MklHqPJgerDgXXrfL6cW4lJavXjyDaVpn
|
|
|
62
64
|
lfx/base/models/anthropic_constants.py,sha256=51_fghjdfBRyLSNj3qa-ogyWmeP518HrdsTnV-C-j-Y,2751
|
|
63
65
|
lfx/base/models/aws_constants.py,sha256=-Fa7T3wJqBaZhs80ATRgZP6yZ0Nsd1YYdZv9SfqT-Hs,6327
|
|
64
66
|
lfx/base/models/chat_result.py,sha256=-MypS6_GKXOqWevtk0xwtrsEO4mIgpPAt7-EML5n0vA,2756
|
|
67
|
+
lfx/base/models/cometapi_constants.py,sha256=VDqpyBAXbI79N7YAacK9AGVI7sK7ojVzvxJY-3by-uw,1353
|
|
65
68
|
lfx/base/models/google_generative_ai_constants.py,sha256=EuFd77ZrrSr6YtSKtmEaq0Nfa4y45AbDe_cz_18nReE,2564
|
|
66
69
|
lfx/base/models/google_generative_ai_model.py,sha256=wEIyBkTZcZD3akUiAKTGxazTJnOQeh80WHMKiHdK1wo,1839
|
|
67
70
|
lfx/base/models/groq_constants.py,sha256=WOMpYRwJVrZavsi7zGJwRHJX8ZBvdtILUOmBFv0QIPQ,5536
|
|
68
71
|
lfx/base/models/model.py,sha256=nJgExAvMJ5WMxCqC__Jc1GdkgJag4yrwC9nFtPEVupM,15324
|
|
69
|
-
lfx/base/models/model_input_constants.py,sha256=
|
|
72
|
+
lfx/base/models/model_input_constants.py,sha256=XDG0xYKmPbxUWUXCtj5b7-5w2b3Wupez4mY-jAr_coI,12893
|
|
70
73
|
lfx/base/models/model_metadata.py,sha256=tNFPiRqBJ0WPKdNEqBxuoKk0n8H_h0J--bCV5pk9k4o,1325
|
|
71
74
|
lfx/base/models/model_utils.py,sha256=RwXUSIw5gdRakQ-VGbLI1iT0CeeWrVSNTgUQIrrc6uE,474
|
|
72
75
|
lfx/base/models/novita_constants.py,sha256=_mgBYGwpddUw4CLhLKJl-psOUzA_SQGHrfZJUNes6aI,1247
|
|
73
|
-
lfx/base/models/ollama_constants.py,sha256=
|
|
76
|
+
lfx/base/models/ollama_constants.py,sha256=NixN5DIrmZdz4WqGA2li_PLHYDuWl2D90zWCHxavWaM,1021
|
|
74
77
|
lfx/base/models/openai_constants.py,sha256=DSlnUjmtb6KXQNDifxop4VVQPvB1Y9vftK6ZmFiudf4,4798
|
|
75
78
|
lfx/base/models/sambanova_constants.py,sha256=mYPF7vUbMow9l4jQ2OJrIkAJhGs3fGWTCVNfG3oQZTc,519
|
|
79
|
+
lfx/base/models/watsonx_constants.py,sha256=lR0hOxcrQwHSMTH_49fmYlGJJb6KEeeyoUeXK8PUBf4,792
|
|
76
80
|
lfx/base/processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
81
|
lfx/base/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
82
|
lfx/base/prompts/api_utils.py,sha256=f1LHI6w4sVrSXxfi8zE9bfdre73sFrGtxr96VoLJByU,8032
|
|
@@ -90,7 +94,7 @@ lfx/base/vectorstores/model.py,sha256=pDAZ6D6XnMxGAV9hJjc3DYhjI9n77sc_FIs5lnpsDb
|
|
|
90
94
|
lfx/base/vectorstores/utils.py,sha256=OhBNYs9Z9poe82rTNFPdrESNRGuP6RO6-eOpwqJLBG0,750
|
|
91
95
|
lfx/base/vectorstores/vector_store_connection_decorator.py,sha256=2gh3DMhcMsCgVYFEFaVNMT3zsbd-fkFy5Bl_-jXDu8c,1998
|
|
92
96
|
lfx/cli/__init__.py,sha256=Oy17zrnwBlwJn80sMGyRJXos2n2eQGvSsh9CS_-v2R4,113
|
|
93
|
-
lfx/cli/commands.py,sha256=
|
|
97
|
+
lfx/cli/commands.py,sha256=kDqZj78QE0tcPCB-k8pTy6D_nRUFkUW2lsFGn7GQlU0,11898
|
|
94
98
|
lfx/cli/common.py,sha256=SvszBhWoOttM27rButhBOpvE8lO5UGMYL0NaG_OW8bc,22060
|
|
95
99
|
lfx/cli/run.py,sha256=U4oKC21-jOu1mBTkWI4aASnvKuzi_ak3egZEci51ofU,21593
|
|
96
100
|
lfx/cli/script_loader.py,sha256=xWSpx57cBeX0UHmUgAk97aye9-hhD2Y6nKh68A-xaTA,8997
|
|
@@ -111,22 +115,23 @@ lfx/components/Notion/search.py,sha256=WEDYbNotXdlgTXrmRtpZ9_proiOJl1zouNPRpFllg
|
|
|
111
115
|
lfx/components/Notion/update_page_property.py,sha256=tgmPMbD1eX58dQQNXv1w5FzDec7QwFiBuOqh4RazoJ0,4541
|
|
112
116
|
lfx/components/agentql/__init__.py,sha256=Erl669Dzsk-SegsDPWTtkKbprMXVuv8UTCo5REzZGTc,56
|
|
113
117
|
lfx/components/agentql/agentql_api.py,sha256=N94yEK7ZuQCIsFBlr_8dqrJY-K1-KNb6QEEYfDIsDME,5569
|
|
114
|
-
lfx/components/agents/__init__.py,sha256=
|
|
115
|
-
lfx/components/agents/agent.py,sha256=
|
|
116
|
-
lfx/components/agents/
|
|
117
|
-
lfx/components/agents/
|
|
118
|
+
lfx/components/agents/__init__.py,sha256=O5ng90Dn9mSlpCdeGPXM4tvdWYVfEMv_7PGDKShyBKg,1294
|
|
119
|
+
lfx/components/agents/agent.py,sha256=rfczlpKAoTuGDIhJWDQU7GZSXrT1uJbjD-540TakFKU,28103
|
|
120
|
+
lfx/components/agents/altk_agent.py,sha256=D_ChOwqYao0QZBfiLpiMVoMOgCwzcb_q0MIPDULLHW8,15939
|
|
121
|
+
lfx/components/agents/cuga_agent.py,sha256=JNi4MsSziTJQI3z_0KGzNWxm5RDaMk_W9zcTW2KcTtI,44499
|
|
122
|
+
lfx/components/agents/mcp_component.py,sha256=gbEzi-hZMqVmIGO5DjJDOlmpisPkylOSZSGgaDjiQLY,26809
|
|
118
123
|
lfx/components/aiml/__init__.py,sha256=DNKB-HMFGFYmsdkON-s8557ttgBXVXADmS-BcuSQiIQ,1087
|
|
119
124
|
lfx/components/aiml/aiml.py,sha256=23Ineg1ajlCoqXgWgp50I20OnQbaleRNsw1c6IzPu3A,3877
|
|
120
125
|
lfx/components/aiml/aiml_embeddings.py,sha256=2uNwORuj55mxn2SfLbh7oAIfjuXwHbsnOqRjfMtQRqc,1095
|
|
121
126
|
lfx/components/amazon/__init__.py,sha256=QRsw-7ytuqZWhNPmlslCQEcpNsAw6dX5FV_8ihUdlPQ,1338
|
|
122
|
-
lfx/components/amazon/amazon_bedrock_converse.py,sha256=
|
|
127
|
+
lfx/components/amazon/amazon_bedrock_converse.py,sha256=VMM1-Gmf-XUfaW-LChb4DnFUF_5LfA1LIo84kmjvUGE,8195
|
|
123
128
|
lfx/components/amazon/amazon_bedrock_embedding.py,sha256=cNA5_3nwkegWS3BY75IfjOwpo-g8dpg-EgtQJSgVXfg,4261
|
|
124
129
|
lfx/components/amazon/amazon_bedrock_model.py,sha256=kiCTqDG2Krbe0i5YBG9UODxwNTB9ePZwLfgNMR91UwQ,5113
|
|
125
130
|
lfx/components/amazon/s3_bucket_uploader.py,sha256=bkui2vw8ibgg4dSUYZ7yAEbVOjgmB8oOYqH-3ZvTlBQ,7688
|
|
126
131
|
lfx/components/anthropic/__init__.py,sha256=SGllKMRoX3KQkDpdzsLUYqbfTbhFu9qjpM6bQHL2syQ,965
|
|
127
132
|
lfx/components/anthropic/anthropic.py,sha256=fIlMWma6rsfQ499vkkLSWFZqwKn5ifvhFQnC_quHkEw,7289
|
|
128
133
|
lfx/components/apify/__init__.py,sha256=ADNTjMjTglvdC34YEgMYWippzrXWiH3ku_3RvRQcOlw,89
|
|
129
|
-
lfx/components/apify/apify_actor.py,sha256=
|
|
134
|
+
lfx/components/apify/apify_actor.py,sha256=n8_bD7CAbGG-6FQrUYFlZGlQzl71wGXuOqHp-bHEoYc,12850
|
|
130
135
|
lfx/components/arxiv/__init__.py,sha256=g3uhahiWz1ZALR65oBFfO-hmrHcJLb5HuUqbeTFZ2Ss,64
|
|
131
136
|
lfx/components/arxiv/arxiv.py,sha256=IZI57itI_oiu_BA3q9QQRP8bh2TqIjrcOXCR7QT_DSM,6627
|
|
132
137
|
lfx/components/assemblyai/__init__.py,sha256=H0Rt2gzDDgj6IL8laOpolIFzhueT08VaMiVetGvlt0c,1632
|
|
@@ -161,6 +166,8 @@ lfx/components/cohere/__init__.py,sha256=MSTeplsNIXTVm_dUcJETy6YGb-fw7-dplC9jzAo
|
|
|
161
166
|
lfx/components/cohere/cohere_embeddings.py,sha256=nA9BOixk534yJZymJaukBrQYBj_uB2nyYvzJPd_3aUc,3083
|
|
162
167
|
lfx/components/cohere/cohere_models.py,sha256=WUhS4dcG8FBcJm2dCfhiDuaxZX8S1lICMI_Mmd6kflo,1563
|
|
163
168
|
lfx/components/cohere/cohere_rerank.py,sha256=qUoNEe6sjUnvkTHkCzwayBuLDoH957BBEgb-Qu_k9Yk,1554
|
|
169
|
+
lfx/components/cometapi/__init__.py,sha256=2wKkp6iJyQhCIe5wi5amkbAZZNdrH11REcJqWnptd-k,936
|
|
170
|
+
lfx/components/cometapi/cometapi.py,sha256=TsSohS6cx8XuPNYq85XUOm85Q4LQn3FMd5qipRBZlKk,6028
|
|
164
171
|
lfx/components/composio/__init__.py,sha256=Ycwax7TUDTez6O9Q9cv0I9GT0eB1hquDIOMJo51R_64,7996
|
|
165
172
|
lfx/components/composio/agentql_composio.py,sha256=zKcIoQq2WmY_if3b7e6N0S5Z-k1aDAoQSoeKePiRIwI,352
|
|
166
173
|
lfx/components/composio/agiled_composio.py,sha256=MpSpUaGo0t2Lu-KzHpv4NT0LZNbvLwkdZ3gJ0gf9cdk,347
|
|
@@ -236,24 +243,23 @@ lfx/components/data/sql_executor.py,sha256=sN1lWM65O_pCfZxNAzgjtZmcTPGBLqMud2_7n
|
|
|
236
243
|
lfx/components/data/url.py,sha256=zbfTeTBukw3F_mRBMIJrQYF94psEIBuS8dFjcQku5SE,11001
|
|
237
244
|
lfx/components/data/web_search.py,sha256=48SCp-2I_Qckp5tmTVC9JBw2C-MhBDF14MJLaGjLpyQ,12758
|
|
238
245
|
lfx/components/data/webhook.py,sha256=i2jdXSLUVA0UpnYBZzdPo035MeiUcFKVJy37EhLKq6o,1643
|
|
239
|
-
lfx/components/datastax/__init__.py,sha256=
|
|
240
|
-
lfx/components/datastax/
|
|
241
|
-
lfx/components/datastax/
|
|
242
|
-
lfx/components/datastax/
|
|
243
|
-
lfx/components/datastax/
|
|
244
|
-
lfx/components/datastax/
|
|
245
|
-
lfx/components/datastax/
|
|
246
|
-
lfx/components/datastax/astradb_vectorstore.py,sha256=
|
|
247
|
-
lfx/components/datastax/
|
|
248
|
-
lfx/components/datastax/
|
|
249
|
-
lfx/components/datastax/
|
|
250
|
-
lfx/components/datastax/
|
|
251
|
-
lfx/components/datastax/
|
|
252
|
-
lfx/components/datastax/
|
|
253
|
-
lfx/components/datastax/graph_rag.py,sha256=4NmYQkjSru_zaDhJfxdaYtap-RMGJfv2AYN2NEYSdds,5163
|
|
246
|
+
lfx/components/datastax/__init__.py,sha256=4zuJU2d0ucI2sCrfXQ06lpURgli_8DkIyd1szjkx2Ts,2712
|
|
247
|
+
lfx/components/datastax/astradb_assistant_manager.py,sha256=jUrBzuN6ws_KuWG4NplR0Mbcw-7FlDCnXFeWpckvNdc,11575
|
|
248
|
+
lfx/components/datastax/astradb_chatmemory.py,sha256=uvyB94x2O_6LH7CBeNp6watpYU31_wTPPPcSeXyF3t8,1475
|
|
249
|
+
lfx/components/datastax/astradb_cql.py,sha256=MQthGbCvoNl2ccqtiXN97T9D9yVlsqteGKNkc7LpFA4,10930
|
|
250
|
+
lfx/components/datastax/astradb_graph.py,sha256=-LQlwfU1NI2Pnzm4HWNmf0UonuCogzwpI3qNX32axvc,8415
|
|
251
|
+
lfx/components/datastax/astradb_tool.py,sha256=wMbRqH2Ovj8qTr4py2Vj4i1nmehX4FWLjkynYYoiF8g,15048
|
|
252
|
+
lfx/components/datastax/astradb_vectorize.py,sha256=PZdmkMJiPAnTankXjFjdG192OeHVetxBfGzbwxgPQ54,4912
|
|
253
|
+
lfx/components/datastax/astradb_vectorstore.py,sha256=KxLNuWtnar7NNh3DFIdFmcTYbKcj7ZfLSemaTWUnUJc,18869
|
|
254
|
+
lfx/components/datastax/create_assistant.py,sha256=jZhp2aid7fxH7yrDFOECmqVZ-56g4KAY_NUTIJvNN1o,2124
|
|
255
|
+
lfx/components/datastax/create_thread.py,sha256=XUCnOsz98fVRuTgoGgD5aw6KChIeomM1ikeXfc-zGaM,1103
|
|
256
|
+
lfx/components/datastax/dotenv.py,sha256=ND6pqsobuZXUg6dYJiHkrZmwWEl5bJl0gApsTVWg5J8,1116
|
|
257
|
+
lfx/components/datastax/get_assistant.py,sha256=H2DaFh_T3s-3P96Qg0-anBXZcpz26tRy-KO8fE6CC5A,1273
|
|
258
|
+
lfx/components/datastax/getenvvar.py,sha256=CD8KlPOAWZ2wqLY6M33mmlI3THvl3Q2PIvoq_gkhtTk,965
|
|
259
|
+
lfx/components/datastax/graph_rag.py,sha256=TYNwml9ftIGiybIemxVRPiuKBAJussW6Bi7bCUgvVlo,5162
|
|
254
260
|
lfx/components/datastax/hcd.py,sha256=fnRp4DvFTHqDlKZD-a0xZBGoPrVvxaZ_vXJXzHzt-ts,12478
|
|
255
|
-
lfx/components/datastax/list_assistants.py,sha256=
|
|
256
|
-
lfx/components/datastax/run.py,sha256=
|
|
261
|
+
lfx/components/datastax/list_assistants.py,sha256=F-nFx4pu6hPK3Ka5H3Lff3ZA_9jkVWl94v_bFZhD6QA,946
|
|
262
|
+
lfx/components/datastax/run.py,sha256=XiGc0pDTaHPMOf8cioYfSPDVRh0d3ee3qV5iogjpiCI,3081
|
|
257
263
|
lfx/components/deactivated/__init__.py,sha256=A94MZ_EW-Ckp2sgDMiXNrptAaUzMbgbkl6yVpBjJXm8,485
|
|
258
264
|
lfx/components/deactivated/amazon_kendra.py,sha256=y2klL_LZCKphRQoZbimTB3P1ohUWtBuFZaTCMBnI6tg,2152
|
|
259
265
|
lfx/components/deactivated/chat_litellm_model.py,sha256=8YGuEPxhRJKQ8py0y-dBSZaU6_ad5DAMhmuM5xU8p9Y,4982
|
|
@@ -279,10 +285,11 @@ lfx/components/deactivated/vectara_self_query.py,sha256=nlRFL-FIdecgpaR70ohC8Tsl
|
|
|
279
285
|
lfx/components/deactivated/vector_store.py,sha256=7L1Z8Nl0RZjEGAj1O2tMhb6I6jUNNc5MBOui4a2FkXE,728
|
|
280
286
|
lfx/components/deepseek/__init__.py,sha256=gmyOcLeNEcnwSeowow0N0UhBDlSuZ_8x-DMUjwkNRFM,935
|
|
281
287
|
lfx/components/deepseek/deepseek.py,sha256=yNrHoljXOMScKng-oSB-ceWhVZeuh11lmrAY7WiB2H0,4702
|
|
282
|
-
lfx/components/docling/__init__.py,sha256=
|
|
288
|
+
lfx/components/docling/__init__.py,sha256=UPtKdQKonYMQZCmE-zuBhJwNbSKIoddgB_WTl0Yp7oM,1574
|
|
283
289
|
lfx/components/docling/chunk_docling_document.py,sha256=OX-jj4nX3UZgopViMAGAnFgtLql0sgs6cVmU8p9QbqA,7600
|
|
284
290
|
lfx/components/docling/docling_inline.py,sha256=12s4U860c-wkpmd2JYi6qxK1Wx_PF9j9BARLhXCL0E0,8496
|
|
285
291
|
lfx/components/docling/docling_remote.py,sha256=Ju61E93tLBq6KsRRGVA1_ySWzEOdOFj9jS9kJ7gc3H4,6980
|
|
292
|
+
lfx/components/docling/docling_remote_vlm.py,sha256=aAEk2vepXzB9aHWEfgbmOrfRuLa2sEh4T1dVyGwIN-A,10538
|
|
286
293
|
lfx/components/docling/export_docling_document.py,sha256=TeFt3TesCxSqW57nv-30gf2dX8qMDUHLRhwU-1ciq08,4681
|
|
287
294
|
lfx/components/documentloaders/__init__.py,sha256=LNl2hG2InevQCUREFKhF9ylaTf_kwPsdjiDbx2ElX3M,69
|
|
288
295
|
lfx/components/duckduckgo/__init__.py,sha256=Y4zaOLVOKsD_qwF7KRLek1pcaKKHa6lGUHObuQTR9iY,104
|
|
@@ -322,7 +329,7 @@ lfx/components/helpers/calculator_core.py,sha256=X8-ia-d91DDFnTgomG-CvReheMve_y0
|
|
|
322
329
|
lfx/components/helpers/create_list.py,sha256=nsdw0DMQ6ZLyvJ0mQasB0ACkYE6I8avCbXCIv34Ba14,1146
|
|
323
330
|
lfx/components/helpers/current_date.py,sha256=hznwtkoFTMy-HpHWEAC6FdVlf52oaFXCYLFh_5ud13o,1561
|
|
324
331
|
lfx/components/helpers/id_generator.py,sha256=zduLTtvDX9WfHISGhSvY5sCTGfqomIVe5gu6KGQ_q9k,1203
|
|
325
|
-
lfx/components/helpers/memory.py,sha256=
|
|
332
|
+
lfx/components/helpers/memory.py,sha256=In4FO0cEJG-xqqR0nVHXGnyxz5LGYAulUuXPSvHilVI,10382
|
|
326
333
|
lfx/components/helpers/output_parser.py,sha256=m-tio-j7M2Ipjmgb37wy5JPIQBROTxku0QaHLAs7vUY,1574
|
|
327
334
|
lfx/components/helpers/store_message.py,sha256=mtGqCLWXuB2RnHufqj1FbiGAnTQOURSZMCvvo3gNLtc,3489
|
|
328
335
|
lfx/components/homeassistant/__init__.py,sha256=qTAvZrtw8Mf4F_9ZjHBTc1pAB-Pu5sLaUB46iR24E_c,195
|
|
@@ -332,13 +339,13 @@ lfx/components/huggingface/__init__.py,sha256=b8NFo5-9zbBY4f9UVMzzQ9GdnSGqHYRKSW
|
|
|
332
339
|
lfx/components/huggingface/huggingface.py,sha256=up18KIWd__v1wjKe6Ee4jzFZ3pzYao6RIRRICTFXlEc,7621
|
|
333
340
|
lfx/components/huggingface/huggingface_inference_api.py,sha256=rwVGZYl0uE-AEeSwMOmnBqc1i-973atZCr2IhX-yVY4,4243
|
|
334
341
|
lfx/components/ibm/__init__.py,sha256=Jz5-Fc7fG2rW5qeHEJ1z9KfFkItpuINKBu-D4HaT-uc,1094
|
|
335
|
-
lfx/components/ibm/watsonx.py,sha256=
|
|
342
|
+
lfx/components/ibm/watsonx.py,sha256=M2Ai4KDSJFy2VI9evLTr5fYn67eyMxJQpXl64xedQp0,7940
|
|
336
343
|
lfx/components/ibm/watsonx_embeddings.py,sha256=_97UE-qQDCjkWfX3NFWNCti4TUXxO1LO0FIBQnFW4Co,4824
|
|
337
344
|
lfx/components/icosacomputing/__init__.py,sha256=NByWM-IMPf7N1lOeZDet8CvIa8A25kG3yKircYwS52w,120
|
|
338
345
|
lfx/components/icosacomputing/combinatorial_reasoner.py,sha256=SFVwR_8jGHVDaGO81jj2vzzeKh892h1nMGxCDljbvNY,2766
|
|
339
346
|
lfx/components/input_output/__init__.py,sha256=BaDAE9j41eSg04p5S6MJyUs4daU8UNp5e4m988K4VLQ,1291
|
|
340
|
-
lfx/components/input_output/chat.py,sha256=
|
|
341
|
-
lfx/components/input_output/chat_output.py,sha256=
|
|
347
|
+
lfx/components/input_output/chat.py,sha256=ABSltBgX0KcpqEjAsJY25Vn4_0GVGTRNAktSsp7xi3Y,3428
|
|
348
|
+
lfx/components/input_output/chat_output.py,sha256=SEitPjXVTitj50hmQrq9LRu68GWSt2NtNa5Www02aFM,6931
|
|
342
349
|
lfx/components/input_output/text.py,sha256=PdKOpZG5zVIoh45uzxRbY_pcycmrLaicoFhf9dauhZ0,743
|
|
343
350
|
lfx/components/input_output/text_output.py,sha256=Ij_Xk2hubdSwZoNDoltJU78YdCw91rE9kkGbY6qLViY,820
|
|
344
351
|
lfx/components/jigsawstack/__init__.py,sha256=vqTmy5sxj_CAdkkdStaquvLrze7FMwGFTjcapd0r5eU,935
|
|
@@ -354,8 +361,8 @@ lfx/components/jigsawstack/text_to_sql.py,sha256=MKoMwV-4QjDLfEs0o_HwZDJYbkhGY_1
|
|
|
354
361
|
lfx/components/jigsawstack/text_translate.py,sha256=RiM-GZYf3oRBKaq7FkzssL2sDU9y7jf3QkMDkER-h8Y,2826
|
|
355
362
|
lfx/components/jigsawstack/vocr.py,sha256=pESRlHunJ8u1QlmG3672Zomf6AeyeF1NZ5vtmDx06AQ,4158
|
|
356
363
|
lfx/components/knowledge_bases/__init__.py,sha256=lcxAelAmtjSo1zEKjtCayPFasuOAIzpKjX_wgW-fTJg,1143
|
|
357
|
-
lfx/components/knowledge_bases/ingestion.py,sha256=
|
|
358
|
-
lfx/components/knowledge_bases/retrieval.py,sha256=
|
|
364
|
+
lfx/components/knowledge_bases/ingestion.py,sha256=x1PpImGucmAPUDnusWCJW1uPuhvdfQ0NWq06uyO5tSQ,28385
|
|
365
|
+
lfx/components/knowledge_bases/retrieval.py,sha256=GJis1t9LZ7tw3zsSebV3RW2GA2UCUE6Bs9AQx9UZRlg,10665
|
|
359
366
|
lfx/components/langchain_utilities/__init__.py,sha256=f39oVjaQixPLfshFl6EeI6rDZgq6U3cVQEi9C-u6Ybw,4386
|
|
360
367
|
lfx/components/langchain_utilities/character.py,sha256=2jCYk9ZOiHeOLCST4GW4ojTgDa-uAFIjSJ3hdx2sTjA,1747
|
|
361
368
|
lfx/components/langchain_utilities/conversation.py,sha256=sOQETT8IHogc_xZu4PIEKCuCknV0FtAxOfMmc5g2XK4,1864
|
|
@@ -395,7 +402,7 @@ lfx/components/logic/data_conditional_router.py,sha256=b6G_QWajQqoFCQM-614QbrPoU
|
|
|
395
402
|
lfx/components/logic/flow_tool.py,sha256=k0jXnRn0TIarE7cw61w80R-a_XmloRTIHioYGeZrBeU,3984
|
|
396
403
|
lfx/components/logic/listen.py,sha256=k_wRN3yW5xtG1CjTdGYhL5LxdgCZ0Bi9cbWP54FkyuY,935
|
|
397
404
|
lfx/components/logic/llm_conditional_router.py,sha256=wHCAryCKBvQG5SEwm4KmTufliGBlLFS0Dby2ndF-77w,18714
|
|
398
|
-
lfx/components/logic/loop.py,sha256=
|
|
405
|
+
lfx/components/logic/loop.py,sha256=OUKEGB4YrwGSaZfrHqHcKEE95YxdSGvQ8YIU5JHzvCE,5020
|
|
399
406
|
lfx/components/logic/notify.py,sha256=A9aLooUwudRUsf2BRdE7CmGibCCRuQeCadneart9BEg,3086
|
|
400
407
|
lfx/components/logic/pass_message.py,sha256=BNPh7TOQ-svrhR2-uMQMMT0LBW0sT_zzIpbuWeEEPDY,1085
|
|
401
408
|
lfx/components/logic/run_flow.py,sha256=DA08G-LYKmRr4srpLpfqma8iVUBdPEWYlOFgUrv6TDU,2914
|
|
@@ -408,9 +415,9 @@ lfx/components/milvus/__init__.py,sha256=ZNV3umCFDejy7MhaKOfp2M-LtJnQBY1rXbRDRDC
|
|
|
408
415
|
lfx/components/milvus/milvus.py,sha256=K17-MTsx3cAVLj_5v4e_YJ3UTnS4SdJlQirKp22X1hw,4402
|
|
409
416
|
lfx/components/mistral/__init__.py,sha256=EABXqA45Tz50vZRmhEisbIIPEcRCvV9j-Y9Hf2XevHs,1094
|
|
410
417
|
lfx/components/mistral/mistral.py,sha256=4heAlIFEeq_ljUZDPpNGyK_VRkWjwCfPbBaQK1mV4NY,3718
|
|
411
|
-
lfx/components/mistral/mistral_embeddings.py,sha256=
|
|
418
|
+
lfx/components/mistral/mistral_embeddings.py,sha256=QuqS_S3yHWCacs-Nc3qalpUsb-OACRWFZenUtCD_rLQ,1963
|
|
412
419
|
lfx/components/models/__init__.py,sha256=hhfj70MkcRATzAjJnntAg1A4E7kHlQn8GT0bizkB7L4,1113
|
|
413
|
-
lfx/components/models/embedding_model.py,sha256=
|
|
420
|
+
lfx/components/models/embedding_model.py,sha256=Q38BxC4xklLOAxS1Vam0EGP0g6cu0Dm7-uf679XImAc,7795
|
|
414
421
|
lfx/components/models/language_model.py,sha256=TA24DMAXrlruY3mNsfI9qGltfQ2h9cQpxe8DW8HLdeE,5992
|
|
415
422
|
lfx/components/mongodb/__init__.py,sha256=nFOQgiIvDnWGiWDSqZ0ERQme5DpA-cQgzybUiqXQtGw,953
|
|
416
423
|
lfx/components/mongodb/mongodb_atlas.py,sha256=OlAstNMToHuvGI-8djkiGr7kdGBr927O0SE5cnVd0O0,8594
|
|
@@ -429,13 +436,13 @@ lfx/components/nvidia/system_assist.py,sha256=G8cgsLQxRBBnUt49_Uzxt7cdTNplVAzUlD
|
|
|
429
436
|
lfx/components/olivya/__init__.py,sha256=ilZR88huL3vnQHO27g4jsUkyIYSgN7RPOq8Corbi6xA,67
|
|
430
437
|
lfx/components/olivya/olivya.py,sha256=PDmsn8dBdSwAZUM2QGTyTwxGWsINCKaYR4yTjE-4lIQ,4192
|
|
431
438
|
lfx/components/ollama/__init__.py,sha256=fau8QcWs_eHO2MmtQ4coiKj9CzFA9X4hqFf541ekgXk,1068
|
|
432
|
-
lfx/components/ollama/ollama.py,sha256=
|
|
439
|
+
lfx/components/ollama/ollama.py,sha256=1yhL2dDoeOEikhP2bjx6jc8p4B-uCGFQiyyhSk40Ruk,21238
|
|
433
440
|
lfx/components/ollama/ollama_embeddings.py,sha256=nvg-JQvue6j7tcrbbPeq1U_-LUj1MKawWbXxnnvJlWM,3976
|
|
434
441
|
lfx/components/openai/__init__.py,sha256=G4Fgw4pmmDohdIOmzaeSCGijzKjyqFXNJPLwlcUDZ3w,1113
|
|
435
442
|
lfx/components/openai/openai.py,sha256=imWO1tTJ0tTLqax1v5bNBPCRINTj2f2wN8j5G-a07GI,4505
|
|
436
443
|
lfx/components/openai/openai_chat_model.py,sha256=hZO79PqSI8ppnrEQFL_NL1issX6E5iCUPCycjX_d0Fs,6969
|
|
437
444
|
lfx/components/openrouter/__init__.py,sha256=sWZTr41sX09AYpeyd2NWHQpx9jPuc1Zc4KdmErP08uM,950
|
|
438
|
-
lfx/components/openrouter/openrouter.py,sha256=
|
|
445
|
+
lfx/components/openrouter/openrouter.py,sha256=g8PDEqeiP3C5iM5QDS_ABOeE1KNS_szBsX493u1dsic,3875
|
|
439
446
|
lfx/components/output_parsers/__init__.py,sha256=aZ7X5AJUmAOVa9BZPSqQKALpF4ZFiZD-M2mad34zj-w,67
|
|
440
447
|
lfx/components/perplexity/__init__.py,sha256=jITrDKNSr0CWAMIvoEaHSYkRG1OGy3zBOYIgblt5tNE,932
|
|
441
448
|
lfx/components/perplexity/perplexity.py,sha256=uXCETjdu7XaIH9XJYhEeKOOGeDbTOA0JJElEbuxTQ6E,2764
|
|
@@ -465,13 +472,13 @@ lfx/components/processing/message_to_data.py,sha256=0K8SIq6vuAvQ3K7siXstNint6R1-
|
|
|
465
472
|
lfx/components/processing/parse_data.py,sha256=P6xEqbs3geWP0gYMdS9QIVJiIREEgDjxzENRLwiNgE0,2463
|
|
466
473
|
lfx/components/processing/parse_dataframe.py,sha256=nUsFzxVkBXJhoPP9f6NmmKmwXSKs9IjaIvrr7DeLSSY,2518
|
|
467
474
|
lfx/components/processing/parse_json_data.py,sha256=OdmZ2Kqdfb0uBCA5FdKSv4y_3OqfWY56Mesg1iO666Q,3160
|
|
468
|
-
lfx/components/processing/parser.py,sha256=
|
|
475
|
+
lfx/components/processing/parser.py,sha256=F1FJU8foJvj8AwlKBPlDhuhqEr4I_6XqDgJ0h1iBbpw,5648
|
|
469
476
|
lfx/components/processing/prompt.py,sha256=c4LQPOQSvz1Z1e73uyOm8TaTxWDpCGcujBd-a6AxL1A,2761
|
|
470
477
|
lfx/components/processing/python_repl_core.py,sha256=6kOu64pWyBwBpTqOTM9LPnSsnTX6q_J-Hqhmoxp0wFs,3472
|
|
471
478
|
lfx/components/processing/regex.py,sha256=9n171_Ze--5gpKFJJyJlYafuEOwbPQPiyjhdLY3SUrY,2689
|
|
472
479
|
lfx/components/processing/select_data.py,sha256=BRK9mM5NuHveCrMOyIXjzzpEsNMEiA7oQXvk1DZLHM4,1788
|
|
473
480
|
lfx/components/processing/split_text.py,sha256=8oZ-_aYfjxEdzFFr2reKeBVPjMrAeAauZiQkM9J7Syc,5293
|
|
474
|
-
lfx/components/processing/structured_output.py,sha256=
|
|
481
|
+
lfx/components/processing/structured_output.py,sha256=mtjY2PwWKjAFYd4CYOo1Nbxv4umVTYgj6O9xszbN2IA,10015
|
|
475
482
|
lfx/components/processing/update_data.py,sha256=0HkK86ybp0vWc_KKMWD0j0dnaxS6zQMOjAY8lLwNkr4,6090
|
|
476
483
|
lfx/components/prototypes/__init__.py,sha256=uJRmThNAq6Tr_mBppcD95dV07WkOF6BYdy-zq7uXUhY,1061
|
|
477
484
|
lfx/components/prototypes/python_function.py,sha256=fafYVqVFqusIkJP4jgmHMZnwgVkYdhYBmD51Dtst9Z4,2419
|
|
@@ -525,30 +532,8 @@ lfx/components/upstash/upstash.py,sha256=tbLXjoxE3wFMawy_coPFQgmEVQvcTLolLuu3a0F
|
|
|
525
532
|
lfx/components/vectara/__init__.py,sha256=sGf28Z5XdvL0fIxZzjoX6542fTb2Tiw0UesFz7Ii_lg,1065
|
|
526
533
|
lfx/components/vectara/vectara.py,sha256=ojCeBGwGBGbpuSProTqz4MS74J-2THcZZ9uIpBTuRhE,3557
|
|
527
534
|
lfx/components/vectara/vectara_rag.py,sha256=Ejye75GR37Wy9OdfCw7aJfjyPbbzaBxtTGoYZftzHDo,5674
|
|
528
|
-
lfx/components/vectorstores/__init__.py,sha256=
|
|
529
|
-
lfx/components/vectorstores/astradb.py,sha256=DibYwThNg1OBdk_fNh8Cv4NF8JoNf5K1fR4wREYsYus,53429
|
|
530
|
-
lfx/components/vectorstores/astradb_graph.py,sha256=9HUnnjQqmQClYhgxtYR6bVuvhDimSXSVsS6bx-sMAKw,12663
|
|
531
|
-
lfx/components/vectorstores/cassandra.py,sha256=gz8nfaq3ta6h_zVkHVn8uRKtcs9vDRuE7d1p5vI7LhE,9540
|
|
532
|
-
lfx/components/vectorstores/cassandra_graph.py,sha256=JsY_gHRexI2p3U6uiQuygC7upu_HljquasDMId6PG6Y,8305
|
|
533
|
-
lfx/components/vectorstores/chroma.py,sha256=DxvHJqhqx6CYdPoAG5Ly6jJsEOMR2R4lXv4UlvGQmQc,6171
|
|
534
|
-
lfx/components/vectorstores/clickhouse.py,sha256=kQnoE9ycFPWDE0rNLxaTyjxq5b3aCeaf-f5H_Lx7iBs,5035
|
|
535
|
-
lfx/components/vectorstores/couchbase.py,sha256=cO1HWm9IisWWVcxKjr7TuoOfqnY2Ndnq_QPP3L2yAoc,3965
|
|
536
|
-
lfx/components/vectorstores/elasticsearch.py,sha256=WcBi8THcOzopZeYOQeEoHxsZkACHk4R3MKhSEYGxnfY,9773
|
|
537
|
-
lfx/components/vectorstores/faiss.py,sha256=K9egZNckeHOrPqxuFia4VL4-mFphyEl6dQ_F-lXvax8,3893
|
|
538
|
-
lfx/components/vectorstores/graph_rag.py,sha256=4NmYQkjSru_zaDhJfxdaYtap-RMGJfv2AYN2NEYSdds,5163
|
|
539
|
-
lfx/components/vectorstores/hcd.py,sha256=Fo7Zj4U-A1ZcbsdhlTxheMJDy8EzbYWlo85iY6vASnQ,12379
|
|
535
|
+
lfx/components/vectorstores/__init__.py,sha256=GXlk9X_CfFFlRbwmUrCoT2Ey8vObZ_C1hS_04zZIx9Y,920
|
|
540
536
|
lfx/components/vectorstores/local_db.py,sha256=bruzpEk6PQc1DeGqSWJblsVplJ5eC1JsSlncxRc4yuQ,10648
|
|
541
|
-
lfx/components/vectorstores/milvus.py,sha256=_jMyO4l5y6O2Lkx9eHyuhgcHtXcApkI-ktuqa1YxnGI,4395
|
|
542
|
-
lfx/components/vectorstores/mongodb_atlas.py,sha256=OlAstNMToHuvGI-8djkiGr7kdGBr927O0SE5cnVd0O0,8594
|
|
543
|
-
lfx/components/vectorstores/opensearch.py,sha256=P8Eq4KsjHT8b7iOUOKMFRwOLwgRfIWfxIHLD0GJsw24,9080
|
|
544
|
-
lfx/components/vectorstores/pgvector.py,sha256=UBF2B79eVfjj3hHoxrHzmT2UXOsUZxp4dWvyuPS2wh4,2635
|
|
545
|
-
lfx/components/vectorstores/pinecone.py,sha256=VkygoOmrco417hYInjYIFwuxX1M7peYJl9-jhuiySR8,5137
|
|
546
|
-
lfx/components/vectorstores/qdrant.py,sha256=1U2pdqXbo_HBgb8f8UUEkajfn9lq-SCUF_oiBuOE-40,4233
|
|
547
|
-
lfx/components/vectorstores/supabase.py,sha256=UEW4HDQL_6GkPBsszowhrq8thouir--n2HE4DcAsD6k,2820
|
|
548
|
-
lfx/components/vectorstores/upstash.py,sha256=bab5s-ALR4bT_pZhjFUlVHifrUachVFVQyxE6Hh5lgA,4083
|
|
549
|
-
lfx/components/vectorstores/vectara.py,sha256=ojCeBGwGBGbpuSProTqz4MS74J-2THcZZ9uIpBTuRhE,3557
|
|
550
|
-
lfx/components/vectorstores/vectara_rag.py,sha256=Ejye75GR37Wy9OdfCw7aJfjyPbbzaBxtTGoYZftzHDo,5674
|
|
551
|
-
lfx/components/vectorstores/weaviate.py,sha256=ZrqR1qRA3IZsJB-TB07C7Qyqt5ysh-eEiHp7BcBtOsE,3280
|
|
552
537
|
lfx/components/vertexai/__init__.py,sha256=bIcDPTzHyUujS75CWtFxYCvdY7eygvH3UDmWVAcX8I0,1090
|
|
553
538
|
lfx/components/vertexai/vertexai.py,sha256=2fdSgdP6lfVYZElxWvuwi5wylpwFEtlSUlT1zaCGtgE,2992
|
|
554
539
|
lfx/components/vertexai/vertexai_embeddings.py,sha256=Or1cFSZKKUp063yZVny7oqKiWgEqonhhCHPbRjY4CMA,3135
|
|
@@ -587,7 +572,7 @@ lfx/custom/code_parser/__init__.py,sha256=qIwZQdEp1z7ldn0z-GY44wmwRaywN3L6VPoPt6
|
|
|
587
572
|
lfx/custom/code_parser/code_parser.py,sha256=QAqsp4QF607319dClK60BsaiwZLV55n0xeGR-DthSoE,14280
|
|
588
573
|
lfx/custom/custom_component/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
589
574
|
lfx/custom/custom_component/base_component.py,sha256=Pxi-qCocrGIwcG0x5fu-7ty1Py71bl_KG9Fku5SeO_M,4053
|
|
590
|
-
lfx/custom/custom_component/component.py,sha256=
|
|
575
|
+
lfx/custom/custom_component/component.py,sha256=rrtW0Ck0RtCIgyU7GfyY0IoR9Qk-70-7SzMdEXg5em4,75845
|
|
591
576
|
lfx/custom/custom_component/component_with_cache.py,sha256=por6CiPL3EHdLp_DvfI7qz1n4tc1KkqMOJNbsxoqVaI,313
|
|
592
577
|
lfx/custom/custom_component/custom_component.py,sha256=801FjGiQk7M7GD3CbU19AmCVS5KZjPVcKUy_wBXnm0o,22301
|
|
593
578
|
lfx/custom/directory_reader/__init__.py,sha256=eFjlhKjpt2Kha_sJ2EqWofLRbpvfOTjvDSCpdpaTqWk,77
|
|
@@ -598,21 +583,21 @@ lfx/events/event_manager.py,sha256=M2-k9obLHiAdjipPtjDf2tI2g7AUZLLrKMSBj60PNzY,3
|
|
|
598
583
|
lfx/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
599
584
|
lfx/exceptions/component.py,sha256=Tu9OYNXs3dOuOAujr4KMqkqAmFGgW7aqhTNsDPyYf3Q,446
|
|
600
585
|
lfx/field_typing/__init__.py,sha256=cfwSKHa79AIGqvbH4gmcGRA0purLyLy_XG_YihfWdBU,1730
|
|
601
|
-
lfx/field_typing/constants.py,sha256=
|
|
586
|
+
lfx/field_typing/constants.py,sha256=VVkolqwicz8CUppSZ2N0OfhwwBbEOUdNxVerKgleXOQ,5790
|
|
602
587
|
lfx/field_typing/range_spec.py,sha256=q7_CHhOO6YA1tFOgDAaeval-C_wzoAMSZQ8flkzCwnQ,1187
|
|
603
588
|
lfx/graph/__init__.py,sha256=uHjF2QW6i88_q3uspuPnulTyEA_QNV6eygOD8UZgG40,309
|
|
604
589
|
lfx/graph/schema.py,sha256=58vzeUEseURXBjLFeEFFWcXmFSzeQczYdzIhQ_79Nlg,2668
|
|
605
590
|
lfx/graph/utils.py,sha256=E0COGP-CzVNmIq-5hsqanTQw9T2bUtA_kEM53h3ZLYc,5920
|
|
606
591
|
lfx/graph/edge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
607
|
-
lfx/graph/edge/base.py,sha256=
|
|
592
|
+
lfx/graph/edge/base.py,sha256=_5kYebmaNE-ZBVDa01WbsKHUMmlo2G2a9CoB1gEthPc,12867
|
|
608
593
|
lfx/graph/edge/schema.py,sha256=bKlprxymeV04bTMw3jDLpYQAA3eRc4BIdD_-4XGGU3c,3806
|
|
609
594
|
lfx/graph/edge/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
610
595
|
lfx/graph/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
611
596
|
lfx/graph/graph/ascii.py,sha256=-jYWI_Zmz24mfLOxJrzIINZ0dbQgd9PXJfqwZa03xas,6211
|
|
612
|
-
lfx/graph/graph/base.py,sha256
|
|
597
|
+
lfx/graph/graph/base.py,sha256=H1Be8kSvHuA5qNlGCS_AeIW8k2VaCZ_3mEt9ak_fXAk,96047
|
|
613
598
|
lfx/graph/graph/constants.py,sha256=jwjl4RydV_k_zawbI8FIgiLHeBBgH-cStVitxxSyXQs,1641
|
|
614
599
|
lfx/graph/graph/runnable_vertices_manager.py,sha256=c-qQP3koKyAsIADDSONiiz4FIRIn6q5kAMX6EQIBBfA,6148
|
|
615
|
-
lfx/graph/graph/schema.py,sha256=
|
|
600
|
+
lfx/graph/graph/schema.py,sha256=1a8pictdRVN6ByqpvhOYu7heDeVs7A3eGpZuYIF7kaY,1086
|
|
616
601
|
lfx/graph/graph/state_model.py,sha256=OJYIffeQ_3djtMdIsMmYduLr2JbX9GQ5N_SJ_PZeHJ4,2925
|
|
617
602
|
lfx/graph/graph/utils.py,sha256=rsUaMjhpZzyIFD8QSf-G5J5PDTPFNJXxV5zDs5eLPqw,37745
|
|
618
603
|
lfx/graph/state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -624,7 +609,7 @@ lfx/graph/vertex/exceptions.py,sha256=QTe-7TRCI0TXswRZh1kh0Z3KySjQsJgY5zTU6o0jbo
|
|
|
624
609
|
lfx/graph/vertex/param_handler.py,sha256=o6RmGvdo8rzasIZaalkAvC3LJA7oS8ETqpmXnOtarI8,12887
|
|
625
610
|
lfx/graph/vertex/schema.py,sha256=3h6c7TTdZI1mzfAebhD-6CCCRLu1mQ8UDmgJijx5zWg,552
|
|
626
611
|
lfx/graph/vertex/utils.py,sha256=iJmY4PXta5dYWTX2SMEbpfMKrzwkJVQmi8qstSv8D7I,738
|
|
627
|
-
lfx/graph/vertex/vertex_types.py,sha256=
|
|
612
|
+
lfx/graph/vertex/vertex_types.py,sha256=pHSzH0ePGWmYCbD67QlG3_kxRpM4OHbs3S6FYDj6Tjw,21145
|
|
628
613
|
lfx/helpers/__init__.py,sha256=XUsPqOxQNoleWGC4EtVxqgaEQjR4cHsHOsyJ3Kjm88I,2912
|
|
629
614
|
lfx/helpers/base_model.py,sha256=EiBdNJVE83BNKsg-IedyZYd78Mbl0m7BN2XTFeTlBhw,1956
|
|
630
615
|
lfx/helpers/custom.py,sha256=9Z6rVfIrih27qsGkV1lzVpkK-ifpQuOaGSUog_w4asM,306
|
|
@@ -645,7 +630,7 @@ lfx/interface/importing/utils.py,sha256=-3-M4MSzA_2zlwRWy1SdJHDsjeRkFvWZaTynITRj
|
|
|
645
630
|
lfx/interface/initialize/__init__.py,sha256=wxisnaYxjaqrjA_-By2oHmd4Fht5lAAJFYrotkPm7HA,45
|
|
646
631
|
lfx/interface/initialize/loading.py,sha256=WF6sp20wYvY52nKbAQpPDrzGKBHwW5xEz45qnGZBc_o,12229
|
|
647
632
|
lfx/io/__init__.py,sha256=hIH6GC2gKdupGZVyRqrbOIm9UyUhNqIga8z1jd4ri2w,1131
|
|
648
|
-
lfx/io/schema.py,sha256=
|
|
633
|
+
lfx/io/schema.py,sha256=aYkidiHBkD1AHUelj2UQpzIHLdIBEi0-NnzLucniufU,10618
|
|
649
634
|
lfx/load/__init__.py,sha256=y35GBUhVTOsG3GzL5UVL-RNAsu0D7T8MVPrNXoDMx7U,224
|
|
650
635
|
lfx/load/load.py,sha256=mpQG2RV2ZOysShEOguWKdnQI9TUub1Ds5j89ZbwiQhA,10451
|
|
651
636
|
lfx/load/utils.py,sha256=qa8aoMLW-X8FO8xVz3YVHQwjTSJYbYr_AOQAAp3smlc,3705
|
|
@@ -654,7 +639,7 @@ lfx/log/logger.py,sha256=UaUlWEwws7SVa24_9ZuPwRgefoatzRV7nnZV7YQZjwU,14238
|
|
|
654
639
|
lfx/logging/__init__.py,sha256=X5tXF5e1hc62adprRPLtKeaqm8-tpl6loXsxbh9IO-Q,367
|
|
655
640
|
lfx/logging/logger.py,sha256=y7ophyWX5-r8RCxHJeAmGKyGeEhR-7imR-D8YBXU7CE,546
|
|
656
641
|
lfx/memory/__init__.py,sha256=s7nCNKlcwLfT6Z_cXbiYjvoXQXZ-H2GqK1qsAuKBV08,1815
|
|
657
|
-
lfx/memory/stubs.py,sha256=
|
|
642
|
+
lfx/memory/stubs.py,sha256=QMWBqJ_2WPiRWAkVi5gH6p5BqUD8VEiqXi96EZPSfvI,10650
|
|
658
643
|
lfx/processing/__init__.py,sha256=jERZg6it9mhOzrbTAt9YtakSNXPSjUXFh5MfKBN48wA,41
|
|
659
644
|
lfx/processing/process.py,sha256=FSYjseEWEgfBxP4GDkfRVVSyrvXwyIb7U0pTVc1gV_w,9252
|
|
660
645
|
lfx/processing/utils.py,sha256=ptX2AHbhoPkmZ5O7BXITCo58jBZ_u1OuK59VlQRQsYU,754
|
|
@@ -671,10 +656,10 @@ lfx/schema/graph.py,sha256=o7qXhHZT4lEwjJZtlg4k9SNPgmMVZsZsclBbe8v_y6Y,1313
|
|
|
671
656
|
lfx/schema/image.py,sha256=WdaOT3bjkJaG28RpgmurtfcnOG7Hr2phZ27YXH25uHA,5970
|
|
672
657
|
lfx/schema/json_schema.py,sha256=UzMRSSAiLewJpf7B0XY4jPnPt0iskf61QUBxPdyiYys,6871
|
|
673
658
|
lfx/schema/log.py,sha256=TISQa44D4pL_-AOw9p0nOPV-7s6Phl-0yrpuZihhEsU,1981
|
|
674
|
-
lfx/schema/message.py,sha256=
|
|
659
|
+
lfx/schema/message.py,sha256=U4vtgkC6lNciJbfwtrIquyB3-UdPieHAjuegGk8416E,18506
|
|
675
660
|
lfx/schema/openai_responses_schemas.py,sha256=drMCAlliefHfGRojBTMepPwk4DyEGh67naWvMPD10Sw,2596
|
|
676
661
|
lfx/schema/properties.py,sha256=ZRY6FUDfqpc5wQ-bi-ZuUUrusF9t-pt9fQa_FNPpia0,1356
|
|
677
|
-
lfx/schema/schema.py,sha256=
|
|
662
|
+
lfx/schema/schema.py,sha256=WkwdKNbtnHlh4GhQANXuxHRyS9SAXnTPd7KFhsGIoiU,5296
|
|
678
663
|
lfx/schema/serialize.py,sha256=Y7aL91w3BW4ZYkgdIHosUYdpIJUDku-SoqYoIQtwtGM,252
|
|
679
664
|
lfx/schema/table.py,sha256=1RdMmk1vbzmPFW0JEGhP7WDDRtvUKH9lkDw5v-JWhSw,4668
|
|
680
665
|
lfx/schema/validators.py,sha256=1CC4jU3sFmPnauie_U_Xb_QpcnsBf3XT7oWphr5Lt8U,4023
|
|
@@ -703,7 +688,7 @@ lfx/services/mcp_composer/service.py,sha256=TdQoQ1VV_aATRGCYNm9MZRj_WEb45LLP4ACu
|
|
|
703
688
|
lfx/services/settings/__init__.py,sha256=UISBvOQIqoA3a8opwJrTQp4PSTqpReY6GQ_7O6WuqJQ,65
|
|
704
689
|
lfx/services/settings/auth.py,sha256=_18KZipq0udCJPq-4xCD_juhqSwAEvoCqxOTSYsNv5w,5720
|
|
705
690
|
lfx/services/settings/base.py,sha256=Cohox-JLOcrGXr1-hvJXtm8K1I3Fw9PH9JufuT5u4rA,27874
|
|
706
|
-
lfx/services/settings/constants.py,sha256=
|
|
691
|
+
lfx/services/settings/constants.py,sha256=QC3FwiNVBNzwHCFRkjrNDAaTT0gRIbYJsVZyAJAjyFk,928
|
|
707
692
|
lfx/services/settings/factory.py,sha256=NezZ6TE_xP955B9l9pI6ONNyoylrHPfUZN8arvLVRXg,615
|
|
708
693
|
lfx/services/settings/feature_flags.py,sha256=HGuDGgfOBIDtuEiEVTgoWHxKqX2vuVBRgsqdX_4D9kg,205
|
|
709
694
|
lfx/services/settings/service.py,sha256=af2L45QAfp2YWh5T59FJfGhw1wF_bVniNRRKeFwy2Xs,1001
|
|
@@ -746,7 +731,7 @@ lfx/utils/schemas.py,sha256=NbOtVQBrn4d0BAu-0H_eCTZI2CXkKZlRY37XCSmuJwc,3865
|
|
|
746
731
|
lfx/utils/util.py,sha256=Ww85wbr1-vjh2pXVtmTqoUVr6MXAW8S7eDx_Ys6HpE8,20696
|
|
747
732
|
lfx/utils/util_strings.py,sha256=nU_IcdphNaj6bAPbjeL-c1cInQPfTBit8mp5Y57lwQk,1686
|
|
748
733
|
lfx/utils/version.py,sha256=cHpbO0OJD2JQAvVaTH_6ibYeFbHJV0QDHs_YXXZ-bT8,671
|
|
749
|
-
lfx_nightly-0.
|
|
750
|
-
lfx_nightly-0.
|
|
751
|
-
lfx_nightly-0.
|
|
752
|
-
lfx_nightly-0.
|
|
734
|
+
lfx_nightly-0.2.0.dev0.dist-info/METADATA,sha256=Hrxy0SXMhQkywEXgAFxSDRhC7D5ygGTTluV8PYq39Xs,8288
|
|
735
|
+
lfx_nightly-0.2.0.dev0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
736
|
+
lfx_nightly-0.2.0.dev0.dist-info/entry_points.txt,sha256=1724p3RHDQRT2CKx_QRzEIa7sFuSVO0Ux70YfXfoMT4,42
|
|
737
|
+
lfx_nightly-0.2.0.dev0.dist-info/RECORD,,
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
|
|
3
|
-
from lfx.base.memory.model import LCChatMemoryComponent
|
|
4
|
-
from lfx.field_typing.constants import Memory
|
|
5
|
-
from lfx.inputs.inputs import MessageTextInput, SecretStrInput, StrInput
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class AstraDBChatMemory(LCChatMemoryComponent):
|
|
9
|
-
display_name = "Astra DB Chat Memory"
|
|
10
|
-
description = "Retrieves and store chat messages from Astra DB."
|
|
11
|
-
name = "AstraDBChatMemory"
|
|
12
|
-
documentation: str = "https://docs.langflow.org/bundles-datastax#astra-db-chat-memory"
|
|
13
|
-
icon: str = "AstraDB"
|
|
14
|
-
|
|
15
|
-
inputs = [
|
|
16
|
-
SecretStrInput(
|
|
17
|
-
name="token",
|
|
18
|
-
display_name="Astra DB Application Token",
|
|
19
|
-
info="Authentication token for accessing Astra DB.",
|
|
20
|
-
value="ASTRA_DB_APPLICATION_TOKEN",
|
|
21
|
-
required=True,
|
|
22
|
-
advanced=os.getenv("ASTRA_ENHANCED", "false").lower() == "true",
|
|
23
|
-
),
|
|
24
|
-
SecretStrInput(
|
|
25
|
-
name="api_endpoint",
|
|
26
|
-
display_name="Astra DB API Endpoint",
|
|
27
|
-
info="API endpoint URL for the Astra DB service.",
|
|
28
|
-
value="ASTRA_DB_API_ENDPOINT",
|
|
29
|
-
required=True,
|
|
30
|
-
),
|
|
31
|
-
StrInput(
|
|
32
|
-
name="collection_name",
|
|
33
|
-
display_name="Collection Name",
|
|
34
|
-
info="The name of the collection within Astra DB where the vectors will be stored.",
|
|
35
|
-
required=True,
|
|
36
|
-
),
|
|
37
|
-
StrInput(
|
|
38
|
-
name="namespace",
|
|
39
|
-
display_name="Namespace",
|
|
40
|
-
info="Optional namespace within Astra DB to use for the collection.",
|
|
41
|
-
advanced=True,
|
|
42
|
-
),
|
|
43
|
-
MessageTextInput(
|
|
44
|
-
name="session_id",
|
|
45
|
-
display_name="Session ID",
|
|
46
|
-
info="The session ID of the chat. If empty, the current session ID parameter will be used.",
|
|
47
|
-
advanced=True,
|
|
48
|
-
),
|
|
49
|
-
]
|
|
50
|
-
|
|
51
|
-
def build_message_history(self) -> Memory:
|
|
52
|
-
try:
|
|
53
|
-
from astrapy.admin import parse_api_endpoint
|
|
54
|
-
from langchain_astradb.chat_message_histories import AstraDBChatMessageHistory
|
|
55
|
-
|
|
56
|
-
except ImportError as e:
|
|
57
|
-
msg = (
|
|
58
|
-
"Could not import langchain Astra DB integration package. "
|
|
59
|
-
"Please install it with `pip install langchain-astradb`."
|
|
60
|
-
)
|
|
61
|
-
raise ImportError(msg) from e
|
|
62
|
-
|
|
63
|
-
try:
|
|
64
|
-
from astrapy.admin import parse_api_endpoint
|
|
65
|
-
|
|
66
|
-
except ImportError as e:
|
|
67
|
-
msg = "Could not import astrapy package. "
|
|
68
|
-
raise ImportError(msg) from e
|
|
69
|
-
|
|
70
|
-
return AstraDBChatMessageHistory(
|
|
71
|
-
session_id=self.session_id,
|
|
72
|
-
collection_name=self.collection_name,
|
|
73
|
-
token=self.token,
|
|
74
|
-
api_endpoint=self.api_endpoint,
|
|
75
|
-
namespace=self.namespace or None,
|
|
76
|
-
environment=parse_api_endpoint(self.api_endpoint).environment,
|
|
77
|
-
)
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
from lfx.base.memory.model import LCChatMemoryComponent
|
|
2
|
-
from lfx.field_typing.constants import Memory
|
|
3
|
-
from lfx.inputs.inputs import DictInput, MessageTextInput, SecretStrInput
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class CassandraChatMemory(LCChatMemoryComponent):
|
|
7
|
-
display_name = "Cassandra Chat Memory"
|
|
8
|
-
description = "Retrieves and store chat messages from Apache Cassandra."
|
|
9
|
-
name = "CassandraChatMemory"
|
|
10
|
-
icon = "Cassandra"
|
|
11
|
-
|
|
12
|
-
inputs = [
|
|
13
|
-
MessageTextInput(
|
|
14
|
-
name="database_ref",
|
|
15
|
-
display_name="Contact Points / Astra Database ID",
|
|
16
|
-
info="Contact points for the database (or Astra DB database ID)",
|
|
17
|
-
required=True,
|
|
18
|
-
),
|
|
19
|
-
MessageTextInput(
|
|
20
|
-
name="username", display_name="Username", info="Username for the database (leave empty for Astra DB)."
|
|
21
|
-
),
|
|
22
|
-
SecretStrInput(
|
|
23
|
-
name="token",
|
|
24
|
-
display_name="Password / Astra DB Token",
|
|
25
|
-
info="User password for the database (or Astra DB token).",
|
|
26
|
-
required=True,
|
|
27
|
-
),
|
|
28
|
-
MessageTextInput(
|
|
29
|
-
name="keyspace",
|
|
30
|
-
display_name="Keyspace",
|
|
31
|
-
info="Table Keyspace (or Astra DB namespace).",
|
|
32
|
-
required=True,
|
|
33
|
-
),
|
|
34
|
-
MessageTextInput(
|
|
35
|
-
name="table_name",
|
|
36
|
-
display_name="Table Name",
|
|
37
|
-
info="The name of the table (or Astra DB collection) where vectors will be stored.",
|
|
38
|
-
required=True,
|
|
39
|
-
),
|
|
40
|
-
MessageTextInput(
|
|
41
|
-
name="session_id", display_name="Session ID", info="Session ID for the message.", advanced=True
|
|
42
|
-
),
|
|
43
|
-
DictInput(
|
|
44
|
-
name="cluster_kwargs",
|
|
45
|
-
display_name="Cluster arguments",
|
|
46
|
-
info="Optional dictionary of additional keyword arguments for the Cassandra cluster.",
|
|
47
|
-
advanced=True,
|
|
48
|
-
is_list=True,
|
|
49
|
-
),
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
def build_message_history(self) -> Memory:
|
|
53
|
-
from langchain_community.chat_message_histories import CassandraChatMessageHistory
|
|
54
|
-
|
|
55
|
-
try:
|
|
56
|
-
import cassio
|
|
57
|
-
except ImportError as e:
|
|
58
|
-
msg = "Could not import cassio integration package. Please install it with `pip install cassio`."
|
|
59
|
-
raise ImportError(msg) from e
|
|
60
|
-
|
|
61
|
-
from uuid import UUID
|
|
62
|
-
|
|
63
|
-
database_ref = self.database_ref
|
|
64
|
-
|
|
65
|
-
try:
|
|
66
|
-
UUID(self.database_ref)
|
|
67
|
-
is_astra = True
|
|
68
|
-
except ValueError:
|
|
69
|
-
is_astra = False
|
|
70
|
-
if "," in self.database_ref:
|
|
71
|
-
# use a copy because we can't change the type of the parameter
|
|
72
|
-
database_ref = self.database_ref.split(",")
|
|
73
|
-
|
|
74
|
-
if is_astra:
|
|
75
|
-
cassio.init(
|
|
76
|
-
database_id=database_ref,
|
|
77
|
-
token=self.token,
|
|
78
|
-
cluster_kwargs=self.cluster_kwargs,
|
|
79
|
-
)
|
|
80
|
-
else:
|
|
81
|
-
cassio.init(
|
|
82
|
-
contact_points=database_ref,
|
|
83
|
-
username=self.username,
|
|
84
|
-
password=self.token,
|
|
85
|
-
cluster_kwargs=self.cluster_kwargs,
|
|
86
|
-
)
|
|
87
|
-
|
|
88
|
-
return CassandraChatMessageHistory(
|
|
89
|
-
session_id=self.session_id,
|
|
90
|
-
table_name=self.table_name,
|
|
91
|
-
keyspace=self.keyspace,
|
|
92
|
-
)
|