Commit graph

1,754 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
263274d266
added custom icon pack for special cases (#405) 2023-05-30 01:16:24 -03:00
Gabriel Almeida
1a8d5561e9 fix 2023-05-30 01:15:48 -03:00
Gabriel Almeida
ad3bb997ee 🐛 fix(base.py): extend list only if key exists and is a list
🐛 fix(nodes.py): flatten list of tools if it is a list of lists
🐛 fix(toolkits/base.py): add "toolkit" check to avoid adding "Tool" to non-toolkit classes
📝 docs(agents.py): update node descriptions to reflect CSV and zero shot agents
The changes in base.py and nodes.py ensure that the code works as intended and avoids errors when extending lists. The change in toolkits/base.py ensures that "Tool" is only added to classes that are toolkits. The changes in agents.py update the node descriptions to reflect that the CSVAgentNode constructs a CSV agent and the InitializeAgentNode constructs a zero shot agent.
2023-05-30 01:11:27 -03:00
anovazzi1
1981321b1a format 2023-05-30 00:41:07 -03:00
anovazzi1
82a8b633a6 new save function to prevent break with large files 2023-05-30 00:40:50 -03:00
Gabriel Almeida
a9c7fc0a69 🔧 chore(config): add VectorStoreToolkit to toolkits list
🐛 fix(base.py): remove deepcopy for VectorStore and VectorStoreRouter agents
🐛 fix(nodes.py): remove deepcopy for VectorStore and VectorStoreRouter agents
🔧 chore(loading.py): comment out unused code for loading toolkits
🐛 fix(toolkits/base.py): add Tool to base_classes in get_signature method
The changes to the config file add the VectorStoreToolkit to the list of toolkits. The deepcopy for VectorStore and VectorStoreRouter agents was causing issues, so it was removed from the base.py and nodes.py files. The loading.py file had some unused code for loading toolkits, so it was commented out. Finally, the base.py file had a bug where the Tool class was not being added to the base_classes list in the get_signature method, so it was added.
2023-05-30 00:38:14 -03:00
anovazzi1
8a2cf0f721 format 2023-05-30 00:16:30 -03:00
anovazzi1
ca151c6661 fix refresh error 2023-05-30 00:16:19 -03:00
Cristhian Zanforlin Lousa
c9403b6433 Adding the trash icon and height icons 2023-05-30 00:03:27 -03:00
Gabriel Almeida
44faf64e09 🔨 refactor(utils.ts): rename nodeIcons keys to improve semantics
The keys of the nodeIcons object have been renamed to improve semantics and readability. The new names are more descriptive of the functionality of the corresponding icons.
2023-05-29 23:45:13 -03:00
Cristhian Zanforlin Lousa
9f27a3e1cc Changing edge colors dark mode 2023-05-29 23:45:02 -03:00
Cristhian Zanforlin Lousa
95eab00a5e Removing trash icon 2023-05-29 22:56:26 -03:00
anovazzi1
8b5a443880 added custom icons for companies, first version 2023-05-29 22:54:30 -03:00
anovazzi1
46ffbb5d9d added custom icons for companies, first version 2023-05-29 22:54:22 -03:00
Gabriel Luiz Freitas Almeida
09cb59d9d6
Added format_instructions to ZeroShotPrompt (#402) 2023-05-29 22:45:55 -03:00
Cristhian Zanforlin Lousa
7a6c15fc3d merge fix 2023-05-29 22:19:34 -03:00
Cristhian Zanforlin Lousa
92668daf19 UI Improvements: tooltip, classes icons e icons 2023-05-29 22:11:03 -03:00
Lucas Oliveira
9f1d64b93f Dropdown and input width set to full 2023-05-29 19:59:03 -03:00
Lucas Oliveira
6f984ca77f Fixed node dragging image 2023-05-29 19:52:49 -03:00
anovazzi1
3e9c44a10d Merge branch 'dev' of personal:logspace-ai/langflow into dev 2023-05-29 19:28:42 -03:00
anovazzi1
254ed68eaa edges with the right color 2023-05-29 19:28:32 -03:00
anovazzi1
b1ad21626a edges with the right color 2023-05-29 19:28:26 -03:00
Lucas Oliveira
f9cee99652 Fixed dark mode on input components 2023-05-29 19:26:21 -03:00
anovazzi1
53fa5cb2e5 Merge branch 'dev' of personal:logspace-ai/langflow into dev 2023-05-29 19:23:35 -03:00
anovazzi1
2ba5678a1c remove classname from edges on import 2023-05-29 19:23:24 -03:00
anovazzi1
19d5445813 remove classname from edges on import 2023-05-29 19:22:59 -03:00
Lucas Oliveira
12ebe5fa17 Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-05-29 19:20:49 -03:00
Lucas Oliveira
cc21fb66a7 Import flows nodes id fixed 2023-05-29 19:20:47 -03:00
anovazzi1
1cdc0b5161
Add Icons module (#368)
Added Chroma Icon and structure to add mode icons
2023-05-29 19:10:59 -03:00
anovazzi1
3e3fff7dd1
Merge branch 'dev' into new_icons 2023-05-29 19:10:50 -03:00
Gabriel Almeida
c05b94e4e9 🚀 feat(test_prompts_template.py): change type of "suffix" and "prefix" fields to "prompt" and update "format_instructions" field
The "suffix" and "prefix" fields have been changed from type "str" to "prompt" to allow for more flexibility in the input. The "format_instructions" field has been updated to be required and multiline, and to show the instructions by default. This change will make it easier for users to understand the expected input format.
2023-05-29 18:57:56 -03:00
Gabriel Almeida
46959acaa9 🔨 refactor(prompts.py): swap suffix and format_instructions fields
🔨 refactor(util.py): add format_instructions to the list of fields to format in format_dict function
The suffix and format_instructions fields in the ZeroShotPromptNode class were swapped to improve the readability of the code. The format_instructions field is now above the suffix field, which makes more sense as it is a required field. In the util.py file, the format_instructions field was added to the list of fields to format in the format_dict function. This ensures that the format_instructions field is properly formatted when the function is called.
2023-05-29 18:52:47 -03:00
Gabriel Luiz Freitas Almeida
a0da588537
feat: SlackDirectoryLoader (#383) 2023-05-29 18:36:40 -03:00
Gabriel Luiz Freitas Almeida
8db30348d8
Merge branch 'dev' into feat/slack-directory-loader 2023-05-29 18:36:32 -03:00
anovazzi1
77c00c7894
Adding scrollbar on overflow itens modal (#400)
Description:
This pull request proposes the addition of a scrollbar to the modal
window containing advanced settings when the number of input fields
exceeds the limit of the screen. This enhancement aims to improve user
experience by providing a convenient way to access all settings, even
when the available screen space is limited.
The number of inputs in the screen is limited by a variable on Utils
that can be easily changed in the future if It's needed.
2023-05-29 18:34:03 -03:00
Cristhian Zanforlin Lousa
a33a4f418c Adding scrollbar on overflow itens modal 2023-05-29 18:25:10 -03:00
anovazzi1
3a34412585 update utils with updateIds function 2023-05-29 18:24:54 -03:00
anovazzi1
c05056c34d added code deleted by mistake that update base classes 2023-05-29 18:21:54 -03:00
Lucas Oliveira
35fd7dabbb Copy Paste bug fixed 2023-05-29 17:14:08 -03:00
Gustavo Schaedler
10cbed6eef
Add Cohere LLM (#397) 2023-05-29 20:57:43 +01:00
GMS
44d6832163 Poetry.lock dependencies version fixed 2023-05-29 20:46:47 +01:00
GMS
2a07f6368f Add Cohere LLM 2023-05-29 20:40:17 +01:00
Alexandre Henrique Pereira Tavares
8039a58af0
🚀 feat(langflow): add support for extra fields in VectorStoreFrontendNode (#396)
 feat(template): add method to add fields to a template
The VectorStoreFrontendNode now supports adding extra fields to its
template. The add_extra_fields method is called after the node is loaded
and adds the weaviate_url field to the template if the node is of type
Weaviate. The Template class now has a method to add fields to a
template. This method is used by the VectorStoreFrontendNode to add the
weaviate_url field to its template.
2023-05-29 16:15:25 -03:00
Gabriel Almeida
3614296fd8 🚀 feat(langflow): add support for extra fields in VectorStoreFrontendNode
 feat(template): add method to add fields to a template
The VectorStoreFrontendNode now supports adding extra fields to its template. The add_extra_fields method is called after the node is loaded and adds the weaviate_url field to the template if the node is of type Weaviate. The Template class now has a method to add fields to a template. This method is used by the VectorStoreFrontendNode to add the weaviate_url field to its template.
2023-05-29 15:49:01 -03:00
Gabriel Almeida
20a438428f 🔧 chore(frontend): format code with prettier
The changes in this commit are purely cosmetic, as the code has been formatted with prettier to improve its readability and consistency. No functional changes have been made.
2023-05-29 14:35:41 -03:00
Gabriel Almeida
38cc3af18d 🔺 chore(pyproject.toml): update langchain and langchain-serve dependencies
The langchain and langchain-serve dependencies have been updated to versions 0.0.184 and 0.0.38 respectively. This update may include bug fixes, performance improvements, or new features.
2023-05-29 14:35:18 -03:00
Gustavo Schaedler
44ebfa450c
Adding support for Ctransformers (#387)
Ctransformers allows support for many models in the GGML format and
HuggingFace models.
2023-05-29 17:27:40 +01:00
Gustavo Schaedler
b9773668b4
Merge branch 'dev' into ctransformers 2023-05-29 17:16:24 +01:00
Gustavo Schaedler
2f3f4193cc
Merge branch 'dev' into new_icons 2023-05-29 15:20:20 +01:00
Gustavo Schaedler
4e474eaaae
Revert "Add Cohere LLM" (#394) 2023-05-29 15:12:45 +01:00