Commit graph

7,588 commits

Author SHA1 Message Date
anovazzi1
5ffb60e90f Fix code formatting and apply tweaks 2024-01-19 22:18:39 -03:00
anovazzi1
02526a4906 Add Text class to supported types 2024-01-19 22:17:40 -03:00
anovazzi1
7c34e687e5 Add Text class to field_typing module 2024-01-19 22:12:48 -03:00
anovazzi1
898dfab0ef Add new IO components for chat input, chat output, message history, and text input 2024-01-19 22:11:33 -03:00
anovazzi1
5a7e46ba12 Update schemas and chat.py files 2024-01-19 22:08:02 -03:00
anovazzi1
8ab47639bf Update type hints in ContractEdge class 2024-01-19 22:03:03 -03:00
anovazzi1
46ed96f20f Add import for MonitorService in deps.py 2024-01-19 21:59:47 -03:00
anovazzi1
8ded1ceb4b Add SettingsService class to manage settings from YAML file 2024-01-19 21:57:12 -03:00
anovazzi1
9933d1fec0 Add monitor service and related files 2024-01-19 21:54:21 -03:00
anovazzi1
11eb254622 Add ContractEdge class and related methods 2024-01-19 21:41:10 -03:00
anovazzi1
d2cce0590a Add UnbuiltResult class to utils.py 2024-01-19 21:40:02 -03:00
anovazzi1
cc62b225ca fix(vertex/base.py): fix import statement for UnbuiltResult class
feat(vertex/base.py): add PowerComponentTypes enum to represent power components
feat(vertex/base.py): add is_power_component attribute to Vertex class to determine if a vertex is a power component
feat(vertex/base.py): add get_result_dict method to Vertex class to return a dictionary with the result of the build process
feat(vertex/base.py): add get_built_result method to Vertex class to return the built result of a vertex
feat(vertex/base.py): add set_artifacts method to Vertex class
feat(vertex/base.py): add steps and steps_ran attributes to Vertex class to keep track of build steps
feat(vertex/base.py): add layer attribute to Vertex class to represent the layer of the vertex
feat(vertex/base.py): add set_top_level method to Vertex class to set the parent_is_top_level attribute
feat(vertex/base.py): add pinned attribute to Vertex class to indicate if the vertex is pinned
feat(vertex/base.py): add _reset method to Vertex class to reset the state of the vertex before building
feat(vertex/base.py): add build method to Vertex class to build the vertex and run build steps
feat(vertex/base.py): add get_requester_result method to Vertex class to get the result of the requester vertex
fix(vertex/base.py): fix add_edge method in Vertex class to check if the edge already exists before adding it
fix(vertex/base.py): fix __getstate__ method in Vertex class to include pinned attribute in the state
fix(vertex/base.py): fix _parse_data method in Vertex class to correctly set the pinned attribute
fix(vertex/base.py): fix _run method in Vertex class to handle different types of built objects and handle exceptions
2024-01-19 21:37:40 -03:00
anovazzi1
d3f728a436 Add StatefulVertex and StatelessVertex classes 2024-01-19 20:44:43 -03:00
anovazzi1
2213aa2e57 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-19 17:59:29 -03:00
anovazzi1
e7629226d3 Add process_tweaks_on_graph function to chat.py 2024-01-19 17:59:00 -03:00
anovazzi1
e327c381be Add function to apply tweaks on vertex 2024-01-19 17:58:35 -03:00
anovazzi1
45b2b29545 Add process_tweaks_on_graph function to process.py 2024-01-19 17:57:17 -03:00
anovazzi1
2e79b597fb Update schemas.py with ResultDict model 2024-01-19 17:48:23 -03:00
anovazzi1
4b1d5aa2b6 Add get_cache method to ChatService 2024-01-19 17:22:10 -03:00
anovazzi1
fd64dc9f2a Add Body import to chat.py 2024-01-19 17:11:34 -03:00
anovazzi1
c60fe6ba14 Add build_vertex endpoint to chat.py 2024-01-19 16:47:36 -03:00
anovazzi1
0313592a7b Fix graph edge references in Graph class 2024-01-19 16:42:47 -03:00
anovazzi1
93a374d5b4 Add defaultdict and deque imports 2024-01-19 16:26:05 -03:00
anovazzi1
f6333136cc Add layered topological sort algorithm to Graph class 2024-01-19 16:19:50 -03:00
anovazzi1
5f9a09d4c3 Add Flow model and related schemas 2024-01-19 16:16:01 -03:00
anovazzi1
bbd92fc453 Add VerticesOrderResponse schema 2024-01-19 16:11:03 -03:00
anovazzi1
72e10b42b3 Add API endpoint to get vertices order in a flow 2024-01-19 16:09:17 -03:00
Gabriel Luiz Freitas Almeida
cc31658a37
flow state refactor (#1358)
this pull request refactors the flow state preventing bugs and
unexpected behaviours
2024-01-19 15:33:30 -03:00
Gabriel Luiz Freitas Almeida
8c523b35d7
Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 21:33:40 -03:00
Gabriel Luiz Freitas Almeida
6fc5811697
Update AzureChatOpenAI.py (#1356)
Add API Supported versions - 2023-09-01-preview
2024-01-18 21:31:20 -03:00
igorrCarvalho
f9f6057efc Refactor: Use Promise.all to proccess vertices assynchronously 2024-01-18 20:30:10 -03:00
anovazzi1
fd25788a9b fix(codeTabsComponent): set readonly prop to true for CodeAreaComponent to prevent editing when node template field is dynamic 2024-01-18 18:50:57 -03:00
anovazzi1
10f67667d5 Refactor flowStore and flowsIOStore 2024-01-18 18:48:18 -03:00
anovazzi1
77d5e839b0 Update version number in pyproject.toml 2024-01-18 18:28:05 -03:00
anovazzi1
9c0d794dd1 Add checkInputandOutput function to flowStore.ts 2024-01-18 18:18:54 -03:00
cristhianzl
0f0488e59a fix(parameterComponent): update id and data-testid for textarea component to use the name of the parameter instead of index
fix(EditNodeModal): update id and data-testid for textarea component to use the name of the template parameter instead of index
fix(promptModalComponent.spec): update data-testid for textarea components to use the name of the prompt instead of index
fix(group.spec): update data-testid for textarea component to use a more descriptive name instead of index
fix(saveComponents.spec): update data-testid for textarea component to use a more descriptive name instead of index
2024-01-18 18:18:18 -03:00
anovazzi1
383152aa4b Add flow pool management functions to flowStore and remove duplicate functions from flowIOStore 2024-01-18 18:13:06 -03:00
anovazzi1
103dd29380 Fix template formatting in custom.py 2024-01-18 18:00:32 -03:00
anovazzi1
fb30f18fc2 Add flowPool, outputTypes, inputTypes, inputIds, and outputIds to FlowStoreType 2024-01-18 17:59:37 -03:00
anovazzi1
b8fab10f0b Merge branch 'cz/bug/state/zustand' into zustand/io/migration 2024-01-18 17:55:17 -03:00
anovazzi1
65ec1ab3a5 Fix formatting issues in code 2024-01-18 16:48:13 -03:00
anovazzi1
5e5a64872c chore(flowsIOStore.ts): remove unused variables and functions for better code readability and maintainability
refactor(flowsIOStore.ts): remove unused variables and functions to improve code quality and reduce complexity
2024-01-18 16:38:46 -03:00
igorrCarvalho
30940cb853 Refactor: Make IOView component use zustand store 2024-01-18 14:57:17 -03:00
anovazzi1
276329edf0 Add unselectAll function to CodeTabsComponent and FlowStore 2024-01-18 14:47:43 -03:00
anovazzi1
3b60133639 Fix readonly prop in CodeTabsComponent and update setNodeClass in GenericModal 2024-01-18 14:26:31 -03:00
anovazzi1
291e5f42c0 Update embeddings and conversation chains 2024-01-18 13:38:23 -03:00
anovazzi1
454e80f6d8 fix(GenericNode/index.tsx): import useUpdateNodeInternals from reactflow to fix missing dependency
feat(GenericNode/index.tsx): add useUpdateNodeInternals hook to update node internals when isMinimized changes
2024-01-18 13:37:42 -03:00
cristhianzl
06bc86142a Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 09:35:09 -03:00
Lucas Oliveira
6ab7bbf46c Fixed chat button appearing even if build failed 2024-01-18 13:23:44 +01:00
dxxky
fd8a82fc49
Update AzureChatOpenAI.py
Add API Supported versions - 2023-09-01-preview
2024-01-18 17:16:23 +08:00