Commit graph

11,009 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
fd55d50b89
Refactor langflow processing and langfuse callback initialization (#1413)
Update version to 0.6.7a2 in pyproject.toml

This pull request includes the following changes:

- Refactoring of langflow processing and langfuse callback initialization

- Updating the version to 0.6.7a2 in pyproject.toml
2024-02-09 12:01:58 -03:00
Gabriel Luiz Freitas Almeida
33dc1b9c62 Update version to 0.6.7a2 in pyproject.toml 2024-02-09 12:00:41 -03:00
Gabriel Luiz Freitas Almeida
2b646429c0 Refactor langflow processing and langfuse callback initialization 2024-02-09 12:00:24 -03:00
Gabriel Luiz Freitas Almeida
b57173dd76 Add docs to CustomComponent 2024-02-09 09:39:01 -03:00
Gabriel Luiz Freitas Almeida
56133bc57c Update update_params_with_load_from_db_fields signature to include type hint for custom_component 2024-02-09 09:38:38 -03:00
Gabriel Luiz Freitas Almeida
6b73ad2197 Fix loading.py to handle custom component keys properly 2024-02-09 09:16:45 -03:00
Gabriel Luiz Freitas Almeida
98f739db99 Refactor getattr_return_str method in Component class 2024-02-09 09:06:15 -03:00
Gabriel Luiz Freitas Almeida
9cbe329675 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-09 09:03:07 -03:00
Gabriel Luiz Freitas Almeida
a8f9d4bb4d Refactor directory reader component 2024-02-09 09:01:58 -03:00
Gabriel Luiz Freitas Almeida
3175001891 Refactor custom component template building code 2024-02-09 08:57:14 -03:00
Gabriel Luiz Freitas Almeida
c24771c79b Refactor code and add new functions 2024-02-09 08:56:09 -03:00
Gabriel Luiz Freitas Almeida
ba79225b9c Add display_name for message input in ChatInput and ChatOutput 2024-02-09 08:48:07 -03:00
Gabriel Luiz Freitas Almeida
e1f6db660a Update import statements in test_custom_types.py 2024-02-09 08:47:22 -03:00
Gabriel Luiz Freitas Almeida
493a64381c Refactor build_template_config to use CustomComponent 2024-02-09 08:46:50 -03:00
Gabriel Luiz Freitas Almeida
1d31ee753b Add serialize_field function to handle serialization of BaseModel and Document types 2024-02-08 19:42:47 -03:00
anovazzi1
7d3c21e608 temp fix for code issue on nodeToolbar 2024-02-08 19:41:18 -03:00
Gabriel Luiz Freitas Almeida
a9cb30c378 Add JSON formatting for dict objects in ChatVertex 2024-02-08 19:26:04 -03:00
anovazzi1
921a662f79 Fix message parameter type in newChatView component 2024-02-08 19:01:38 -03:00
Łukasz Gajownik
6f258863f3 Fix: Error: cannot import name 'CreateTrace' from 'langfuse.callback' 2024-02-08 22:35:10 +01:00
Gabriel Luiz Freitas Almeida
21bff66c1a Update ChatInput and ChatVertex classes 2024-02-08 18:32:08 -03:00
anovazzi1
0b53d36e76 Add chat output responses to chatMessages 2024-02-08 18:21:43 -03:00
cristhianzl
33d05a23f3 Merge branch 'add_emoji_icon' into dev 2024-02-08 18:08:24 -03:00
cristhianzl
b9570b9c32 add emoji icon 2024-02-08 18:06:59 -03:00
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