Commit graph

9,536 commits

Author SHA1 Message Date
cristhianzl
83e1dc1b4f add code toolbar, edit advanced on double click 2024-02-08 17:54:18 -03:00
cristhianzl
e4aa1d12bb Merge branch 'cz/code-node-toolbar' into zustand/io/migration 2024-02-08 17:51:35 -03:00
anovazzi1
34b3be397e Fix conditional statement in IOView component 2024-02-08 17:34:24 -03:00
anovazzi1
3d2a76438c fix(parameterComponent): fix logic for setting load_from_db property in template object
fix(codeTabsComponent): fix logic for setting load_from_db property in template object
fix(EditNodeModal): fix logic for setting load_from_db property in template object
fix(globalVariablesPage): fix logic for deleting global variable by id
feat(globalVariables): add getVariableId function to retrieve variable id by key
feat(types): add getVariableId function to GlobalVariablesStore type
2024-02-08 16:58:13 -03:00
Gabriel Luiz Freitas Almeida
928ba602bb Refactor credential creation logic 2024-02-08 16:33:42 -03:00
Gabriel Luiz Freitas Almeida
5b51610377 Refactor code and fix imports 2024-02-08 15:48:22 -03:00
anovazzi1
c724d1131a Refactor registerGlobalVariable function signature 2024-02-08 15:36:18 -03:00
Gabriel Luiz Freitas Almeida
7387388089 Refactor create_credential function to use model_dump and model_validate methods 2024-02-08 15:30:50 -03:00
anovazzi1
021612f5ae Add provider field to AddNewVariableButton component 2024-02-08 15:29:41 -03:00
Gabriel Luiz Freitas Almeida
1148095156 Refactor credential.py: update create_credential() method 2024-02-08 15:07:01 -03:00
anovazzi1
326a0f9866 Refactor getGlobalVariables function to store data in globalVariables object 2024-02-08 15:06:54 -03:00
anovazzi1
9c24affbd1 Refactor globalVariablesStore to use optional provider 2024-02-08 14:16:03 -03:00
anovazzi1
b76eb655b2 Refactor API functions and update global variables types 2024-02-08 14:01:52 -03:00
anovazzi1
a91668b5f2 fix(parameterComponent): add options prop to ParameterComponent to display global variables in dropdown
feat(codeTabsComponent): add support for global variables in InputComponent and DictComponent
feat(inputComponent): remove dependency on globalVariablesStore and use options prop instead
feat(editNodeModal): add support for global variables in InputComponent
2024-02-08 13:45:18 -03:00
cristhianzl
448a34f934 delete inside nodetoolbar and code replaced position with delete 2024-02-08 10:22:37 -03:00
Gabriel Luiz Freitas Almeida
d8522f8236 Add emoji validation to icon field in custom components 2024-02-08 10:12:31 -03:00
Gabriel Luiz Freitas Almeida
f48b4468f6 Add icon property to APIClassType 2024-02-08 10:02:33 -03:00
Gabriel Luiz Freitas Almeida
585ae464a1 Add icon support to CustomComponent 2024-02-08 10:01:29 -03:00
cristhianzl
4193242ec6 open advanced modal on double click node 2024-02-08 09:33:37 -03:00
Gabriel Luiz Freitas Almeida
42fb9aa4aa makes Text an input_type if field_type is str 2024-02-07 23:41:05 -03:00
Gabriel Luiz Freitas Almeida
4bba0212ff Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-07 22:42:20 -03:00
Gabriel Luiz Freitas Almeida
b1ef28da7b Refactor ChromaSearchComponent to return records instead of documents 2024-02-07 22:33:19 -03:00
Gabriel Luiz Freitas Almeida
3a1fa30984 Add RecordsAsTextComponent to convert Records to text 2024-02-07 22:33:14 -03:00
Gabriel Luiz Freitas Almeida
603ffd1f1b Add Record class and conversion functions 2024-02-07 22:33:07 -03:00
Gabriel Luiz Freitas Almeida
7a4b2dfc7e Refactor ChatOpenAIComponent configuration fields 2024-02-07 21:00:35 -03:00
Gabriel Luiz Freitas Almeida
f21ddc2306 Refactor OpenAIModelComponent configuration fields 2024-02-07 21:00:03 -03:00
Gabriel Luiz Freitas Almeida
5ed7c4fbe1 Add nodeColors and nodeNames for models 2024-02-07 20:47:29 -03:00
Gabriel Luiz Freitas Almeida
db969dbed0 Add OpenAI model component to langflow 2024-02-07 20:47:24 -03:00
Gabriel Luiz Freitas Almeida
4bbe26fa65 Rename ChromaComponent to ChromaSearchComponent 2024-02-07 20:30:13 -03:00
Gabriel Luiz Freitas Almeida
26ae9efab3 Update ChromaComponent description and display name 2024-02-07 20:29:57 -03:00
Gabriel Luiz Freitas Almeida
cc5e491d8a Add PromptComponent to langflow prompts 2024-02-07 20:28:29 -03:00
Cristhian Zanforlin Lousa
034312d2a2
Refactor: make new flow create as "Untitled document" instead of random name (#1408) 2024-02-07 20:00:21 -03:00
Gabriel Luiz Freitas Almeida
1f5f5d7006 Add ChromaSearch component for implementing a Vector Store using Chroma 2024-02-07 19:42:47 -03:00
Gabriel Luiz Freitas Almeida
41ead835f0 Refactor file path handling in Vertex class 2024-02-07 19:13:55 -03:00
Gabriel Luiz Freitas Almeida
a2e0a6aed7 Refactor get_full_path method in CustomComponent 2024-02-07 19:13:49 -03:00
Gabriel Luiz Freitas Almeida
e260ee1470
Fix disallowed_special parameter and refactor CharacterTextSplitterComponent (#1410)
This pull request fixes the disallowed_special parameter in the OpenAIEmbeddingsComponent and refactors the CharacterTextSplitterComponent to use typing and update the return value. It also updates the ChromaComponent configuration and bumps the version to 0.6.7a1 in pyproject.toml.
2024-02-07 18:59:58 -03:00
Gabriel Luiz Freitas Almeida
0987affdf7 Bump version to 0.6.7a1 in pyproject.toml 2024-02-07 18:57:43 -03:00
Gabriel Luiz Freitas Almeida
829c810562 Update ChromaComponent configuration 2024-02-07 18:57:24 -03:00
Gabriel Luiz Freitas Almeida
a76b356526 Refactor CharacterTextSplitterComponent to use typing and update return value 2024-02-07 18:57:19 -03:00
Gabriel Luiz Freitas Almeida
778ed3a8e7 Fix disallowed_special parameter in OpenAIEmbeddingsComponent 2024-02-07 18:50:04 -03:00
anovazzi1
de854325ed Fix message type conversion in newChatView component 2024-02-07 18:14:31 -03:00
Gabriel Luiz Freitas Almeida
52494fbf74 Update display name and return result as dictionary 2024-02-07 15:55:23 -03:00
Gabriel Luiz Freitas Almeida
5d7f00c5ad Add support for ChatVertex in _get_vertex_class() method 2024-02-07 15:31:36 -03:00
anovazzi1
36ccba9b78 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-07 15:30:28 -03:00
Gabriel Luiz Freitas Almeida
b79e4a1198 Remove unnecessary steps in AgentVertex and ChainVertex 2024-02-07 14:59:48 -03:00
Gabriel Luiz Freitas Almeida
b4012a80b2 Fix validationStatus data in GenericNode component 2024-02-07 14:59:39 -03:00
Gabriel Luiz Freitas Almeida
f01d8cf046 Refactor component name determination logic in directory_reader.py 2024-02-07 14:23:21 -03:00
Gabriel Luiz Freitas Almeida
dfae41cd45 Add AsyncStreamingLLMCallbackHandleSIO class 2024-02-07 14:07:27 -03:00
Gabriel Luiz Freitas Almeida
58ee61d0a2 Update schemas.py with serialization functions 2024-02-07 14:07:23 -03:00
Gabriel Luiz Freitas Almeida
0abeda51e9 Refactor _get_vertex_class method to handle node_base_type 2024-02-07 14:07:13 -03:00