Commit graph

7,759 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
37f331b578
Fix LangflowApplication initialization and update cohere version (#1342) 2024-01-15 23:32:06 -03:00
Gabriel Luiz Freitas Almeida
7d43b7822f Update cohere version to 4.44 and weaviate-client version to ^4.4b6 2024-01-15 23:30:58 -03:00
Gabriel Luiz Freitas Almeida
6b5d51016a Fix LangflowApplication initialization 2024-01-15 23:29:57 -03:00
cristhianzl
4ebbafe493 fix(components): add data-testid to edit flow button for better testability and identification
fix(dragAndDrop.spec): update locator for edit flow button to use data-testid for better stability
fix(group.spec): update locator for edit flow button to use data-testid for better stability
fix(saveComponents.spec): update locator for edit flow button to use data-testid for better stability
2024-01-15 22:31:46 -03:00
Gabriel Luiz Freitas Almeida
f94ff70f70
Update create_engine method to include max_overflow parameter (#1341)
This pull request updates the `create_engine` method in the `DatabaseService` class to include the `max_overflow` parameter. This allows for better control of connection pooling and prevents connection errors when the pool is full. Additionally, it updates the `weaviate-client` version to `4.0.0` and the `langflow` version to `0.6.5a4`.
2024-01-15 19:26:01 -03:00
Gabriel Luiz Freitas Almeida
66ebaa80eb Update langflow version to 0.6.5a4 2024-01-15 19:25:19 -03:00
Gabriel Luiz Freitas Almeida
bd1145651d Update weaviate-client version to 4.0.0 2024-01-15 19:25:06 -03:00
Gabriel Luiz Freitas Almeida
79c20ec46b Update create_engine method to include max_overflow parameter 2024-01-15 19:24:56 -03:00
Gabriel Luiz Freitas Almeida
b718f53419
Refactor run_on_mac_or_linux function and remove unused imports (#1335)
This pull request refactors the run_on_mac_or_linux function by removing unused imports and updating the function signature. This improves the code readability and maintainability.
2024-01-14 18:16:48 -03:00
Gabriel Luiz Freitas Almeida
3244e3b34a Update version to 0.6.5a3 in pyproject.toml 2024-01-14 18:16:09 -03:00
Gabriel Luiz Freitas Almeida
7fc32b342a Refactor imports and initialize services in __main__.py 2024-01-14 18:15:56 -03:00
Gabriel Luiz Freitas Almeida
e75f5f4745 Refactor run_on_mac_or_linux function and remove unused imports 2024-01-14 18:14:40 -03:00
Gabriel Luiz Freitas Almeida
c7daa1d078
Fix memory inputs and update function arguments (#1334)
Refactor process_graph_cached function

Update version to 0.6.5a2 in pyproject.toml
2024-01-14 17:51:19 -03:00
Gabriel Luiz Freitas Almeida
2e9186db99 Update version to 0.6.5a2 in pyproject.toml 2024-01-14 17:50:33 -03:00
Gabriel Luiz Freitas Almeida
71bb7c18e4 Refactor process_graph_cached function 2024-01-14 17:50:03 -03:00
Gabriel Luiz Freitas Almeida
73f87dd611 Fix memory inputs and update function arguments 2024-01-14 17:49:28 -03:00
Gabriel Luiz Freitas Almeida
38bfa141d9
Add support for running on Linux using gunicorn (#1333)
This pull request adds support for running the application on Linux using gunicorn. It also updates the version number in the pyproject.toml file.
2024-01-14 16:02:41 -03:00
Gabriel Luiz Freitas Almeida
404bbcaf33 Update version number in pyproject.toml 2024-01-14 16:02:15 -03:00
Gabriel Luiz Freitas Almeida
54c40c670a Add support for running on Linux using gunicorn 2024-01-14 16:01:50 -03:00
Gabriel Luiz Freitas Almeida
116bb985d3
Bump version to 0.6.5a0 in pyproject.toml (#1332)
This pull request updates the version in the pyproject.toml file to 0.6.5a0.
2024-01-14 15:24:56 -03:00
Gabriel Luiz Freitas Almeida
bf30d158c3 Bump version to 0.6.5a0 in pyproject.toml 2024-01-14 15:24:02 -03:00
Gabriel Luiz Freitas Almeida
2d087c6ce2
Add experimental preload endpoint (#1331)
This endpoint allows the Graph to be kept preprocessed in a session.
2024-01-14 15:23:02 -03:00
Gabriel Luiz Freitas Almeida
be83ffb0e7 Add Optional parameter to load_session method 2024-01-14 15:21:59 -03:00
Gabriel Luiz Freitas Almeida
2a69254eda Add build_graph_and_generate_result function to process.py 2024-01-14 15:21:51 -03:00
Gabriel Luiz Freitas Almeida
0b68decdfc Add PreloadResponse schema 2024-01-14 15:21:46 -03:00
Gabriel Luiz Freitas Almeida
a562c1f98e Refactor API endpoints and add preload functionality 2024-01-14 15:21:43 -03:00
Gabriel Luiz Freitas Almeida
7b1f30ea80 Refactor LangflowApplication constructor 2024-01-14 15:21:39 -03:00
Gabriel Luiz Freitas Almeida
5c4b2a55de Update main.py with FastAPI configuration 2024-01-14 15:21:34 -03:00
Gabriel Luiz Freitas Almeida
88c75e29b2 Import multiprocessing and fix run_langflow function 2024-01-14 15:21:30 -03:00
cristhianzl
3b3bfc9b5a fixing scroll-overflow on react flow 2024-01-11 17:59:45 -03:00
cristhianzl
2986741e61 style(App.css): add overflow: hidden to body to prevent horizontal scrolling
style(App.css): remove unnecessary auto values for width, height, and border-radius in .react-flow__node class
2024-01-11 17:48:11 -03:00
Gabriel Luiz Freitas Almeida
13fdc62fde
Added OllamaEmbeddings component with documentation (#1309)
Ollama embeddings are useful to enhance langflow's support of Ollama,
allowing users to run LLMs such as Mistral and LLama locally. Langchain
documentation can be found via [this
link](https://python.langchain.com/docs/integrations/text_embedding/ollama).

Changes:

- New `OllamaEmbeddingsComponent` class
- Associated documentation in the `Embeddings` section
2024-01-11 12:04:46 -03:00
Gabriel Luiz Freitas Almeida
78c32b9b5a
Added AzureOpenAIEmbeddings component (#1293)
I have added AzureOpenAIEmbeddings component on Embeddings.
2024-01-11 12:04:18 -03:00
Gabriel Luiz Freitas Almeida
aac9ab2c5c
Update AzrueChatOpenAI component. Change api_version to option field … (#1288)
In order to reduce user’s operating steps, I change "api_version" to
option field and select the latest version by default.
2024-01-11 12:03:53 -03:00
cristhianzl
60445d3af0 fix(authContext.tsx): fix condition in logout function to check for autoLogin instead of isAuthenticated to prevent unnecessary logout 2024-01-11 10:02:50 -03:00
cristhianzl
c54c080629 fix(authContext.tsx): add check for isAuthenticated before attempting to logout to prevent unnecessary logout calls 2024-01-11 10:02:26 -03:00
cristhianzl
d250bf868b fix(headerComponent): handle case where stars is null by displaying 0 instead to prevent rendering issues 2024-01-11 09:52:02 -03:00
cristhianzl
2899eacdc9 lock 2024-01-10 22:49:04 -03:00
cristhianzl
3babfedc05 lock 2024-01-10 11:04:09 -03:00
cristhianzl
e4af344c0c reverting changes signals 2024-01-09 17:31:15 -03:00
cristhianzl
448c69c038 refactor(EditNodeModal): remove console.log statement for myData.value to improve code cleanliness 2024-01-09 10:10:21 -03:00
cristhianzl
3a7d07916a chore(package.json): add "@preact/signals-react" dependency to package.json
feat(EditNodeModal): use signals-react library for state management and add support for dynamic updates of myData value
2024-01-09 10:09:35 -03:00
Cyrus Pellet
37ced42f56 Added OllamaEmbeddings component with documentation 2024-01-09 13:16:07 +01:00
anovazzi1
b80cad7d9d fix(authAdminGuard): remove unnecessary promise return in logout function call
fix(authGuard): remove unnecessary promise return in logout function call
fix(headerComponent): remove unnecessary promise return in logout function call
fix(authContext): add navigation to login page after logout
fix(api): remove unnecessary promise return in logout function call and add navigation to login page after logout
2024-01-08 16:51:56 -03:00
Lucas Oliveira
ad2351e3e7 removed location 2024-01-08 16:27:42 -03:00
Lucas Oliveira
c723924388 removed unused location store context 2024-01-08 16:22:32 -03:00
anovazzi1
d79915e7dc Remove unused Loading component and import statements 2024-01-08 16:08:07 -03:00
anovazzi1
dbfa18bb95 Fix login delay and add access token to every request 2024-01-08 16:07:31 -03:00
Lucas Oliveira
d26b4b4c11 Fixed past and future state on undo redo, removed loading on flow page 2024-01-08 15:58:58 -03:00
anovazzi1
d042b28c52 Add access token as a cookie in auto_login endpoint 2024-01-08 15:54:50 -03:00