Commit graph

12,415 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
63cb3baca4 refactor: move prompt utils to template module 2024-06-22 17:39:37 -07:00
Gabriel Luiz Freitas Almeida
8f2232575d refactor: Handle error updating Component code in GenericNode
When updating the Component code in GenericNode, handle any errors that occur. If an error occurs, display an error message with instructions to report the issue on Discord or GitHub. This improves the error handling and user experience when updating the Component code.
2024-06-22 17:39:37 -07:00
Gabriel Luiz Freitas Almeida
f4517b250e refactor: remove Prompt from ignored components list 2024-06-22 17:39:37 -07:00
Gabriel Luiz Freitas Almeida
8f051d0c21 refactor: Update prompt validation process in validate.py
Refactor the prompt validation process in validate.py to improve code readability and maintainability. The changes include:

- Update the import statement for process_prompt_template in api_utils.py.
- Remove unused imports from api_utils.py.
- Simplify the post_validate_prompt function by removing unnecessary conditional statements.
- Replace the validate_prompt function call with process_prompt_template in post_validate_prompt.

These changes enhance the efficiency and organization of the prompt validation process.
2024-06-22 17:39:37 -07:00
joaoguilhermeS
55c6168bc7 fix: ruff checker on github format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
4ec69a7af0 chore: Updating poetry lock file 2024-06-22 16:37:56 -07:00
joaoguilhermeS
98497a376b chore: Updating Weaviate Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
43a781b001 chore: Updating Vectara Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
23eaccd339 chore: Updating Upstash Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
02c8251727 chore: Updating Supabase Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
9021974887 chore: Updating Redis Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
be9539f420 chore: Updating PGVector Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
a97b5eee75 chore: Updating Courchbase Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
49ca6c5bf1 chore: Updating Cassandra Vector Store parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
9cc6b2f243 chore: Updating AstraDB parameters format 2024-06-22 16:37:56 -07:00
joaoguilhermeS
9b4cca5a8b fix: ruff checker on github format 2024-06-22 16:37:56 -07:00
Gabriel Luiz Freitas Almeida
6c37f51c37 docs(contributing.md): update contribution guidelines 2024-06-22 19:13:33 -03:00
Gabriel Luiz Freitas Almeida
5ddb86697b chore: Remove unnecessary call to build_frontend in Makefile
The call to build_frontend in the Makefile has been removed as it is no longer needed. This change improves the build process by eliminating unnecessary steps.
2024-06-22 17:43:06 -03:00
Gabriel Luiz Freitas Almeida
c3d912fdab chore: Update import statement in types.py
The import statement in types.py has been updated to use the `typing` module instead of the deprecated `TYPE_CHECKING` constant. This change improves code maintainability and ensures compatibility with the latest Python standards.
2024-06-22 17:24:46 -03:00
Gabriel Luiz Freitas Almeida
cda1f63213 chore: Increase timeout for server startup in pre-release.yml
The timeout for waiting for the server to start in the pre-release.yml workflow file has been increased from 40 seconds to 120 seconds. This change allows more time for the server to start up before timing out, ensuring that the server is ready for testing.
2024-06-22 17:14:47 -03:00
Gabriel Luiz Freitas Almeida
15ce43ab93 chore: separated Variable services 2024-06-22 13:10:57 -07:00
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