Commit graph

12,394 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
74fe785289 fix: make optional import happen only if used 2024-06-22 12:58:07 -07:00
Gabriel Luiz Freitas Almeida
295f2c69db Refactor set_user_agent method in base.py to use proper capitalization
The set_user_agent method in base.py was updated to use proper capitalization for the user agent value. Instead of "langflow", it now uses "Langflow". This change improves consistency and readability in the code.
2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
38ab89dc4c chore: Update .gitignore to exclude database files
Exclude database files with the extensions "-shm" and "-wal" from version control in the .gitignore file.
2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
6b7dcaaef6 refactor: remove model_specs 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
67802d7c4b chore: Remove unused import from MongoDBAtlasVector.py 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
1345059ca2 chore: Update astrapy to version 1.3.0 and filelock to version 3.15.4 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
7b93eb1385 chore: Update langflow template field base.py
Refactor langflow template field base.py to improve code readability and maintainability.

- Import additional types from langflow.helpers.custom and langflow.type_extraction.type_extraction modules.
- Add field_validator method to validate field_type.
- Convert type to string if it is a type instance.
- Raise ValueError if type is not a string or a type instance.
2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
7331cb1903 chore: Refactor TextComponent to remove unused code and improve readability 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
2cecfb009f chore: Update RecursiveCharacterTextSplitterComponent method name to split_data 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
8d25605de4 chore: Build vector store in test_astra_setup 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
cdd30238d9 chore: Refactor MergeDataComponent to remove unused code 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
789bdbb27e chore: Convert result to string in LLMCheckerChain, LLMMathChain, RetrievalQA, RetrievalQAWithSourcesChain, and SQLExecutor components 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
84d4772d5e chore: Adjust FAISS Vector Store parameters format 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
6e88eab7f5 chore: Remove unused vector search component and update vector store parameters format 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
4b495fc0a1 refactor: readds partition_file_to_data 2024-06-22 12:32:54 -07:00
Gabriel Luiz Freitas Almeida
0999ce5ae5 chore: Remove deprecated vector search components 2024-06-22 12:32:54 -07:00
ogabrielluiz
0f615e0b32 Apply Prettier formatting 2024-06-22 12:25:28 -07:00
anovazzi1
8e0b6cdf68 Apply Prettier formatting 2024-06-22 12:25:28 -07:00
anovazzi1
73c43ee529 refactor: Update editable prop in MessagesPage component 2024-06-22 12:25:28 -07:00
anovazzi1
cd02755f7d refactor: Update TextModal to use TextEditorArea for text input 2024-06-22 12:25:28 -07:00
anovazzi1
370f2dff6b refactor: Update TextModal to use TextEditorArea for text input 2024-06-22 12:25:28 -07:00
anovazzi1
eebaea3788 fix refresh on App 2024-06-22 12:25:28 -07:00
anovazzi1
7cf74e733b make onChange updatable 2024-06-22 12:25:28 -07:00
anovazzi1
6f0957aeac updating inside text modal but with bugs 2024-06-22 12:25:28 -07:00
Fendi
45c5e39661 fix: sidebar search input auto fill value when first loading 2024-06-22 11:44:52 -07:00
Fendi
ef6ae81c8c fix: upload files error 2024-06-22 11:44:52 -07:00
Cezar Vasconcelos
fb8269c8fc fix: missing uuid import 2024-06-22 18:35:32 +00:00
Mendon Kissling
1aa46122c4
[Docs] - Global and Project Settings (#2257)
settings-and-nav
2024-06-22 12:44:29 -04:00
Mendon Kissling
e2e18318d5
[Docs] - Multiple outputs (#2256)
multiple-outputs
2024-06-22 12:05:59 -04:00
joaoguilhermeS
e326d86867 chore: Updating poetry lock file 2024-06-22 08:56:54 -07:00
joaoguilhermeS
1def0fa9bc chore: Updating poetry lock file 2024-06-22 08:56:54 -07:00
joaoguilhermeS
e6e0649264 chore: Adjust Faiss Vector Store parameters format 2024-06-22 08:56:54 -07:00
joaoguilhermeS
9eccd0c43b chore: Adjust MongoDB Atlas Vector Store parameters format 2024-06-22 08:56:54 -07:00
joaoguilhermeS
b7aa6c3ea6 Resolve merge conflicts in poetry.lock 2024-06-22 08:56:54 -07:00
joaoguilhermeS
d9c823e1a6 Resolve merge conflicts in poetry.lock 2024-06-22 08:56:54 -07:00
joaoguilhermeS
5ba076cd71 chore: Adjust MongoDB Atlas Vector Store serialization 2024-06-22 08:56:54 -07:00
berrytern
8674f5d9a2 <chore>: adjustments on mongo atlas vector store 2024-06-22 08:56:54 -07:00
berrytern
75cb932e7b <chore>: adjustments on redis vector store 2024-06-22 08:56:54 -07:00
berrytern
795a2bd3df <feat>: add Redis dependency 2024-06-22 08:56:54 -07:00
berrytern
ab78d0aec6 <feat>: update vectorstores to new format:
- CassandraVectorStoreComponent;
  - CouchbaseVectorStoreComponent;
  - FaissVectorStoreComponent;
  - MongoVectorStoreComponent;
  - PGVectorStoreComponent;
  - PineconeVectorStoreComponent;
  - QdrantVectorStoreComponent;
  - SupabaseVectorStoreComponent;
  - UpstashVectorStoreComponent;
  - VectaraVectorStoreComponent;
  - WeaviateVectorStoreComponent;

Fixes:
  - set token of CassandraVectorStoreComponent as secret;
  - set couchbase_password of CouchbaseVectorStoreComponent
as secret;
  - set mongodb_atlas_cluster_uri of MongoVectorStoreCompon
ent as secret;
  - set pg_server_url of PGVectorStoreComponent as secret;
  - set pinecone_api_key of PineconeVectorStoreComponent as
secret;
  - set api_key of QdrantVectorStoreComponent as secret;
  - set supabase_service_key of SupabaseVectorStoreComponen
t as secret;
  - set index_token of UpstashVectorStoreComponent as secre
t;
  - set vectara_api_key of VectaraVectorStoreComponent as s
ecret;
  - set api_key of WeaviateVectorStoreComponent as secret;
2024-06-22 08:56:54 -07:00
italojohnny
270d8595bd remove debug log line 2024-06-22 08:23:30 -07:00
italojohnny
91f4513723 try a new approach to resolve request cancellation
https://github.com/tiangolo/fastapi/discussions/11360
2024-06-22 08:23:30 -07:00
italojohnny
55806ed293 discard old approach 2024-06-22 08:23:30 -07:00
italojohnny
0687f95d3d Apply Prettier formatting 2024-06-22 08:23:30 -07:00
italojohnny
2a88176a8e Discard old approach and implement a simple solution 2024-06-22 08:23:30 -07:00
anovazzi1
131062125f update display of stop button 2024-06-22 08:23:30 -07:00
anovazzi1
53bf1ce015 add window.stop() to stop current requests 2024-06-22 08:23:30 -07:00
italojohnny
95e7f3882c decorate functions with decorator 2024-06-22 08:23:30 -07:00
italojohnny
90f456b2a9 add decorator to cancel disconnected requests
https://github.com/RedRoserade/fastapi-disconnect-example/blob/main/app.py
2024-06-22 08:23:30 -07:00
anovazzi1
34333e1d50 add stop button on building 2024-06-22 08:23:30 -07:00