Commit graph

1,541 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
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
anovazzi1
8a2cf0f721 format 2023-05-30 00:16:30 -03:00
anovazzi1
ca151c6661 fix refresh error 2023-05-30 00:16:19 -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
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
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
Gustavo Schaedler
b33a9d2b62
Revert "Add Cohere LLM" 2023-05-29 15:11:09 +01:00
anovazzi1
8e81a21722
Pull Request: UI Feature Enhancements (#393)
Description:
This pull request implements several UI feature enhancements to improve
the user experience. The changes include title casing on names and
titles, fixing and changing icons, and adding a cursor pointer on the
chat interface.

Changes Made:

Title case on names and titles: Modified the code to convert names and
titles to title case. This ensures consistent capitalization and
enhances readability throughout the application.

Fixing/Changing icons: Replaced outdated or inconsistent icons with
updated versions to provide a more visually appealing and cohesive user
interface.

Cursor on chat: Added a cursor pointer to the chat interface to indicate
interactivity and enhance user engagement. The cursor appears when
hovering over the chat area, making it clear that the chat is responsive
to user input.
2023-05-29 11:10:01 -03:00
Gustavo Schaedler
a859481513
Add Cohere LLM (#388) 2023-05-29 15:09:30 +01:00
Cristhian Zanforlin Lousa
acec690457 Title case on names/title, fixing/changing icons, cursor on chat 2023-05-29 08:45:42 -03:00
Gabriel Almeida
921fac3c95 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-29 07:31:51 -03:00
Gabriel Almeida
9bac61b563 🚀 feat(config.yaml): add new text splitters and toolkits
Added new text splitters to the configuration file: RecursiveCharacterTextSplitter, LatexTextSplitter, and PythonCodeTextSplitter. These text splitters will be used to split text into smaller chunks for processing. Also, added new toolkits to the configuration file: OpenAPIToolkit and JsonToolkit. These toolkits will be used to process the text chunks generated by the text splitters.
2023-05-29 07:30:58 -03:00
Rodrigo Nader
1e0e5545ae
Error Handling for Modal Calls in Different Flows Prompt/Text (#390)
This pull request resolves a bug related to error handling when
components attempt to call the same modals within different flows. The
issue occurs due to a lack of proper validation and error handling in
the existing codebase. This bugfix aims to provide a comprehensive
solution to mitigate the problem and ensure a smoother user experience.
2023-05-29 00:26:39 -03:00
Cristhian Zanforlin Lousa
46813e5c3f Fixing modal trattative error when is Prompt/Text 2023-05-28 20:37:07 -03:00