Commit graph

7,756 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
7efa79af69 Fix formatting issues and update code style 2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
42ce5b7112 Refactor RedisComponent to handle existing index in Redis 2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
f670ba50ac
Fix vectorstores/PGVector missing output issue. (#1296)
In previous version, the output disappeared. I've fixed it and made it
support the output component "Chains" as well.

Before:

![image](https://github.com/logspace-ai/langflow/assets/7540749/704b7e0a-62b5-4691-90df-c6bd1f266f10)
After:

![image](https://github.com/logspace-ai/langflow/assets/7540749/fac77b3f-c48c-4b5f-ad27-f4176637c2be)
2024-02-01 09:34:59 -03:00
Gabriel Luiz Freitas Almeida
54df76096f
Merge branch 'dev' into fix/vectorstores/pgvector 2024-02-01 09:34:50 -03:00
Gabriel Luiz Freitas Almeida
a6877033f8
Fix vectorstores/Redis to support output component "Chains" (#1292)
The previous version was missing  output component "Chains".
Before:

![image](https://github.com/logspace-ai/langflow/assets/7540749/079dca11-68da-4a0d-8d0e-80b97321d90e)
After:

![image](https://github.com/logspace-ai/langflow/assets/7540749/9331ceac-28be-4a4d-a37a-f3b20ae18ea8)
2024-02-01 09:20:19 -03:00
Gabriel Luiz Freitas Almeida
1d46ba5d74
Merge branch 'dev' into fix/vectorstores/redis 2024-02-01 09:20:13 -03:00
Gabriel Luiz Freitas Almeida
e2f0fd0a75
Update buffer-memory.mdx (#1365)
Update the ref link for langchain component - Conversation Buffer
2024-02-01 09:18:41 -03:00
Gabriel Luiz Freitas Almeida
8f9d3ce155
Fix AgentInitializer to has last statement of returning base class (#1301)
From the last update, AgentInitializer lost ability to chain another
AgentInitializer via tool.
Fix issue: https://github.com/logspace-ai/langflow/issues/1255
2024-02-01 09:18:04 -03:00
Gabriel Luiz Freitas Almeida
3a5e3f24af
chat websocket api support param token and x-api-key (#1339)
Currently, chat interfaces do not support x-api-key authentication. In
this modification, token or x-api-key authentication is supported
2024-02-01 09:16:16 -03:00
Gabriel Luiz Freitas Almeida
e61e4ac51b
Update Langchain to 0.1 and migrate most components to CustomComponent (#1382)
This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.

This will improve maintainability and move Langflow to be closer to the
framework.
2024-01-31 17:43:18 -03:00
Gabriel Luiz Freitas Almeida
339029cd5b Update import statement for retrievers module 2024-01-31 17:33:32 -03:00
Gabriel Luiz Freitas Almeida
11473961e0 Update dependencies to latest versions 2024-01-31 17:09:38 -03:00
Gabriel Luiz Freitas Almeida
57c09c3409 Add unique constraints and foreign key for user_id in flow table 2024-01-31 17:09:16 -03:00
Gabriel Luiz Freitas Almeida
da9b139801 Remove empty lines in pyproject.toml 2024-01-31 17:00:22 -03:00
Gabriel Luiz Freitas Almeida
d8e34c1c6b Update dependencies in pyproject.toml 2024-01-31 16:59:18 -03:00
Gabriel Luiz Freitas Almeida
e111e01efd Update version number in pyproject.toml 2024-01-31 15:57:31 -03:00
Gabriel Luiz Freitas Almeida
2076f32704 Merge branch 'dev' into update_lc 2024-01-31 15:57:16 -03:00
Gabriel Luiz Freitas Almeida
cbf80c9fcd Delete document loader components 2024-01-31 15:50:24 -03:00
Gabriel Luiz Freitas Almeida
c54c7246b6 Update document loader imports 2024-01-31 15:50:04 -03:00
Lucas Oliveira
b49e0578d7 fix cursor position on safari 2024-01-31 11:54:08 +01:00
Lucas Oliveira
5984a45178 removed unused utils function 2024-01-31 11:37:11 +01:00
Lucas Oliveira
911257c92f Fix console error on code component 2024-01-31 11:31:24 +01:00
Lucas Oliveira
abe597823b Fixed undoing not fixing group edges 2024-01-31 11:23:16 +01:00
Lucas Oliveira
f93724eb44 Fixed takeSnapshot deleting history if snapshot was equal to the previous 2024-01-31 11:18:33 +01:00
Lucas Oliveira
7ba2610184 refactored number of handles 2024-01-31 11:10:42 +01:00
Lucas Oliveira
cc548ba604 removed unused createFlowComponent 2024-01-31 10:56:55 +01:00
Lucas Oliveira
30709221ef removed direct attribution of official attribute 2024-01-31 10:54:47 +01:00
Lucas Oliveira
b3f5b25eba Removed direct attribution on data on updateFlowPosition 2024-01-31 10:52:36 +01:00
Gabriel Luiz Freitas Almeida
349fc92981 Update anthropic version to 0.12.0 2024-01-30 16:24:32 -03:00
Gabriel Luiz Freitas Almeida
c78c34983d Update mypy version and add follow_imports option 2024-01-30 16:17:02 -03:00
Gabriel Luiz Freitas Almeida
44696a9eb4 Refactor locustfile.py: Import modules and reorder code 2024-01-30 16:16:38 -03:00
Gabriel Luiz Freitas Almeida
866e820ecb Import Document from langchain_core instead of langchain 2024-01-30 16:16:17 -03:00
Gabriel Luiz Freitas Almeida
43e3baaa84 Update import statements for langchain_community packages 2024-01-30 14:46:28 -03:00
Gabriel Luiz Freitas Almeida
4b697fc0df Remove vectorstore_creator import and test_vectorstore_template.py 2024-01-30 14:03:33 -03:00
Gabriel Luiz Freitas Almeida
4918f03032 Remove test_agents_template.py and update test_zero_shot_agent, test_json_agent, and test_csv_agent 2024-01-30 11:53:21 -03:00
Gabriel Luiz Freitas Almeida
09354748cd Update Pinecone.py to remove default value for "embedding" configuration 2024-01-30 09:16:38 -03:00
Gabriel Luiz Freitas Almeida
05588767e8 Refactor PineconeComponent in Pinecone.py 2024-01-30 09:16:04 -03:00
Gabriel Luiz Freitas Almeida
910c55fa0c Update langchain version to 0.1.0 2024-01-30 09:00:32 -03:00
anovazzi1
19e076b4ab
Fix input fields behavior when node is not selected (#1376) 2024-01-29 17:41:31 -03:00
anovazzi1
2aa273166d Fix input fields behavior when node is not selected 2024-01-29 17:36:00 -03:00
Gabriel Luiz Freitas Almeida
04f5da3bd4
Update cookie settings in login.py (#1371)
This pull request updates the cookie settings in the login.py file. Specifically, it removes the "secure" and "samesite" attributes from the response.set_cookie() function calls. This change ensures that the cookies are not restricted to secure connections only and are not limited to same-site requests.
2024-01-26 15:18:49 -03:00
Gabriel Luiz Freitas Almeida
e63878b2f1 Update version to 0.6.5a12 in pyproject.toml 2024-01-26 15:18:00 -03:00
Gabriel Luiz Freitas Almeida
a5f91da7d4 Update cookie settings in login.py 2024-01-26 15:17:30 -03:00
Gabriel Luiz Freitas Almeida
eece7b60c5
Refactor import order and remove unnecessary samesite attribute in set_cookie() calls (#1370)
This pull request refactors the import order and removes the unnecessary samesite attribute in the set_cookie() calls. This change improves the code readability and removes redundant code.
2024-01-26 14:10:32 -03:00
Gabriel Luiz Freitas Almeida
a2ca8a62e7 Bumped version to 0.6.5a11 in pyproject.toml 2024-01-26 14:09:48 -03:00
Gabriel Luiz Freitas Almeida
e011d1f6dc Refactor import order and remove unnecessary samesite attribute in set_cookie() calls 2024-01-26 14:08:38 -03:00
Gabriel Luiz Freitas Almeida
fc7bcf53c9
Add unique constraints and new fixes (#1368)
This pull request adds unique constraints to the database tables and includes new fixes for the codebase.
2024-01-26 13:38:46 -03:00
Gabriel Luiz Freitas Almeida
89a8a6a0be Update version number in pyproject.toml 2024-01-26 13:37:48 -03:00
Gabriel Luiz Freitas Almeida
01fef3733b Add unique constraints and new fixes 2024-01-26 13:37:00 -03:00
Gabriel Luiz Freitas Almeida
53844a5963 Delete ZeroShotAgent and CombineDocsChain components 2024-01-25 21:19:19 -03:00