Commit graph

3,174 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
40baf20424 Refactor ChatComponent's add_message method 2024-02-27 17:51:02 -03:00
Gabriel Luiz Freitas Almeida
0e9aa23a1c Refactor ChatOutput class to inherit from ChatComponent 2024-02-27 16:57:51 -03:00
Gabriel Luiz Freitas Almeida
e0a67b0410 Update model invocation in OpenAIModel, VertexAiModel, CohereModel, LlamaCppModel, AnthropicModel, GoogleGenerativeAIModel, AzureOpenAIModel, CTransformersModel, OllamaModel, AmazonBedrockModel, BaiduQianfanChatModel, and HuggingFaceModel 2024-02-27 16:52:04 -03:00
Gabriel Luiz Freitas Almeida
af69ac3333 Refactor code formatting in validate.py 2024-02-27 16:37:03 -03:00
Gabriel Luiz Freitas Almeida
4428cb913c Update base classes to support subclassing CustomComponent 2024-02-27 16:36:56 -03:00
Gabriel Luiz Freitas Almeida
ce32f49a2e Refactor ChatInput and ChatOutput components 2024-02-27 15:34:25 -03:00
Gabriel Luiz Freitas Almeida
99803c53f7 Add run_id to VerticesOrderResponse 2024-02-27 15:30:47 -03:00
Gabriel Luiz Freitas Almeida
3a3ffba6bd Remove unused prompt.py file 2024-02-27 14:55:23 -03:00
Gabriel Luiz Freitas Almeida
bf9fd0130e Remove commented code in schemas.py 2024-02-27 13:57:05 -03:00
Gabriel Luiz Freitas Almeida
d5600f5304 Update VertexStates enum to inherit from str in base.py 2024-02-27 13:46:17 -03:00
Gabriel Luiz Freitas Almeida
0d215c67f5 Add RunResponse schema 2024-02-27 13:46:09 -03:00
Gabriel Luiz Freitas Almeida
c26175aede Add new run_flow_with_caching endpoint 2024-02-27 13:46:00 -03:00
Gabriel Luiz Freitas Almeida
31fc5c4be0 Add session_id check in Vertex class 2024-02-27 13:45:02 -03:00
Gabriel Luiz Freitas Almeida
5a39af29a3 Update process.py with import statements and formatting improvements 2024-02-27 13:44:38 -03:00
Gabriel Luiz Freitas Almeida
e02b477fc9 Add new process method and vertices lists 2024-02-27 13:44:30 -03:00
Gabriel Luiz Freitas Almeida
53af441ec9 Update field name in FrontendNode class 2024-02-27 12:55:42 -03:00
Gabriel Luiz Freitas Almeida
e2e6f80461 Update input variable names in build functions 2024-02-27 12:55:34 -03:00
Gabriel Luiz Freitas Almeida
f6e7fa6374 Refactor build_vertex function in chat.py 2024-02-27 11:38:09 -03:00
Gabriel Luiz Freitas Almeida
acfb9b1061 Add serialize_field function to handle serialization of BaseModel and Document types 2024-02-27 11:38:03 -03:00
Gabriel Luiz Freitas Almeida
073e4b7ccf Add input and output definitions to Graph class 2024-02-27 11:37:53 -03:00
Gabriel Luiz Freitas Almeida
04de488ede Refactor vertex class and update build process 2024-02-27 11:37:44 -03:00
Gabriel Luiz Freitas Almeida
9beadd70f1 Move ResultData to graph 2024-02-27 11:37:27 -03:00
Gabriel Luiz Freitas Almeida
b7e52f62be Refactor API schemas and update dependencies 2024-02-27 11:36:58 -03:00
Gabriel Luiz Freitas Almeida
e4ffe4b9d4 Use vertex instead of outgoing edges 2024-02-27 11:36:28 -03:00
Gabriel Luiz Freitas Almeida
7dbffe6331 Add is_input and is_output attributes to CustomComponent and FrontendNode classes 2024-02-27 11:36:06 -03:00
Gabriel Luiz Freitas Almeida
1df99008a1 Fix vertex building error and improve vertex data comparison 2024-02-26 23:03:16 -03:00
Gabriel Luiz Freitas Almeida
c786e9970d Format exception message 2024-02-26 23:01:20 -03:00
Gabriel Luiz Freitas Almeida
19d0da7f74 Update TextInput field_config to support multiline input 2024-02-26 22:05:31 -03:00
Gabriel Luiz Freitas Almeida
cb999b26bb Add Text import to ChatInput.py 2024-02-26 21:56:52 -03:00
Gabriel Luiz Freitas Almeida
1f3d162e86 Remove unused ChatDefinition class 2024-02-26 21:50:51 -03:00
Gabriel Luiz Freitas Almeida
38ed38d64c Refactor vertex class and add custom component functionality 2024-02-26 21:48:52 -03:00
Gabriel Luiz Freitas Almeida
311dcc812d Refactor vertex types and add filtering for vertex edges 2024-02-26 21:48:23 -03:00
Gabriel Luiz Freitas Almeida
6544a618b6 Update config.yaml with chain documentation links 2024-02-26 20:49:40 -03:00
Gabriel Luiz Freitas Almeida
e2c53f1166 Refactor ConversationChain and LLMCheckerChain components 2024-02-26 20:37:10 -03:00
Gabriel Luiz Freitas Almeida
67aca6dd36 Refactor SQLGeneratorComponent to handle prompt template 2024-02-26 20:29:12 -03:00
Gabriel Luiz Freitas Almeida
84d3bd1ba6 Refactor ChatInput and ChatOutput to support returning messages as records 2024-02-26 18:53:10 -03:00
Gabriel Luiz Freitas Almeida
6dd5b259c4 Add _build_params call on reset 2024-02-26 18:50:29 -03:00
Gabriel Luiz Freitas Almeida
97a3f45e31 Fix from_documents initialization 2024-02-26 18:20:19 -03:00
Gabriel Luiz Freitas Almeida
3f9790a420 Refactor ChatInput and ChatOutput classes to remove 'as_record' parameter 2024-02-26 17:51:51 -03:00
Gabriel Luiz Freitas Almeida
605bfa8db6 Refactor RecordsAsTextComponent to improve code readability 2024-02-26 17:38:41 -03:00
Gabriel Luiz Freitas Almeida
9864ee824d Use display_name in other exceptions 2024-02-26 17:13:04 -03:00
Gabriel Luiz Freitas Almeida
e4d4c21f34 Use display_name in exception 2024-02-26 17:10:52 -03:00
Gabriel Luiz Freitas Almeida
694418827d Implement update_edges_from_vertex 2024-02-26 16:52:53 -03:00
Gabriel Luiz Freitas Almeida
7ad111ef2e Refactor ChromaComponent settings and document validation 2024-02-26 16:27:39 -03:00
Gabriel Luiz Freitas Almeida
5b59e46a13 Format 2024-02-26 16:27:38 -03:00
Gabriel Luiz Freitas Almeida
d65563dd62 Refactor CustomComponent class methods 2024-02-26 16:27:38 -03:00
Gabriel Luiz Freitas Almeida
0111c62c4e Refactor SQLGeneratorComponent class to handle prompts without {question} variable 2024-02-26 16:27:37 -03:00
Gabriel Luiz Freitas Almeida
3d645ee41d Refactor TemplateField class in base.py 2024-02-26 16:27:37 -03:00
Gabriel Luiz Freitas Almeida
aa95686470 Refactor import statement in types.py 2024-02-26 16:27:36 -03:00
Gabriel Luiz Freitas Almeida
5cbeb8abb1 add or remove new edges 2024-02-26 16:27:35 -03:00