lfx-nightly 0.1.12.dev15__py3-none-any.whl → 0.1.12.dev17__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.
Potentially problematic release.
This version of lfx-nightly might be problematic. Click here for more details.
- lfx/components/agents/agent.py +1 -1
- lfx/components/chroma/chroma.py +4 -2
- lfx/components/processing/python_repl_core.py +2 -2
- lfx/custom/validate.py +1 -1
- {lfx_nightly-0.1.12.dev15.dist-info → lfx_nightly-0.1.12.dev17.dist-info}/METADATA +1 -1
- {lfx_nightly-0.1.12.dev15.dist-info → lfx_nightly-0.1.12.dev17.dist-info}/RECORD +8 -8
- {lfx_nightly-0.1.12.dev15.dist-info → lfx_nightly-0.1.12.dev17.dist-info}/WHEEL +0 -0
- {lfx_nightly-0.1.12.dev15.dist-info → lfx_nightly-0.1.12.dev17.dist-info}/entry_points.txt +0 -0
lfx/components/agents/agent.py
CHANGED
|
@@ -532,7 +532,7 @@ class AgentComponent(ToolCallingAgentComponent):
|
|
|
532
532
|
refresh_button=False,
|
|
533
533
|
input_types=["LanguageModel"],
|
|
534
534
|
placeholder="Awaiting model input.",
|
|
535
|
-
options_metadata=[MODELS_METADATA[key] for key in MODEL_PROVIDERS_LIST],
|
|
535
|
+
options_metadata=[MODELS_METADATA[key] for key in MODEL_PROVIDERS_LIST if key in MODELS_METADATA],
|
|
536
536
|
external_options={
|
|
537
537
|
"fields": {
|
|
538
538
|
"data": {
|
lfx/components/chroma/chroma.py
CHANGED
|
@@ -121,7 +121,8 @@ class ChromaVectorStoreComponent(LCVectorStoreComponent):
|
|
|
121
121
|
)
|
|
122
122
|
|
|
123
123
|
self._add_documents_to_vector_store(chroma)
|
|
124
|
-
|
|
124
|
+
limit = int(self.limit) if self.limit is not None and str(self.limit).strip() else None
|
|
125
|
+
self.status = chroma_collection_to_data(chroma.get(limit=limit))
|
|
125
126
|
return chroma
|
|
126
127
|
|
|
127
128
|
def _add_documents_to_vector_store(self, vector_store: "Chroma") -> None:
|
|
@@ -138,7 +139,8 @@ class ChromaVectorStoreComponent(LCVectorStoreComponent):
|
|
|
138
139
|
if self.allow_duplicates:
|
|
139
140
|
stored_data = []
|
|
140
141
|
else:
|
|
141
|
-
|
|
142
|
+
limit = int(self.limit) if self.limit is not None and str(self.limit).strip() else None
|
|
143
|
+
stored_data = chroma_collection_to_data(vector_store.get(limit=limit))
|
|
142
144
|
for value in deepcopy(stored_data):
|
|
143
145
|
del value.id
|
|
144
146
|
stored_documents_without_id.append(value)
|
|
@@ -3,7 +3,7 @@ import importlib
|
|
|
3
3
|
from langchain_experimental.utilities import PythonREPL
|
|
4
4
|
|
|
5
5
|
from lfx.custom.custom_component.component import Component
|
|
6
|
-
from lfx.io import
|
|
6
|
+
from lfx.io import MultilineInput, Output, StrInput
|
|
7
7
|
from lfx.schema.data import Data
|
|
8
8
|
|
|
9
9
|
|
|
@@ -21,7 +21,7 @@ class PythonREPLComponent(Component):
|
|
|
21
21
|
value="math,pandas",
|
|
22
22
|
required=True,
|
|
23
23
|
),
|
|
24
|
-
|
|
24
|
+
MultilineInput(
|
|
25
25
|
name="python_code",
|
|
26
26
|
display_name="Python Code",
|
|
27
27
|
info="The Python code to execute. Only modules specified in Global Imports can be used.",
|
lfx/custom/validate.py
CHANGED
|
@@ -281,7 +281,7 @@ def create_class(code, class_name):
|
|
|
281
281
|
error_message = "\n".join([message[1] if len(message) > 1 else message[0] for message in messages])
|
|
282
282
|
raise ValueError(error_message) from e
|
|
283
283
|
except Exception as e:
|
|
284
|
-
msg = f"Error creating class
|
|
284
|
+
msg = f"Error creating class. {type(e).__name__}({e!s})."
|
|
285
285
|
raise ValueError(msg) from e
|
|
286
286
|
|
|
287
287
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lfx-nightly
|
|
3
|
-
Version: 0.1.12.
|
|
3
|
+
Version: 0.1.12.dev17
|
|
4
4
|
Summary: Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows
|
|
5
5
|
Author-email: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
|
|
6
6
|
Requires-Python: <3.14,>=3.10
|
|
@@ -110,7 +110,7 @@ lfx/components/Notion/update_page_property.py,sha256=tgmPMbD1eX58dQQNXv1w5FzDec7
|
|
|
110
110
|
lfx/components/agentql/__init__.py,sha256=Erl669Dzsk-SegsDPWTtkKbprMXVuv8UTCo5REzZGTc,56
|
|
111
111
|
lfx/components/agentql/agentql_api.py,sha256=N94yEK7ZuQCIsFBlr_8dqrJY-K1-KNb6QEEYfDIsDME,5569
|
|
112
112
|
lfx/components/agents/__init__.py,sha256=u1PH9Ui0dUgTdTZVP7cdVysCv4extdusKS_brcbE7Eg,1049
|
|
113
|
-
lfx/components/agents/agent.py,sha256=
|
|
113
|
+
lfx/components/agents/agent.py,sha256=1hsfPWkqCzRF4SKT7l9R1yaMor1J2MarXG1ISwDNVL0,26678
|
|
114
114
|
lfx/components/agents/mcp_component.py,sha256=WEs3BLLEuNXqra0pQ4S42PLMoK1zTSGy6VCChvwzo8c,23486
|
|
115
115
|
lfx/components/aiml/__init__.py,sha256=DNKB-HMFGFYmsdkON-s8557ttgBXVXADmS-BcuSQiIQ,1087
|
|
116
116
|
lfx/components/aiml/aiml.py,sha256=23Ineg1ajlCoqXgWgp50I20OnQbaleRNsw1c6IzPu3A,3877
|
|
@@ -145,7 +145,7 @@ lfx/components/cassandra/cassandra_chat.py,sha256=9klxgphOLxOPu32cweSt6UJXzFctJx
|
|
|
145
145
|
lfx/components/cassandra/cassandra_graph.py,sha256=JsY_gHRexI2p3U6uiQuygC7upu_HljquasDMId6PG6Y,8305
|
|
146
146
|
lfx/components/chains/__init__.py,sha256=nZMOcQNxvxXMJTCLcZT_vqYD_9dI85U84VvSl8beQuw,59
|
|
147
147
|
lfx/components/chroma/__init__.py,sha256=kObikUi3j5BKpiBMKNzK-GTi74_Bktf8tbp0okPALlI,941
|
|
148
|
-
lfx/components/chroma/chroma.py,sha256=
|
|
148
|
+
lfx/components/chroma/chroma.py,sha256=gtOGJPGaLCo8rUmdnekqV2D6z9PxuVf48lilZS81IuA,6357
|
|
149
149
|
lfx/components/cleanlab/__init__.py,sha256=o3QsPAg9UkxXFzF3QbafL65Qf_ihU7fQ2LoBf64R6aQ,1214
|
|
150
150
|
lfx/components/cleanlab/cleanlab_evaluator.py,sha256=BpY8gE_-HnhrnfqHFOmA-zup7NAhxa3lllGxhm_8gtE,5730
|
|
151
151
|
lfx/components/cleanlab/cleanlab_rag_evaluator.py,sha256=9ItX_3yj_0gZuX3_vVVRXj2qd8N7Jtr7P0ZBXPk0imk,9834
|
|
@@ -442,7 +442,7 @@ lfx/components/processing/parse_dataframe.py,sha256=nUsFzxVkBXJhoPP9f6NmmKmwXSKs
|
|
|
442
442
|
lfx/components/processing/parse_json_data.py,sha256=OdmZ2Kqdfb0uBCA5FdKSv4y_3OqfWY56Mesg1iO666Q,3160
|
|
443
443
|
lfx/components/processing/parser.py,sha256=vxnub-7jUTAtMgcLTdZGzHuRby_B1d1HOntsxM3KU_E,5414
|
|
444
444
|
lfx/components/processing/prompt.py,sha256=c4LQPOQSvz1Z1e73uyOm8TaTxWDpCGcujBd-a6AxL1A,2761
|
|
445
|
-
lfx/components/processing/python_repl_core.py,sha256=
|
|
445
|
+
lfx/components/processing/python_repl_core.py,sha256=6kOu64pWyBwBpTqOTM9LPnSsnTX6q_J-Hqhmoxp0wFs,3472
|
|
446
446
|
lfx/components/processing/regex.py,sha256=9n171_Ze--5gpKFJJyJlYafuEOwbPQPiyjhdLY3SUrY,2689
|
|
447
447
|
lfx/components/processing/save_file.py,sha256=UZsmG2aTYGgd6pTF1RXNhQDKVUc-IGmVsdMrREtIA6E,9559
|
|
448
448
|
lfx/components/processing/select_data.py,sha256=BRK9mM5NuHveCrMOyIXjzzpEsNMEiA7oQXvk1DZLHM4,1788
|
|
@@ -556,7 +556,7 @@ lfx/custom/eval.py,sha256=6iekrFA2xHopjorhU06Je5cksgq9KWCHjr_84ehC58c,378
|
|
|
556
556
|
lfx/custom/schema.py,sha256=WwHe0TnNauyiaC17-bKSyEb8K7KJxBtkB32OSbxiICY,678
|
|
557
557
|
lfx/custom/tree_visitor.py,sha256=sa4j8VTwksN8ejTE9fnnH1TpD6OnnTtlg2KemiI-eQA,601
|
|
558
558
|
lfx/custom/utils.py,sha256=eFZcNHvpUhb1Fx6Kbvna2wS0coN3Iub8CW0MvrpstMM,35958
|
|
559
|
-
lfx/custom/validate.py,sha256=
|
|
559
|
+
lfx/custom/validate.py,sha256=Gae1nmvUurTWsEXZ2304IZZVy44tqLcGbATSMvEXl1Y,17117
|
|
560
560
|
lfx/custom/code_parser/__init__.py,sha256=qIwZQdEp1z7ldn0z-GY44wmwRaywN3L6VPoPt6lqx1k,62
|
|
561
561
|
lfx/custom/code_parser/code_parser.py,sha256=QAqsp4QF607319dClK60BsaiwZLV55n0xeGR-DthSoE,14280
|
|
562
562
|
lfx/custom/custom_component/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -717,7 +717,7 @@ lfx/utils/schemas.py,sha256=NbOtVQBrn4d0BAu-0H_eCTZI2CXkKZlRY37XCSmuJwc,3865
|
|
|
717
717
|
lfx/utils/util.py,sha256=xGR32XDRr_TtruhjnXfI7lEWmk-vgywHAy3kz5SBowc,15725
|
|
718
718
|
lfx/utils/util_strings.py,sha256=nU_IcdphNaj6bAPbjeL-c1cInQPfTBit8mp5Y57lwQk,1686
|
|
719
719
|
lfx/utils/version.py,sha256=cHpbO0OJD2JQAvVaTH_6ibYeFbHJV0QDHs_YXXZ-bT8,671
|
|
720
|
-
lfx_nightly-0.1.12.
|
|
721
|
-
lfx_nightly-0.1.12.
|
|
722
|
-
lfx_nightly-0.1.12.
|
|
723
|
-
lfx_nightly-0.1.12.
|
|
720
|
+
lfx_nightly-0.1.12.dev17.dist-info/METADATA,sha256=pSxVkQBQGicCBtp7pePa9ZSKfzP1aXpXK9P84qPK1iI,8068
|
|
721
|
+
lfx_nightly-0.1.12.dev17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
722
|
+
lfx_nightly-0.1.12.dev17.dist-info/entry_points.txt,sha256=1724p3RHDQRT2CKx_QRzEIa7sFuSVO0Ux70YfXfoMT4,42
|
|
723
|
+
lfx_nightly-0.1.12.dev17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|