Commit graph

2,999 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
60c7ea3e35 Sort vertices containing interface components first 2024-02-20 16:01:17 -03:00
Gabriel Luiz Freitas Almeida
cb284b4b7f Add status do IO components 2024-02-20 13:21:30 -03:00
Gabriel Luiz Freitas Almeida
7b9166b5ba Refactor chat service code 2024-02-20 13:19:42 -03:00
Gabriel Luiz Freitas Almeida
80815e0526 Refactor caching and result set up 2024-02-20 13:17:40 -03:00
Gabriel Luiz Freitas Almeida
aebab3f7e3 Add new build_and_cache_graph in utils.py 2024-02-20 13:17:04 -03:00
Gabriel Luiz Freitas Almeida
b90ff00cf4 Remove all websocket logic 2024-02-20 13:16:43 -03:00
Gabriel Luiz Freitas Almeida
5cef5b868a Refactor graph building and caching 2024-02-20 13:13:01 -03:00
Gabriel Luiz Freitas Almeida
aadb4c7d87 Add result attribute to Vertex class 2024-02-20 13:12:49 -03:00
Gabriel Luiz Freitas Almeida
0fb0b34423 Refactor process.py: Format code and add type hints 2024-02-20 13:12:42 -03:00
Gabriel Luiz Freitas Almeida
985cf9e532 Update set_cache method parameter name 2024-02-20 13:11:53 -03:00
Gabriel Luiz Freitas Almeida
54758662c2 Refactor Vertex class and update params dictionary 2024-02-20 12:17:48 -03:00
Gabriel Luiz Freitas Almeida
fdfbe810c9 Refactor Graph update method to handle new and removed vertices 2024-02-20 12:17:41 -03:00
Gabriel Luiz Freitas Almeida
b308183f0d Fix vertex sorting issue in Graph class 2024-02-20 10:47:44 -03:00
Gabriel Luiz Freitas Almeida
51f39223d4 Add sorting of vertices based on InterfaceComponentTypes 2024-02-20 10:28:44 -03:00
Gabriel Luiz Freitas Almeida
d0880c6c62 Refactor graph sorting algorithm to prioritize chat inputs 2024-02-20 10:03:30 -03:00
Gabriel Luiz Freitas Almeida
7c93b24845 Refactor error handling in get_vertices function 2024-02-20 10:03:24 -03:00
Gabriel Luiz Freitas Almeida
3f03425a7c Refactor layer assignment logic in Graph class 2024-02-20 09:58:32 -03:00
Gabriel Luiz Freitas Almeida
29d176c906 🔧 chore(base.py): update serialize_display_name method to handle cases where display_name is not set and convert name to title case if title_case is True 2024-02-19 21:46:47 -03:00
Gabriel Luiz Freitas Almeida
09612c82a0 Default display_name to None 2024-02-19 21:46:31 -03:00
Gabriel Luiz Freitas Almeida
fc72fa9150 Refactor custom component field ordering 2024-02-19 21:46:17 -03:00
Gabriel Luiz Freitas Almeida
c456306f8e Update field_order to be an optional list 2024-02-19 21:45:46 -03:00
Gabriel Luiz Freitas Almeida
0e30d7b12b Refactor Template class in base.py 2024-02-19 21:45:23 -03:00
Gabriel Luiz Freitas Almeida
5e641a42b8 Add field_order property to CustomComponent 2024-02-19 21:45:22 -03:00
Gabriel Luiz Freitas Almeida
977e72bb9b
New llms (#1437)
added the new llms on run mode
2024-02-19 20:57:58 -03:00
cristhianzl
862770daea Merge branch 'dev' into zustand/io/migration 2024-02-19 20:45:28 -03:00
Gabriel Luiz Freitas Almeida
f417378779 Add 'as_record' parameter to ChatOutput class 2024-02-19 19:00:51 -03:00
Gabriel Luiz Freitas Almeida
03cac50323 Add RoutingVertex class to handle routing logic in graph 2024-02-19 18:54:36 -03:00
Gabriel Luiz Freitas Almeida
9c8d470e5e Add new attributes to Vertex class 2024-02-19 18:53:31 -03:00
Gabriel Luiz Freitas Almeida
4bb6290f3c Update Record class in schema.py 2024-02-19 16:41:14 -03:00
Gabriel Luiz Freitas Almeida
87f3330ab5 Remove unused code in PromptComponent 2024-02-19 16:41:08 -03:00
Gabriel Luiz Freitas Almeida
d413b2b6fc PromptComponent now handles Record inputs 2024-02-19 16:28:32 -03:00
Gabriel Luiz Freitas Almeida
1d49876647 Refactor settings service and import statements 2024-02-19 14:56:58 -03:00
anovazzi1
b1b11050c5 Update ChatInput.py to allow multiline messages 2024-02-19 13:37:25 -03:00
Gabriel Luiz Freitas Almeida
d2c1d86f67 Update login.py with new auth settings 2024-02-19 13:36:38 -03:00
Gabriel Luiz Freitas Almeida
451f176fb4 Import litellm package and update ChatLiteLLMComponent class 2024-02-19 13:29:32 -03:00
Gabriel Luiz Freitas Almeida
abd9b8e3a9 Fix formatting and import issues 2024-02-19 13:28:16 -03:00
Gabriel Luiz Freitas Almeida
69227ac5ba
Hf fix (#1444)
fix hf auth loop error
2024-02-19 13:26:35 -03:00
Gabriel Luiz Freitas Almeida
b50a0feddf Handle exception when getting vertices in chat.py 2024-02-19 12:36:02 -03:00
Gabriel Luiz Freitas Almeida
9481f76b05 Update ChatInput and ChatOutput to include sender information in Record data 2024-02-19 12:30:20 -03:00
Gabriel Luiz Freitas Almeida
fa71826663 Fix graph cutting logic 2024-02-19 12:30:20 -03:00
Gabriel Luiz Freitas Almeida
2491c87fda Refactor authentication cookie settings 2024-02-19 11:45:36 -03:00
anovazzi1
4f2c8cde34 Update cookie settings for login and token refresh 2024-02-19 11:23:27 -03:00
anovazzi1
77331da3b6 Update cookie settings for secure access 2024-02-19 11:15:08 -03:00
anovazzi1
ab4ff09e8e Update cookie settings for login and refresh_token functions 2024-02-19 10:49:02 -03:00
Gabriel Luiz Freitas Almeida
5edcf56bfe Fix message assignment in ChatVertex class 2024-02-19 08:38:41 -03:00
Gabriel Luiz Freitas Almeida
bd18346ad9 update message variable instead of self 2024-02-18 20:30:40 -03:00
Gabriel Luiz Freitas Almeida
455a518352 Fix comparison logic in Graph class 2024-02-18 20:30:05 -03:00
Gabriel Luiz Freitas Almeida
2b51674144 Replace clear method with delete method in ChatService 2024-02-18 18:03:34 -03:00
Gabriel Luiz Freitas Almeida
891e8a04ac Add UUIDGeneratorComponent to generate unique IDs 2024-02-18 17:28:32 -03:00
Gabriel Luiz Freitas Almeida
cb95de9e1f Add support for returning messages as a Record in ChatInput and ChatOutput 2024-02-18 17:28:26 -03:00