Commit graph

7,281 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
4a9c7506ea Refactor process.py to improve code structure and readability 2023-12-20 18:56:32 -03:00
Gabriel Luiz Freitas Almeida
1f027c637b
Added AzureChatOpenAI Custom Component (#1233)
Solves #1161 & #1221
2023-12-20 18:40:04 -03:00
Gabriel Luiz Freitas Almeida
ce48f0c6f6
Cleanup AgentInitializer component (#1229)
Fixes #1228
2023-12-20 17:21:07 -03:00
Yassine Selmi
3f7b43d219 Rename attributes 2023-12-20 20:09:14 +00:00
Yassine Selmi
60d715f61d Lint 2023-12-20 20:07:41 +00:00
Yassine Selmi
1b4a7dc949 Fixed default param value 2023-12-20 20:06:57 +00:00
Yassine Selmi
abd9c67d3c Fixed wrong style attribute 2023-12-20 20:01:30 +00:00
Gabriel Luiz Freitas Almeida
bb9aed50e0
Update type hints and refactor result handling in process.py (#1234)
This pull request updates the type hints for the inputs parameter in the process_graph_data and process functions. It also refactors the result handling in the generate_result function. Additionally, it updates the version to 0.6.3a5 in pyproject.toml.
2023-12-20 16:29:45 -03:00
Yassine Selmi
28fe0982e6 Added documentation link 2023-12-20 18:44:58 +00:00
Yassine Selmi
b288ae3df3 Added Azure OpenAI 2023-12-20 17:55:47 +00:00
Gabriel Luiz Freitas Almeida
c5134d2e37 Update version to 0.6.3a5 in pyproject.toml 2023-12-20 14:53:21 -03:00
Gabriel Luiz Freitas Almeida
3586ba8469 Refactor process.py: Add import statements and update generate_result function 2023-12-20 14:53:15 -03:00
Gabriel Luiz Freitas Almeida
931a2452eb Refactor result handling in generate_result function 2023-12-20 14:41:55 -03:00
Gabriel Luiz Freitas Almeida
1148c65c5e Update type hints for inputs parameter in process_graph_data and process functions 2023-12-20 14:41:49 -03:00
Gabriel Luiz Freitas Almeida
cdc823d6b0
Update version to 0.6.3a4 in pyproject.toml (#1232)
This pull request updates the version in the pyproject.toml file to 0.6.3a4.
2023-12-20 14:20:55 -03:00
Gabriel Luiz Freitas Almeida
c8992efc53 Update version to 0.6.3a4 in pyproject.toml 2023-12-20 14:20:22 -03:00
Gabriel Luiz Freitas Almeida
4751e91e90 Update langflow worker.py with async_to_sync for generate_result 2023-12-20 14:19:04 -03:00
Gabriel Luiz Freitas Almeida
c4daf5095a Add async/await to generate_result function 2023-12-20 14:18:48 -03:00
Gabriel Luiz Freitas Almeida
84f9c34bd1 Else clause for task_result 2023-12-20 14:18:42 -03:00
Gabriel Luiz Freitas Almeida
c58837d65d Refactor process_graph_data function to use task_service.launch_task and handle task status 2023-12-20 14:17:12 -03:00
Gabriel Luiz Freitas Almeida
481606ef00 Add unique constraints to tables 2023-12-20 08:17:55 -03:00
Gabriel Luiz Freitas Almeida
df443d7986 Add pretty-quick package for code formatting 2023-12-20 08:17:46 -03:00
Gabriel Luiz Freitas Almeida
de4612d2ac
Update version to 0.6.3a3 in pyproject.toml (#1230)
This pull request updates the version in pyproject.toml to 0.6.3a3.
2023-12-19 18:23:21 -03:00
Gabriel Luiz Freitas Almeida
f5e3952324 Update version to 0.6.3a3 in pyproject.toml 2023-12-19 18:22:49 -03:00
Gabriel Luiz Freitas Almeida
4197bd4b24 Refactor API endpoints and remove unnecessary imports 2023-12-19 18:22:18 -03:00
Yassine Selmi
85fc2c1013 Cleanup AgentInitializer component 2023-12-19 20:39:53 +00:00
Gabriel Luiz Freitas Almeida
a42cacd140
Migrate Weaviate to CustomComponent (#1226) 2023-12-19 16:23:36 -03:00
Yassine Selmi
843e7a6b50 Removed Weaviate from config.yaml 2023-12-19 18:45:14 +00:00
Yassine Selmi
3a5320a098 Migrated Weaviate to custom component 2023-12-19 18:36:29 +00:00
Gabriel Luiz Freitas Almeida
9f1298632d
Update version to 0.6.3a2 in pyproject.toml (#1225)
This pull request updates the version in pyproject.toml to 0.6.3a2.
2023-12-19 13:43:10 -03:00
Gabriel Luiz Freitas Almeida
215a171171 Update version to 0.6.3a2 in pyproject.toml 2023-12-19 13:42:25 -03:00
Gabriel Luiz Freitas Almeida
96d12b6259 Update import statements in memories.py 2023-12-19 13:38:33 -03:00
Gabriel Luiz Freitas Almeida
34e116ddf2 Add process_json endpoint for processing JSON data 2023-12-18 10:52:33 -03:00
Gabriel Luiz Freitas Almeida
826a6d07e0 Refactor ProcessResponse schema in schemas.py 2023-12-18 10:50:43 -03:00
Gabriel Luiz Freitas Almeida
2edacce305 Add traceback property to AnyIOTaskResult class 2023-12-18 10:50:01 -03:00
Gabriel Luiz Freitas Almeida
87f8af1db9 Add import statements for asyncio and json 2023-12-18 10:49:52 -03:00
Gabriel Luiz Freitas Almeida
60a55784af Refactor flow loading and processing 2023-12-17 21:27:07 -03:00
Gabriel Luiz Freitas Almeida
2afb0fb119 Add support for custom components in langchain_object 2023-12-17 20:44:35 -03:00
Gabriel Luiz Freitas Almeida
f36b6a5693 Add support for Runnable objects in generate_result function 2023-12-17 17:32:03 -03:00
Gabriel Luiz Freitas Almeida
7999b3364b Add Prompt type to CustomComponent 2023-12-15 20:08:24 -03:00
Gabriel Luiz Freitas Almeida
5c290c0014 Pull start_time out of try block 2023-12-14 17:44:25 -03:00
Gabriel Luiz Freitas Almeida
865ac0306a
Refactor custom component module (#1210) 2023-12-14 13:04:02 -03:00
Cristhian Zanforlin Lousa
6346c68381
Cz/tests (#1213) 2023-12-14 13:01:32 -03:00
cristhianzl
45479222d7 fix(frontend): fix save component test by removing unnecessary steps and fixing selectors
feat(frontend): add test for saving components and verifying their presence in the flow
feat(frontend): add test for grouping nodes and verifying the presence of the group node
feat(frontend): add test for saving default component with custom values and verifying the saved component
feat(frontend): add test for saving the same component multiple times and verifying their presence
feat(frontend): add test for saving default component and deleting it from the saved components list
2023-12-14 13:00:48 -03:00
Gabriel Luiz Freitas Almeida
a43ece5257
Update version to 0.6.3a1 in pyproject.toml (#1212)
This pull request updates the version in the pyproject.toml file from 0.6.3a0 to 0.6.3a1.
2023-12-14 12:59:50 -03:00
Gabriel Luiz Freitas Almeida
4fa6956638 Update version to 0.6.3a1 in pyproject.toml 2023-12-14 12:59:06 -03:00
Gabriel Luiz Freitas Almeida
865c7ce4d0 Update dependencies versions in poetry.lock and pyproject.toml
jq dependency problem on windows #1209
2023-12-14 12:58:41 -03:00
Gabriel Luiz Freitas Almeida
36ebdbf4c2
Update version to 0.6.3a0 in pyproject.toml (#1211) 2023-12-14 12:56:22 -03:00
Gabriel Luiz Freitas Almeida
e249b9d8fe Update version to 0.6.3a0 in pyproject.toml 2023-12-14 12:55:26 -03:00
Gabriel Luiz Freitas Almeida
599bf44f08 Add support for passing arguments to pytest 2023-12-14 10:00:53 -03:00