Gabriel Luiz Freitas Almeida
f6bc5c82a9
🔧 chore(store.py): add temporary code to handle exception and set comp_count to 0 until bug is fixed
2023-11-08 16:09:20 -03:00
Gabriel Luiz Freitas Almeida
f323bc4d8a
🐛 fix(store.py): handle exception when counting components to prevent potential errors and set comp_count to 0 in case of exception
2023-11-08 16:08:50 -03:00
Gabriel Luiz Freitas Almeida
955ba95eb3
🐛 fix(store.py): fix variable name to improve code readability and semantics
...
The variable `result` is updated with the value of `updated_result` after calling the `update_components_with_user_data` function. This change improves code readability and makes the intention clearer.
2023-11-08 16:05:33 -03:00
Lucas Oliveira
c8dc529ac3
Fixed display of paginator and results
2023-11-08 15:52:56 -03:00
Lucas Oliveira
abc708b933
Refactored Store Page (search, tags working)
2023-11-08 15:41:05 -03:00
Lucas Oliveira
066a1a263b
Fixed padding on store page
2023-11-08 15:41:05 -03:00
Gabriel Luiz Freitas Almeida
086681312e
🔄 refactor(store.py): change the type of the 'search' query parameter from List[str] to str for consistency and clarity
2023-11-08 15:34:58 -03:00
Gabriel Luiz Freitas Almeida
fd4918f334
Refactor RedisComponent in vectorstores
2023-11-08 13:49:26 -03:00
Gabriel Luiz Freitas Almeida
8dfcd06d46
🔧 fix(OpenAIConversationalAgent.py): update OpenAI conversational agent models to use the latest versions for better performance and accuracy
...
🔧 fix(constants.py): update OpenAI chat models to use the latest versions for better performance and accuracy
🔧 fix(test_llms_template.py): update test case to use the latest OpenAI chat model for accurate testing
2023-11-08 13:48:17 -03:00
Gabriel Luiz Freitas Almeida
5fa3a72207
feat: redis vector store client ( #1114 )
2023-11-08 11:52:52 -03:00
Gabriel Luiz Freitas Almeida
5affcdf987
🔧 fix(storeContext.tsx): add missing import for checkHasApiKey function in API controller
...
🔧 fix(API/index.ts): add checkHasApiKey function to check if store has an API key
2023-11-07 21:10:13 -03:00
Gabriel Luiz Freitas Almeida
09ddf22d74
Add API endpoint to check if store has API key
2023-11-07 21:09:50 -03:00
Gabriel Luiz Freitas Almeida
761a2f04e3
Update storeContext and API controller
2023-11-07 21:02:30 -03:00
Gabriel Luiz Freitas Almeida
0c882cec44
🔀 refactor(routes.tsx): use useEffect hook to redirect from root to /flows for better code organization and readability
2023-11-07 21:00:48 -03:00
Gabriel Luiz Freitas Almeida
225d6da419
🐛 fix(API/index.ts): add missing type annotations and handle null values in getStoreComponents and searchComponent functions
...
✨ feat(API/index.ts): add support for additional query parameters in getStoreComponents and searchComponent functions to enable filtering and sorting of results
🐛 fix(StorePage/index.tsx): handle null values and update searchData and totalRowsCount in StorePage component to prevent errors and ensure accurate data display
✨ feat(StorePage/index.tsx): add support for sorting by popularity and alphabetical order in handleOrderPage function in StorePage component
2023-11-07 15:43:52 -03:00
Gabriel Luiz Freitas Almeida
f9b57f90a7
🔧 fix(store.py): rename list_components function to get_components to improve semantics and clarity
...
🔧 fix(service.py): add search, status, tags, and sort parameters to query_components function to enable filtering and sorting of components
✨ feat(service.py): add build_search_filter_conditions method to build filter conditions for search query in query_components function
2023-11-07 15:42:54 -03:00
Gabriel Luiz Freitas Almeida
c9d22071cd
🐛 fix(API/index.ts): add return type to getStoreComponents function to improve code readability and maintainability
...
🐛 fix(StorePage/index.tsx): fix comment syntax error to prevent code from being commented out
🐛 fix(StorePage/index.tsx): handle undefined response in getStoreComponents promise chain to prevent errors
2023-11-07 14:39:49 -03:00
Lucas Oliveira
7811999c24
Changed response structure(savedFlows not working)
2023-11-07 14:33:49 -03:00
Gabriel Luiz Freitas Almeida
e81e1c808d
🔧 fix(API/index.ts): import missing StoreComponentResponse type to fix compilation error
...
🔧 fix(API/index.ts): add return type annotation to getStoreSavedComponents function for better type safety and clarity
2023-11-07 13:42:52 -03:00
anovazzi1
5a5b95afa5
refactor(StorePage/index.tsx): rename variable 'result' to 'data' for clarity and consistency
...
refactor(StorePage/index.tsx): handle null or undefined value for 'data.results' by assigning an empty array to 'results' variable
2023-11-07 11:34:09 -03:00
anovazzi1
71b3fd4245
fix(StorePage): update setSearchData to use res.results instead of res to fix search data not being set correctly
...
fix(StorePage): update setErrorApiKey to true to handle error with API key
2023-11-07 11:31:06 -03:00
Gabriel Luiz Freitas Almeida
379baa579e
Add UUID import and update typing for run.py
2023-11-06 23:25:57 -03:00
Gabriel Luiz Freitas Almeida
6f9a10e37f
Merge remote-tracking branch 'origin/main' into v2
2023-11-06 23:09:49 -03:00
Gabriel Luiz Freitas Almeida
4e147b0852
🔀 refactor(run.py): refactor build_sorted_vertices function signature to include optional user_id parameter for improved flexibility and type hinting
2023-11-06 23:06:22 -03:00
Gabriel Luiz Freitas Almeida
47e5d49c8f
🔨 refactor(LLMChain.py): remove unused import statement for Text from langflow.field_typing
...
🔨 refactor(utils.py): rename variable 'return_type' to 'return_types' for clarity
🔨 refactor(types.py): add Optional and Union imports, add type hints for user_id parameter in build_field_config and build_langchain_template_custom_component functions
2023-11-06 22:58:32 -03:00
Gabriel Luiz Freitas Almeida
cd71943b43
Refactor API response model and add filter
...
conditions to list_components and count_components
methods
2023-11-06 22:39:31 -03:00
Gabriel Luiz Freitas Almeida
8b40217f9d
Release 0.5.6 ( #1119 )
2023-11-06 21:40:56 -03:00
Gabriel Luiz Freitas Almeida
7dfa03e98a
🔖 chore(pyproject.toml): bump version from 0.5.5 to 0.5.6 to indicate a new release with updates
2023-11-06 21:30:46 -03:00
Gabriel Luiz Freitas Almeida
1e7d725a7d
🐛 fix(types.py): temporarily remove "code" parameter from ChainVertex to fix a bug
2023-11-06 21:28:43 -03:00
Gabriel Luiz Freitas Almeida
f1aadd44a0
Update OpenAI model names and bump Langchain ( #1118 )
2023-11-06 21:24:37 -03:00
Gabriel Luiz Freitas Almeida
b26b7fc6d8
Remove unused import in reactflowUtils.ts
2023-11-06 21:08:31 -03:00
Gabriel Luiz Freitas Almeida
0e3c80bc40
Merge remote-tracking branch 'origin/dev' into v2
2023-11-06 21:08:17 -03:00
Gabriel Luiz Freitas Almeida
1df4f69b23
Fix components link (Python integrations documentation) ( #1117 )
2023-11-06 21:02:48 -03:00
Gabriel Luiz Freitas Almeida
f4e642ec47
🐛 fix(chains.py): temporarily fix field_type for BaseLanguageModel to improve compatibility
...
🐛 fix(test_prompts_template.py): fix value of validate_template to False to align with expected behavior
🐛 fix(test_template.py): update value of options to "gpt-4-1106-preview" to reflect the latest version
2023-11-06 21:02:22 -03:00
Gabriel Luiz Freitas Almeida
591237c5dd
🔧 chore(util.py): add get_type_from_union_literal function to handle union literals in format_dict function
...
🔧 chore(util.py): add get_type_from_union_literal function to handle union literals in format_dict function
2023-11-06 21:01:55 -03:00
Gabriel Luiz Freitas Almeida
7929a43bc4
🔄 chore(constants.py): reorder CHAT_OPENAI_MODELS list to prioritize gpt-4-1106-preview model
...
🔄 chore(test_llms_template.py): update default value and options for model_name field to gpt-4-1106-preview model
2023-11-06 21:01:28 -03:00
Gabriel Luiz Freitas Almeida
6fd476e00f
🔀 chore(custom.py): update import statements to reflect changes in package structure
...
🔀 chore(custom.py): update import statements for langchain_experimental package
2023-11-06 21:00:56 -03:00
Gabriel Luiz Freitas Almeida
3fa8652787
🔀 chore(pyproject.toml): update langchain version to ~0.0.331 for compatibility with other dependencies
...
🔀 chore(pyproject.toml): update langchain-experimental version to * for flexibility in experimental features
2023-11-06 21:00:21 -03:00
Gabriel Luiz Freitas Almeida
3f69a4956f
📦 chore(pyproject.toml): update fastapi version to 0.104.0 for compatibility improvements
...
📦 chore(pyproject.toml): update openai version to 1.0.1 for new features and bug fixes
📦 chore(pyproject.toml): update pyarrow version to 14.0.0 for compatibility improvements
📦 chore(pyproject.toml): update supabase version to 2.0.3 for new features and bug fixes
📦 chore(pyproject.toml): update google-cloud-aiplatform version to 1.36.0 for compatibility improvements
2023-11-06 15:03:08 -03:00
Gabriel Luiz Freitas Almeida
dcae14c21f
🔧 chore(Makefile): add debug log level and increase number of workers for backend execution to improve debugging and performance
2023-11-06 15:02:53 -03:00
Gabriel Luiz Freitas Almeida
36965ce574
📦 chore(Dockerfile): update langflow package version to 0.5.0 for both Dockerfiles
...
The langflow package version was updated from 0.0.86 to 0.5.0 in order to use the latest features and improvements.
2023-11-06 14:23:30 -03:00
Gabriel Luiz Freitas Almeida
4a3f44bc18
fix(Dockerfile): Update dockerfile and docker-compose ( #1098 )
2023-11-06 14:22:46 -03:00
Brylie Christopher Oxley
00752d361e
Fix components link (Python integrations documentation)
2023-11-06 19:17:11 +02:00
Gabriel Luiz Freitas Almeida
20a313c228
Allow users to use dark mode ( #1116 )
2023-11-06 14:11:47 -03:00
Brylie Christopher Oxley
b9510bebf6
Use github-dark theme for code examples
2023-11-06 18:53:30 +02:00
Brylie Christopher Oxley
7bdd8652b1
Allow users to use dark mode
...
It is nice to allow users to choose light or dark mode based on their own needs, such as sensitivity to bright light.
2023-11-06 18:25:12 +02:00
Gabriel Luiz Freitas Almeida
23a141cb8d
🔧 fix(LLMChain.py): add missing import for Text type from langflow.field_typing module
...
🚀 feat(LLMChain.py): update return type annotation of LLMChainComponent.__call__ method to include Text type
2023-11-06 13:13:21 -03:00
Lanznx
12453d1187
feat: redis vector store client
2023-11-06 15:31:58 +08:00
Gabriel Luiz Freitas Almeida
650398f2f4
modify get_current_user to accept api_key as authentication method ( #1108 )
2023-11-04 10:29:31 -03:00
Maryam Abdoli
b5b66ef077
fix tests by reverting the chat endpoint dependecies
2023-11-03 18:29:51 -04:00