Commit graph

136 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
bb19581750 Refactor run_graph function to add support for running a JSON flow 2024-04-01 16:18:02 -03:00
Gabriel Luiz Freitas Almeida
0014e877d1 Add asyncio loop to LangflowApplication initialization 2024-04-01 16:07:57 -03:00
Gabriel Luiz Freitas Almeida
23e08f1f5c Add custom Uvicorn worker for Langflow application 2024-04-01 16:07:50 -03:00
Gabriel Luiz Freitas Almeida
d8162f5dc2 Add support for retrieving specific component output 2024-04-01 15:06:57 -03:00
Gabriel Luiz Freitas Almeida
6090df0deb Refactor input_request parameter in simplified_run_flow function 2024-04-01 14:36:27 -03:00
Gabriel Luiz Freitas Almeida
07093d83ba Refactor SimplifiedAPIRequest and add documentation for Tweaks 2024-04-01 14:21:22 -03:00
Gabriel Luiz Freitas Almeida
7cd4b00611 Refactor flow running endpoints 2024-04-01 14:16:07 -03:00
Gabriel Luiz Freitas Almeida
665a5011e3 Update Vertex params in base.py 2024-04-01 13:33:38 -03:00
Gabriel Luiz Freitas Almeida
7e5b2c5d14 Remove filepath reference 2024-04-01 13:33:29 -03:00
Gabriel Luiz Freitas Almeida
99d9eb3384 Update Starter Examples 2024-04-01 12:19:41 -03:00
Gabriel Luiz Freitas Almeida
81069dce39 Update setup.py to include latest component versions 2024-04-01 12:19:08 -03:00
Gabriel Luiz Freitas Almeida
7415def0a9 Add constants for Langflow base module 2024-04-01 12:18:55 -03:00
Gabriel Luiz Freitas Almeida
4b052776ed update starter projects 2024-04-01 12:02:36 -03:00
Gabriel Luiz Freitas Almeida
dd6ece6700 Add field_typing import to OpenAIModel.py 2024-04-01 11:51:40 -03:00
Gabriel Luiz Freitas Almeida
00ea6d73fe Add session_id to simplified_run_flow_with_caching endpoint 2024-04-01 11:19:19 -03:00
Gabriel Luiz Freitas Almeida
1f28774be3 Add STREAM_INFO_TEXT constant to model components 2024-04-01 11:19:11 -03:00
Gabriel Luiz Freitas Almeida
fcece1b29b Add new schema for simplified API request 2024-04-01 10:38:01 -03:00
Gabriel Luiz Freitas Almeida
c63f603b57 Update input type in Graph class 2024-04-01 10:37:51 -03:00
Gabriel Luiz Freitas Almeida
0aa9894435 Add InputType and OutputType literals to schema.py 2024-04-01 10:37:41 -03:00
Gabriel Luiz Freitas Almeida
0966a30043 Refactor load_session method to handle coroutine result 2024-04-01 09:17:20 -03:00
Gabriel Luiz Freitas Almeida
ac38b1d3b5 Add asyncio loop to uvicorn command 2024-04-01 09:17:01 -03:00
Gabriel Luiz Freitas Almeida
be9a8c20fc Add nest_asyncio to fix event loop issue 2024-04-01 00:13:38 -03:00
Gabriel Luiz Freitas Almeida
a8779b1205 Add PythonFunctionComponent and test case for it 2024-04-01 00:13:33 -03:00
Gabriel Luiz Freitas Almeida
f43c558f7a Refactor run_flow_with_caching endpoint to include simplified and experimental versions 2024-03-31 23:12:24 -03:00
Gabriel Luiz Freitas Almeida
888a6904d5 Update input type options in schemas and graph base classes 2024-03-31 23:12:18 -03:00
Gabriel Luiz Freitas Almeida
6af34864ad Update RangeSpec step_type default value to "float" 2024-03-31 22:06:31 -03:00
Gabriel Luiz Freitas Almeida
666248ee40 Fix range_spec step type validation 2024-03-31 22:05:00 -03:00
Gabriel Luiz Freitas Almeida
ff3bf645fd Update BaiduQianfanChatModel and OpenAIModel configurations 2024-03-31 21:48:33 -03:00
Gabriel Luiz Freitas Almeida
45b9141adb Refactor AzureOpenAIModel.py: Removed unnecessary "required" attribute from input parameters 2024-03-31 21:42:16 -03:00
Gabriel Luiz Freitas Almeida
bd96a863a7 Update OpenAI API Key handling in OpenAIEmbeddingsComponent 2024-03-31 21:30:49 -03:00
Gabriel Luiz Freitas Almeida
32b92c5e1c make Message field have no handles 2024-03-31 21:29:39 -03:00
Rodrigo Nader
e0a0220917 Update model kwargs and temperature values 2024-03-31 18:17:29 -03:00
Rodrigo Nader
3540302c3a Update OpenAI API Key field in OpenAIEmbeddingsComponent 2024-03-31 18:03:35 -03:00
Gabriel Luiz Freitas Almeida
9cfbe0f216 Fix rangeSpec bug and handle response error in ParameterComponent 2024-03-31 10:38:35 -03:00
Rodrigo Nader
c71c8f4fee Refactor APIRequest class to use Record type for headers and body 2024-03-31 00:47:56 -03:00
Rodrigo Nader
a247a07c17 Add advanced options for various model components 2024-03-31 00:29:49 -03:00
Gabriel Luiz Freitas Almeida
f789591c4e Fix range_spec typo in ConversationalAgent and CreateRecord components 2024-03-31 00:04:07 -03:00
Gabriel Luiz Freitas Almeida
958243d17a Add range specification for number of fields 2024-03-31 00:03:44 -03:00
Gabriel Luiz Freitas Almeida
8537ebb1b5 Update conversation example 2024-03-30 23:25:54 -03:00
Gabriel Luiz Freitas Almeida
7cf7ddb9f2 Fix message storing condition in ChatComponent 2024-03-30 23:18:55 -03:00
Gabriel Luiz Freitas Almeida
a8e5ebe998 Update example 2024-03-30 23:16:27 -03:00
Gabriel Luiz Freitas Almeida
9e3c3c7ef8 Refactor file path configuration in FileComponent 2024-03-30 20:21:56 -03:00
Gabriel Luiz Freitas Almeida
07ddd6c43b Add Memory Conversation example 2024-03-30 20:19:51 -03:00
Gabriel Luiz Freitas Almeida
b2962ca1da Swap input_types order in TextInput and TextOutput 2024-03-30 20:12:38 -03:00
Gabriel Luiz Freitas Almeida
67441d4e39 Add MemoryComponent and update MessageHistoryComponent 2024-03-30 20:08:15 -03:00
Gabriel Luiz Freitas Almeida
d457e474df Refactor CreateRecordComponent to dynamically create a Record with a specified number of fields 2024-03-30 19:55:31 -03:00
Rodrigo Nader
3c7311dd0b Update sender_name display_name in MessageHistoryComponent 2024-03-30 19:31:16 -03:00
Gabriel Luiz Freitas Almeida
edd44ffa5c Reverse order of messages_df if order is DESC 2024-03-30 19:20:43 -03:00
Rodrigo Nader
5e2d56a6de Delete JSONInput component 2024-03-30 19:08:00 -03:00
Rodrigo Nader
7eda0fff74 Update SplitTextComponent in langflow/helpers*** 2024-03-30 19:06:23 -03:00