Commit graph

213 commits

Author SHA1 Message Date
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
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
Ibis Prevedello
e1f4041908 Fix bug when running LLM alone
Fix #117
2023-04-17 16:57:49 -03:00
Ibis Prevedello
ec0c6c79c1 feat: add SQL agent 2023-04-13 22:33:46 -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
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
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
Gabriel Luiz Freitas Almeida
396cb7be2b
Merge branch 'dev' into 146-improve-conversationchain-node 2023-04-10 19:20:56 -03:00
Gabriel Luiz Freitas Almeida
e1ca085a7a
Vector stores, embeddings, document loaders, and text splitters (#145) 2023-04-10 19:16:45 -03:00
Gabriel Almeida
026482bef4 feat(nodes.py): add required and show properties to input_key and output_key fields in ChainFrontendNode
feat(nodes.py): add show property to prompt field in LLMFrontendNode
fix(nodes.py): set password property to False for MemoryFrontendNode's Memory Size field
2023-04-10 15:12:54 -03:00
Gabriel Almeida
16843fd66d fix: prompt fields are never password 2023-04-10 12:23:00 -03:00
Ibis Prevedello
81c634f839 fix: fix lint and formatting 2023-04-10 12:01:13 -03:00
Ibis Prevedello
a6644176d4 feat: change icons, colors and fix minor bug 2023-04-10 11:53:34 -03:00
Ibis Prevedello
fee2e52ec1 Merge branch 'dev' into vecstores 2023-04-10 10:20:56 -03:00
Gabriel Almeida
e420f9dd00 refactor(nodes.py): remove unused ChainFrontendNode class and its format_field method. 2023-04-09 07:00:27 -03:00
Gabriel Almeida
8c044513d2 feat(nodes.py): add ChainFrontendNode class and format_field method to handle key field display 2023-04-09 07:00:27 -03:00
Gabriel Almeida
abfea7fe8f feat: added LLMFrontendNode 2023-04-09 07:00:27 -03:00
Yoaz Menda
4bff12c80f remove unnecessary llama import 2023-04-09 06:51:17 -03:00
Yoaz Menda
ff42fce86e remove unnecessary custom llama object initialization 2023-04-09 06:51:17 -03:00
Yoaz Menda
f02f0f9c98 Add support to llama as llm 2023-04-09 06:51:17 -03:00
Ibis Prevedello
cd6ef4a875 refac: fix tool bug 2023-04-08 13:49:06 -03:00
Gabriel Almeida
c5f24e7dfa fix: linting 2023-04-08 09:29:42 -03:00
Gabriel Almeida
46b2409526 fix: templates were not being processed correctly 2023-04-08 09:29:42 -03:00
Gabriel Almeida
cfd4a229ea fix: adding chainfrontendnode 2023-04-08 09:29:42 -03:00
Gabriel Almeida
db0d07f11d added comment 2023-04-08 06:54:37 -03:00
Gabriel Almeida
3fb53ca95b renamed function 2023-04-08 06:39:11 -03:00
Gabriel Almeida
6056b20b1d replaced with new memoize function 2023-04-08 06:38:08 -03:00
Gabriel Almeida
40e3ffbf50 fix: changed hash for memoization 2023-04-08 06:00:48 -03:00
Gabriel Almeida
843ef15e13 feat: added memoize to cache functions 2023-04-07 18:36:42 -03:00
Ibis Prevedello
8adf26e8de feat: add text splitter 2023-04-07 16:10:44 -03:00
Ibis Prevedello
616dfd0370 Merge branch 'dev' into vecstores 2023-04-07 13:06:49 -03:00
Ibis Prevedello
380aba22de feat: add multi vectore stores 2023-04-07 13:01:03 -03:00
Gabriel Almeida
879588c631 feat: added first tests for llms 2023-04-06 18:18:35 -03:00
Gabriel Almeida
3a4bfc2e36 formatting 2023-04-06 16:18:13 -03:00
Gabriel Almeida
33542db35c Merge branch 'dev' of https://github.com/logspace-ai/langflow into better_build_nodes 2023-04-06 16:15:08 -03:00
Gabriel Almeida
16276f18dd fix linting 2023-04-06 15:46:20 -03:00
Gabriel Almeida
d921983a00 fix: check for specific nodes first 2023-04-06 15:40:16 -03:00
Gabriel Almeida
26524e3b6d fix: password setting improvements 2023-04-06 14:24:00 -03:00
Gabriel Almeida
2fa838943c Merge branch 'dev' of https://github.com/logspace-ai/langflow into chain_tests 2023-04-06 14:14:55 -03:00
Gabriel Almeida
f492eed372 formatting 2023-04-06 14:09:15 -03:00
Ibis Prevedello
cf4ceb0e1a feat: first version of vecstore, docloader and embeddings working 2023-04-06 13:55:07 -03:00
Gabriel Almeida
97ba3c1e62 fix: removing tools until fixed 2023-04-06 12:17:49 -03:00
Gabriel Almeida
acb542ab59 refact: more maintable build_nodes 2023-04-06 10:17:12 -03:00