Commit graph

816 commits

Author SHA1 Message Date
Gabriel Almeida
f1ef859374 feat(template): add advanced flag to TemplateFieldCreator and FrontendNode classes
Add an advanced flag to the TemplateFieldCreator and FrontendNode classes to allow for fields to be hidden from the user interface. In the TemplateFieldCreator class, the advanced flag is set to False by default. In the FrontendNode class, the advanced flag is set to False for all fields except for "model_type" and "model_kwargs", which are set to True.
2023-04-19 14:52:05 -03:00
Gabriel Almeida
72bb4e45c5 Merge branch 'dev' of https://github.com/logspace-ai/langflow into NodeModal 2023-04-19 14:25:20 -03:00
Gabriel Almeida
0b087e28c5 feat(pyproject.toml): add pyarrow dependency to the project. 2023-04-19 00:48:22 -03:00
Gabriel Almeida
8721083c25 refactor(run.py): simplify fix_memory_inputs function and handle cases where langchain_object has no prompt attribute 2023-04-19 00:48:06 -03:00
Gabriel Almeida
cd241c22c7 refactor(loading.py): add support for instantiating tool nodes
refactor(tools/base.py): comment out unused code for ToolCreator
feat(nodes.py): add 'return_direct' field to ToolNode template and set base class to 'Tool'
2023-04-19 00:46:57 -03:00
anovazzi1
a3294c4fcf added advanced verification and removed show property from validation 2023-04-18 22:36:04 -03:00
anovazzi1
38aa051bf9 update node verification bug for boolean field 2023-04-18 22:32:54 -03:00
Gabriel Almeida
a0da9c6111 refactor(validate.py): filter function objects by filename to ensure they are from the evaluated string 2023-04-18 21:27:47 -03:00
Gabriel Almeida
3b52cd0e6b Merge remote-tracking branch 'origin' into dev 2023-04-18 18:58:05 -03:00
Gabriel Almeida
188cbb0ed0 chore(pyproject.toml): update package version from 0.0.56 to 0.0.57 2023-04-17 21:29:40 -03:00
Gabriel Almeida
a36aedd8fd fix(pyproject.toml): replace psycopg2 with psycopg2-binary to avoid installation issues 2023-04-17 21:29:40 -03:00
Ibis Prevedello
988f4b32f5 Fix bug when running LLM alone
Fix #117
2023-04-17 21:29:40 -03:00
Ibis Prevedello
a4f32777de Update issue templates 2023-04-17 21:29:40 -03:00
Ibis Prevedello
e1f4041908 Fix bug when running LLM alone
Fix #117
2023-04-17 16:57:49 -03:00
Ibis Prevedello
abcddeeaf1
Update issue templates 2023-04-14 11:15:30 -03:00
Ibis Prevedello
4aa9bd659d
VectorStores, DocumentLoaders, TextSplitters, Embeddings and other additions (#157)
This release adds many bug fixes and exposes many other new nodes.
2023-04-13 23:17:38 -03:00
Ibis Prevedello
b87ee31824
Add SQL Agent (#159) 2023-04-13 22:45:55 -03:00
Ibis Prevedello
ec0c6c79c1 feat: add SQL agent 2023-04-13 22:33:46 -03:00
Ibis Prevedello
885d0ffc22
Change docstring parser (#158)
Using library `docstring-parser`
2023-04-13 22:25:41 -03:00
Ibis Prevedello
3d211fc487 fix test, linting, and vector_store folder 2023-04-13 22:12:21 -03:00
Ibis Prevedello
ba1f7daa7a refac: change docstring parser 2023-04-13 21:39:25 -03:00
Gabriel Almeida
ce542e9337 fix(langflow): return None when a node is not loaded in LangChainTypeCreator classes 2023-04-13 15:54:40 -03:00
Gabriel Almeida
319ff6ab3a chore(pyproject.toml): update langflow package version from 0.0.55 to 0.0.56 2023-04-13 15:45:27 -03:00
Gabriel Almeida
6d2f948bdb refactor(base.py): remove unnecessary comment
feat(base.py): add support for int type in node value
feat(base.py): add support for chunk_size and chunk_overlap in TextSplitterCreator signature
2023-04-13 15:45:08 -03:00
Gabriel Almeida
b56d905042 fix conflicts 2023-04-13 12:00:07 -03:00
Gabriel Almeida
c28e6ad62d fix: fix import paths for several modules
feat: add logging for missing nodes in LangChainTypeCreator classes
feat: add support for custom TextLoader document loader
fix: fix typo in document loaders base module name
fix: fix typo in text_splitters package name and add __init__.py file

refactor(interface): rename textSplitters to text_splitters
refactor(interface): rename documentLoaders to document_loaders
refactor(interface): rename vectorStore to vectorstore
refactor(interface): rename toolkits to toolkit
refactor(interface): rename tools to tool
refactor(interface): rename prompts to prompt
refactor(interface): rename memories to memory
refactor(interface): rename embeddings to embedding
refactor(interface): rename wrappers to wrapper
fix(interface): fix typo in text_splitters/base.py
fix(interface): fix typo in toolkits/base.py
fix(interface): fix typo in vectorstore/base.py
fix(interface): fix typo in wrappers/base.py
feat(interface): add logging for when a type is not loaded
2023-04-13 11:57:10 -03:00
Ibis Prevedello
b9ef727248 refac: remove UnstructuredImageLoader because of issue with Python 3.11 2023-04-13 11:52:42 -03:00
Ibis Prevedello
41c2ba9639 refac: add decorator to create cache folder 2023-04-13 11:52:42 -03:00
Ibis Prevedello
37925c275f test: fix text scripts 2023-04-13 11:52:42 -03:00
Ibis Prevedello
c69e5a72f0 feat: add document loaders 2023-04-13 11:52:42 -03:00
Ibis Prevedello
296ecafdcf refac: change cache folder 2023-04-13 11:52:42 -03:00
Carlos Coelho
cf8c5a52fa
Delete langflow-demo.gif 2023-04-13 10:38:55 -03:00
Carlos Coelho
c957f8fa84
new gif 2023-04-13 10:37:19 -03:00
anovazzi1
a78a71c997 required in advanced icon and items, need new variable from backend 2023-04-13 01:10:13 -03:00
anovazzi1
040695dfa6 open pop up on input click 2023-04-13 00:52:35 -03:00
anovazzi1
ba271ff85f advanced icon 2023-04-13 00:47:55 -03:00
anovazzi1
e97a128988 align inputs 2023-04-13 00:36:05 -03:00
anovazzi1
4206a2183c added LIFO history to popUp context 2023-04-12 20:22:57 -03:00
anovazzi1
efbb5ff763 first styling in nodeModal 2023-04-12 19:57:52 -03:00
anovazzi1
3224cd8ed7 comment text area component 2023-04-11 20:43:07 -03:00
anovazzi1
394d6d4b4b added file component 2023-04-11 20:41:22 -03:00
anovazzi1
8413c4c6c0 added template for complicated type 2023-04-11 20:37:40 -03:00
anovazzi1
74b7a17afc added DropdownComponent 2023-04-11 20:29:04 -03:00
anovazzi1
fef9f254d6 added floatComponent 2023-04-11 20:27:28 -03:00
anovazzi1
4ddd47da10 added bool toogle button 2023-04-11 20:24:48 -03:00
anovazzi1
09db0734d7 str type components for options =false 2023-04-11 20:21:30 -03:00
anovazzi1
596263c42f showing all properties of the node template 2023-04-10 21:23:25 -03:00
anovazzi1
1df0757a54 custom title 2023-04-10 21:07:40 -03:00
anovazzi1
36b191d06b custom icon on node modal and change type on contexts 2023-04-10 21:04:42 -03:00
anovazzi1
1d1c19beca added button to open modal 2023-04-10 20:35:07 -03:00