Commit graph

9,346 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
74fc520a7d Refactor graph building and running logic 2024-03-25 12:26:33 -03:00
Gabriel Luiz Freitas Almeida
f95b20322e Refactor build_schema_from_inputs to use display_name and description for field names and descriptions respectively 2024-03-25 12:26:23 -03:00
Gabriel Luiz Freitas Almeida
bc767ac78f Add import statement for SettingsService in MonitorServiceFactory.create() method 2024-03-25 12:02:33 -03:00
Gabriel Luiz Freitas Almeida
97cbb20f90 Add import statement and update build_vertex function 2024-03-25 12:02:21 -03:00
Gabriel Luiz Freitas Almeida
42710a246b Refactor build_vertex method and add RunnableVerticesManager class 2024-03-25 10:56:24 -03:00
Gabriel Luiz Freitas Almeida
0f9dccc4fd Refactor parameterComponent to use inline button_text 2024-03-25 10:27:42 -03:00
Gabriel Luiz Freitas Almeida
2316beea93 Refactor code for initializing services and socketio server 2024-03-25 10:27:27 -03:00
Gabriel Luiz Freitas Almeida
3a989cb9fe Refactor imports in env.py 2024-03-25 10:26:57 -03:00
Gabriel Luiz Freitas Almeida
7a8f10287d Update cache service references 2024-03-25 10:17:06 -03:00
Gabriel Luiz Freitas Almeida
e8630dac7f
Refactor ServiceFactory and Dependencies (#1560)
* Update dependencies for OpenTelemetry

* Update service dependency logic and add first version of telemetry service

* Remove telemetry service and related code
2024-03-25 10:00:39 -03:00
Gabriel Luiz Freitas Almeida
f672a1163d Add SearchApi and SearchApiTool components 2024-03-24 20:14:33 -03:00
Gabriel Luiz Freitas Almeida
c7394b37a3 Refactor SearchApi class to simplify code 2024-03-24 20:09:49 -03:00
Gabriel Luiz Freitas Almeida
df7b4fc590 Refactor SearchApi.py to include typing and handle empty records 2024-03-24 20:08:50 -03:00
Gabriel Luiz Freitas Almeida
26612b643d Refactor XMLAgentComponent.render_tool_description() method 2024-03-24 20:05:07 -03:00
Gabriel Luiz Freitas Almeida
6be88c6b0b Update render_tool_description method in XMLAgent.py 2024-03-24 19:38:32 -03:00
Gabriel Luiz Freitas Almeida
0c9126af4a Add JSONInputComponent to load JSON object as input 2024-03-24 18:50:55 -03:00
Gabriel Luiz Freitas Almeida
8cedc611ad Refactor FlowToolComponent in FlowTool.py 2024-03-24 18:38:14 -03:00
Gabriel Luiz Freitas Almeida
11f9445b29 Refactor flow.py to generate dynamic flow functions and build schemas 2024-03-24 18:38:03 -03:00
Gabriel Luiz Freitas Almeida
affe488791 Add base_name attribute to Vertex class 2024-03-24 18:37:54 -03:00
Gabriel Luiz Freitas Almeida
f20feebb5c Refactor vertex building and streaming endpoints 2024-03-24 17:55:38 -03:00
Gabriel Luiz Freitas Almeida
eca66c518d Fix duplicated first layer results 2024-03-24 17:35:50 -03:00
Gabriel Luiz Freitas Almeida
2b17919883 Update RunFlowComponent to include a method for updating build config 2024-03-24 16:36:42 -03:00
Gabriel Luiz Freitas Almeida
df29e9ce98 Add FlowToolComponent to handle flows as tools 2024-03-24 16:36:00 -03:00
Gabriel Luiz Freitas Almeida
1ef7914a2c Refactor build method to be asynchronous 2024-03-24 16:35:38 -03:00
Gabriel Luiz Freitas Almeida
0c5f5f4fc1 Add dynamic function creation and execution helpers 2024-03-24 16:34:12 -03:00
Gabriel Luiz Freitas Almeida
fa9af83b7c Refactor tweak application logic in process_tweaks function 2024-03-24 16:34:02 -03:00
Gabriel Luiz Freitas Almeida
866299ca4d Add SubFlowComponent to project 2024-03-23 18:52:18 -03:00
Gabriel Luiz Freitas Almeida
32e38e344e Fix logger exception in custom_component_update and remove duplicate import statement 2024-03-23 18:52:11 -03:00
Gabriel Luiz Freitas Almeida
64c4bf0c3c Update Basic Prompting starter project 2024-03-23 18:51:59 -03:00
Gabriel Luiz Freitas Almeida
b585088f17 Fix project icon conversion in setup.py 2024-03-23 18:51:37 -03:00
Gabriel Luiz Freitas Almeida
306d8f6715 Fix refresh button text handling 2024-03-23 18:51:31 -03:00
Gabriel Luiz Freitas Almeida
a1e34143f4 Fix flow loading and running issues 2024-03-23 18:51:16 -03:00
Gabriel Luiz Freitas Almeida
34f1d0aab8 Update import statements in graph files 2024-03-23 00:22:33 -03:00
Gabriel Luiz Freitas Almeida
87fd095233 Add flow.py module with helper functions 2024-03-23 00:22:11 -03:00
Gabriel Luiz Freitas Almeida
1b0964603b Remove unused import and function 2024-03-23 00:21:40 -03:00
Gabriel Luiz Freitas Almeida
dd9347a186 Refactor process.py and schema.py 2024-03-23 00:21:27 -03:00
Gabriel Luiz Freitas Almeida
bb3257ed80 Add session_scope context manager to manage session scope 2024-03-23 00:21:09 -03:00
Gabriel Luiz Freitas Almeida
6c7d06b2f9 Refactor graph run method and custom component usage 2024-03-22 23:07:07 -03:00
Gabriel Luiz Freitas Almeida
d0c3a5b30b Add inputs parameter to XMLAgentComponent 2024-03-22 22:41:13 -03:00
Gabriel Luiz Freitas Almeida
7c4c6b2a56 Add XMLAgentComponent to build an XML agent from an LLM and tools 2024-03-22 22:37:26 -03:00
Gabriel Luiz Freitas Almeida
26562925ae Fix asynchronous cache deletion in ChatService 2024-03-22 22:37:17 -03:00
Gabriel Luiz Freitas Almeida
36c4b9ee4d Add support for input type in Graph class 2024-03-22 22:37:07 -03:00
Gabriel Luiz Freitas Almeida
e6f251320b Fix session cookie expiration issue 2024-03-22 20:04:24 -03:00
Gabriel Luiz Freitas Almeida
66b85a81ed Update token expiration settings 2024-03-22 18:16:07 -03:00
Gabriel Luiz Freitas Almeida
618c4234d6 Refactor file path handling in Vertex class 2024-03-22 17:23:22 -03:00
Gabriel Luiz Freitas Almeida
d0401fec45 Add successors to stack if not visited 2024-03-22 15:35:50 -03:00
Gabriel Luiz Freitas Almeida
af83e426bf Refactor OpenAIModel.py: Remove unnecessary import and update api_key parameter 2024-03-22 15:17:06 -03:00
Gabriel Luiz Freitas Almeida
0e210c36cc Update error message in DirectoryReader class 2024-03-22 12:56:18 -03:00
Gabriel Luiz Freitas Almeida
894995c63d Remove ReActAgent.py component 2024-03-22 12:56:12 -03:00
Gabriel Luiz Freitas Almeida
80aec70ac4 Add tests to run endpoint 2024-03-22 12:38:37 -03:00