Commit graph

12,126 commits

Author SHA1 Message Date
anovazzi1
c2382b97db add output preview for grouped components 2024-06-19 19:46:19 -03:00
Gabriel Luiz Freitas Almeida
b97ec2436c refactor: Update Vertex class to use type annotations for display_name, description, frozen, is_input, and is_output 2024-06-19 19:32:16 -03:00
Gabriel Luiz Freitas Almeida
0fb4683262 refactor: Update StrInput to validate the given value 2024-06-19 19:31:38 -03:00
Gabriel Luiz Freitas Almeida
799c08fd84 refactor: Update frontend_node method in utils.py to use set_base_classes_from_outputs 2024-06-19 19:31:32 -03:00
Gabriel Luiz Freitas Almeida
e07aabd761 refactor: Update VectaraVectorStoreComponent to use new parameter names 2024-06-19 19:31:20 -03:00
Gabriel Luiz Freitas Almeida
7c2298b714 refactor: Remove max_tokens parameter from CohereModel 2024-06-19 19:31:14 -03:00
Gabriel Luiz Freitas Almeida
a9f6142820 Update inputs now that extras are forbid 2024-06-19 18:53:02 -03:00
Cezar Vasconcelos
0543934eec Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-19 21:12:13 +00:00
Cezar Vasconcelos
f93bdf8cd8 refactor: Update HuggingFaceEmbeddingsComponent and HuggingFaceInferenceAPIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:12:07 +00:00
Gabriel Luiz Freitas Almeida
8e54c87cf3 refactor: Update model_config in BaseInputMixin to forbid extra fields 2024-06-19 18:11:27 -03:00
Cezar Vasconcelos
a180589f79 refactor: Update AmazonBedrockEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:09:54 +00:00
Cezar Vasconcelos
7884dcff8a refactor: AzureOpenAIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:09:42 +00:00
Cezar Vasconcelos
4a0f4af9a7 refactor: Update OllamaEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:06:07 +00:00
Cezar Vasconcelos
4a201d478c refactor: Update VertexAIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:04:46 +00:00
Cezar Vasconcelos
5d21466525 refactor: Cohere and Mistral Embeddings, new Inputs/Outputs format 2024-06-19 20:59:12 +00:00
Cezar Vasconcelos
d287711f1b Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-19 20:57:02 +00:00
Cezar Vasconcelos
3b6060b243 fix: API Request to use new fields and add DataInputs for Body,Header and Query 2024-06-19 20:54:58 +00:00
Lucas Oliveira
acd2e4daed Fixed content not being colored on genericModal 2024-06-19 17:37:49 -03:00
anovazzi1
036f77fde2 Fix issue with file validation in Message class 2024-06-19 17:32:52 -03:00
Gabriel Luiz Freitas Almeida
3d492db3d9 Fix issue with file validation in Message class 2024-06-19 16:54:34 -03:00
Gabriel Luiz Freitas Almeida
ebb8275bf2 Fix variable name in PromptComponent build_prompt method 2024-06-19 16:54:11 -03:00
anovazzi1
5ef3b70385 update cleanEdges 2024-06-19 16:31:05 -03:00
Gabriel Luiz Freitas Almeida
aec4292239 Fix issue with file validation in Message class 2024-06-19 16:01:56 -03:00
Gabriel Luiz Freitas Almeida
ba8754a785 Fix field validation for files in Message class 2024-06-19 16:01:40 -03:00
Lucas Oliveira
c31cf6fd1e Fixed handle tooltip being on the wrong place 2024-06-19 15:46:17 -03:00
Lucas Oliveira
20b7b6acd6 Fixed buttons on nodes being draggable 2024-06-19 15:37:46 -03:00
Lucas Oliveira
4fcd7027ad implemented Refresh button on node toolbar dropdown that appears when the user edits and the component is outdated. 2024-06-19 15:12:50 -03:00
Lucas Oliveira
d559a61793 Fixed name not editable on editFlowSettingsComponent 2024-06-19 14:44:13 -03:00
Lucas Oliveira
59477dd8e7 Changed description height 2024-06-19 14:39:06 -03:00
Lucas Oliveira
7b590f24a5 Fixed eye not being gray when connected to edge 2024-06-19 14:35:44 -03:00
Lucas Oliveira
faa27183df Fixed textarea component being clickable when the handle is present 2024-06-19 14:35:43 -03:00
Lucas Oliveira
94fec39865 Fixed type errors on GenericNode 2024-06-19 14:35:43 -03:00
Lucas Oliveira
ee0eee5346 Added status inactive tooltip to status icon 2024-06-19 14:34:21 -03:00
Lucas Oliveira
827d3bd746 Fixed inactive node styling, changed it to status icon 2024-06-19 14:34:21 -03:00
Lucas Oliveira
11281c509c removed console.log 2024-06-19 14:34:21 -03:00
Gabriel Luiz Freitas Almeida
1367212412 refactor: Update LogType to include ErrorLogType
The LogType in the schema module has been updated to include the ErrorLogType. This allows for more detailed logging of error messages, including the error message itself and the stack trace. This change improves the accuracy and usefulness of error logging in the application.
2024-06-19 12:24:02 -03:00
cristhianzl
4249170fa9 add tests to basic examples 2024-06-19 11:42:23 -03:00
Gabriel Luiz Freitas Almeida
27594e03dc refactor: Ensure data_input is always a list in RecursiveCharacterTextSplitterComponent 2024-06-19 11:32:09 -03:00
Gabriel Luiz Freitas Almeida
29052746a1 refactor: Update Component class to support dynamic attributes
The Component class in the custom_component module has been updated to support dynamic attributes. This allows users to access attributes that are not explicitly defined in the class. The __getattr__ method has been implemented to handle attribute retrieval. This change improves flexibility and extensibility of the Component class.
2024-06-19 11:32:02 -03:00
anovazzi1
ab9dc0dcd5 add scroll to error tooltip 2024-06-19 11:13:56 -03:00
Gabriel Luiz Freitas Almeida
4f7d453abc refactor: Ensure data_input is always a list in RecursiveCharacterTextSplitterComponent
To prevent potential errors, this refactor ensures that the `data_input` attribute in the `RecursiveCharacterTextSplitterComponent` class is always a list. If it is not already a list, it is converted to a list before processing. This change improves the reliability and consistency of the code.
2024-06-19 10:54:32 -03:00
anovazzi1
f4ef1d9007 Apply Prettier formatting 2024-06-19 13:51:44 +00:00
anovazzi1
481870f7bd add fitGridWidth autoSize Strategy 2024-06-19 10:50:19 -03:00
Gabriel Luiz Freitas Almeida
23f0da7cbb fix docs build 2024-06-19 10:43:40 -03:00
Gabriel Luiz Freitas Almeida
929bac56ed refactor: Remove lock parameter from build_vertex function 2024-06-19 10:37:26 -03:00
ogabrielluiz
49a7860aa5 Apply Ruff formatting 2024-06-19 13:17:38 +00:00
Gabriel Luiz Freitas Almeida
ddc7719a6d chore: Apply Ruff formatting 2024-06-19 10:16:01 -03:00
Gabriel Luiz Freitas Almeida
3b8d90a06b refactor: Remove unused imports and update components in documentation
Remove unused imports and update components in the documentation files to improve code clarity and ensure consistency. This refactor optimizes the codebase and enhances the overall quality of the documentation.
2024-06-19 10:11:56 -03:00
ogabrielluiz
c62acbb80d Apply Prettier formatting 2024-06-19 13:02:41 +00:00
Gabriel Luiz Freitas Almeida
cedab5c9d0 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-19 09:50:15 -03:00