Gabriel Luiz Freitas Almeida
a40a81b458
Merge remote-tracking branch 'origin/main' into dev
2023-08-08 16:12:12 -03:00
Gabriel Luiz Freitas Almeida
bae4792ed9
Fix flows not being able to run without input keys ( #732 )
2023-08-08 15:14:27 -03:00
Gabriel Luiz Freitas Almeida
ceff1a2833
Merge remote-tracking branch 'origin/main' into release
2023-08-08 15:13:49 -03:00
Gabriel Luiz Freitas Almeida
cf8c0601eb
Revert "Merge branch 'main' into release"
...
This reverts commit 4dea0f6690 , reversing
changes made to 597b2153a3 .
2023-08-08 15:13:22 -03:00
Gabriel Luiz Freitas Almeida
b8d8ed8283
Revert "Revert "Fixes flows without input_keys not being runnable" ( #731 )"
...
This reverts commit 352e74cbc7 , reversing
changes made to 3f531a1157 .
2023-08-08 15:12:37 -03:00
Gabriel Luiz Freitas Almeida
4dea0f6690
Merge branch 'main' into release
2023-08-08 15:08:11 -03:00
Gabriel Luiz Freitas Almeida
597b2153a3
🔖 chore(pyproject.toml): bump version from 0.4.2 to 0.4.3 for langflow package
2023-08-08 15:06:38 -03:00
Gabriel Luiz Freitas Almeida
352e74cbc7
Revert "Fixes flows without input_keys not being runnable" ( #731 )
2023-08-08 15:03:02 -03:00
Gabriel Luiz Freitas Almeida
f9b392d5b8
Revert "Fixes flows without input_keys not being runnable"
2023-08-08 15:02:16 -03:00
Gabriel Luiz Freitas Almeida
3f531a1157
Fixes flows without input_keys not being runnable ( #727 )
2023-08-08 15:01:56 -03:00
Gabriel Luiz Freitas Almeida
df49a6a410
Merge branch 'main' into inputKeysBugFix
2023-08-08 15:01:35 -03:00
Gabriel Luiz Freitas Almeida
8e4ca8e8ef
Adds more settings to ChromaDB and fixes Chat not being runnable without chat variables ( #718 )
2023-08-08 15:00:55 -03:00
Gabriel Luiz Freitas Almeida
a64f03da9c
📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
...
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation
🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:11:57 -03:00
Gabriel Luiz Freitas Almeida
4dafbae1b9
📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
...
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation
🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:09:15 -03:00
Gabriel Luiz Freitas Almeida
d1f09a6a64
🔨 refactor(utils.ts): remove unnecessary newline after the return statement in getChatInputField function
2023-08-07 20:34:22 -03:00
Gabriel Luiz Freitas Almeida
bd7489206d
🐛 fix(chatComponent): add null check for formKeysData.input_keys to prevent error when accessing undefined property
2023-08-07 20:32:27 -03:00
Gabriel Luiz Freitas Almeida
16666426f7
🐛 fix(chatComponent): fix condition to check if parsedData.input_keys is not undefined
...
✨ feat(chatComponent): add logic to close the connection and finish when end_of_stream event is received
2023-08-07 20:31:59 -03:00
Gabriel Luiz Freitas Almeida
e1cbc0d5d4
🐛 fix(utils.ts): fix missing closing bracket in getChatInputField function
...
✨ feat(utils.ts): add getChatInputField function to retrieve the chat input field based on the current flow and tabs state
2023-08-07 20:31:32 -03:00
Gabriel Luiz Freitas Almeida
2abc0d2fb4
🐛 fix(formModal/index.tsx): handle case when tabsState or formKeysData is undefined to prevent errors
...
✨ feat(formModal/index.tsx): add support for displaying input keys and handling input changes in the form modal
2023-08-07 20:28:41 -03:00
Gabriel Luiz Freitas Almeida
aff3d53021
🔖 chore(pyproject.toml): bump package version from 0.4.1 to 0.4.2
...
🔖 chore(pyproject.toml): bump langchain version from 0.0.250 to 0.0.256
2023-08-07 20:06:32 -03:00
Gabriel Luiz Freitas Almeida
f61d265e77
🔧 chore(vector_store.py): refactor initialize_chroma function to remove unnecessary if conditions and improve code readability
...
🔧 chore(vector_store.py): remove chroma_server_ keys from params dictionary if not needed to avoid potential conflicts
2023-08-07 18:52:19 -03:00
Gabriel Luiz Freitas Almeida
239811dbff
🐛 fix(chat.py): change "input_keys" value from an empty dictionary to None to improve readability and reduce redundancy
2023-08-07 18:46:13 -03:00
Gabriel Luiz Freitas Almeida
9ee76fd18f
🐛 fix(manager.py): change default value of chat_inputs from empty string to empty dictionary to improve data consistency and prevent potential errors
...
🐛 fix(utils.py): handle case when chat_inputs.message is None by assigning an empty dictionary to it to prevent potential errors
2023-08-07 18:37:49 -03:00
anovazzi1
7f31f7f519
refactor(chatComponent): simplify condition for setting canOpen state in Chat component
...
The condition for setting the `canOpen` state in the Chat component was simplified by removing unnecessary checks for `formKeysData.input_keys` and `Object.keys(tabsState[flow.id].formKeysData.input_keys).length > 0`. The new condition only checks for the existence of `tabsState[flow.id].formKeysData`. This change improves code readability and reduces unnecessary complexity.
2023-08-07 18:35:14 -03:00
Gabriel Luiz Freitas Almeida
a0aa88f039
🔀 chore(types.py): import merge_nested_dicts_with_renaming from langflow.api.utils to use it in build_langchain_custom_component_list_from_path function
...
🐛 fix(types.py): replace `merge_nested_dicts` with `merge_nested_dicts_with_renaming` in `build_langchain_custom_component_list_from_path` function to fix a bug
2023-08-06 12:28:05 -03:00
Gabriel Luiz Freitas Almeida
9106b6d482
📦 chore(frontend): add .dockerignore file to exclude node_modules directory from Docker build context
2023-08-05 16:49:39 -03:00
Gabriel Luiz Freitas Almeida
4409e85ba5
Merge remote-tracking branch 'origin/main' into dev
2023-08-05 16:39:20 -03:00
Gabriel Luiz Freitas Almeida
e300a05d26
🐛 fix(dev.Dockerfile): update uvicorn command to use --factory flag and create_app function to improve modularity and maintainability
...
🐛 fix(docker-compose.debug.yml): update uvicorn command to use --factory flag and create_app function to match changes in dev.Dockerfile
🐛 fix(docker-compose.yml): update uvicorn command to use --factory flag and create_app function to match changes in dev.Dockerfile
2023-08-05 16:26:32 -03:00
Gabriel Luiz Freitas Almeida
819eb703d1
🐛 fix(utils.py): add function merge_nested_dicts_with_renaming to handle merging nested dictionaries with renaming of keys
...
🐛 fix(endpoints.py): update import statement to import merge_nested_dicts_with_renaming from utils.py
🐛 fix(endpoints.py): update function call to merge_nested_dicts_with_renaming to handle merging of native and custom components
🐛 fix(types.py): remove unused import statement for merge_nested_dicts from utils.py
2023-08-05 12:11:28 -03:00
Gabriel Luiz Freitas Almeida
1aed2b60a2
🔧 fix(endpoints.py): change log message to improve clarity and accuracy
...
🔧 fix(endpoints.py): change log message to provide more detailed information about loaded custom components
2023-08-05 12:09:46 -03:00
Gabriel Luiz Freitas Almeida
c8a5e0724d
🐛 fix(utilities.py): handle field_type with "typing_extensions" prefix in UtilitiesFrontendNode class
...
✨ feat(utilities.py): improve handling of field_type in UtilitiesFrontendNode class to support different formats
Fixes #707
2023-08-04 18:12:28 -03:00
Gabriel Luiz Freitas Almeida
2bc4420f62
🔧 chore(vector_store.py): remove unused code related to initializing ChromaDB object
...
🔧 chore(vector_store.py): remove unused import statement for chromadb module
2023-08-04 17:22:05 -03:00
Gabriel Luiz Freitas Almeida
ae6ee05f25
🔥 refactor(chat.py): remove unused code line that accessed vertex_type attribute of a vertex object
2023-08-04 17:11:56 -03:00
Gabriel Luiz Freitas Almeida
3583161064
🐛 fix(base.py): fix typo in "successfully" in the built object representation message
...
🐛 fix(custom_component.py): add support for custom representation of repr_value if it is a dictionary by using yaml.dump() function
2023-08-04 17:11:55 -03:00
Gabriel Luiz Freitas Almeida
16be5f573a
📝 docs(custom-component.mdx): update guidelines for loading custom components
...
🔧 fix(custom-component.mdx): correct the recommended way to load custom components by setting LANGFLOW_COMPONENTS_PATH environment variable instead of using --components-path argument
💡 docs(custom-component.mdx): provide an alternative method to specify the path to custom components using --components-path argument
2023-08-04 17:11:54 -03:00
Lucas Oliveira
a35445ec28
Fixed chat message size
2023-08-04 17:11:53 -03:00
Lucas Oliveira
6b844fca68
Fixed break words on all code
2023-08-04 17:11:52 -03:00
Gabriel Luiz Freitas Almeida
79d9d42e33
🐛 fix(types.py): fix syntax error in adding component to valid menu dictionary
2023-08-04 17:11:51 -03:00
Gabriel Luiz Freitas Almeida
3e8595cfc2
🔒 chore(poetry.lock): update cohere package version from 4.17.0 to 4.19.2
...
🔒 chore(poetry.lock): update debugpy package version from 1.6.8 to 1.6.7
🔀 chore: update dependencies
🔄 refactor: update debugpy package to version 1.6.7
🔒 chore(poetry.lock): update google-cloud-resource-manager to version 1.10.3
🔒 chore(poetry.lock): update jcloud to version 0.2.16
🔒 chore(poetry.lock): update more-itertools to version 10.1.0
2023-08-04 17:11:50 -03:00
Gabriel Luiz Freitas Almeida
a6dbc693cc
🐛 fix(chat.py): fix debug log message to include vertex type and output
2023-08-04 17:11:49 -03:00
Gabriel Luiz Freitas Almeida
a0585786d5
🐛 fix(custom_component.py): handle case when repr_value is a string in custom_repr method
2023-08-04 17:11:48 -03:00
Gabriel Luiz Freitas Almeida
7151d0f358
🐛 fix(types.py): fix syntax error in adding component_template to valid_menu
...
✨ feat(types.py): improve component name generation logic based on component_output_types and file name
2023-08-04 17:11:47 -03:00
Gabriel Luiz Freitas Almeida
092035f880
🔧 chore(loading.py): add debug log to show instantiation of node_type and base_type
2023-08-04 17:11:46 -03:00
Gabriel Luiz Freitas Almeida
e4e01b8853
🐛 fix(utils.py): simplify import_custom_component function by directly importing the CustomComponent class
2023-08-04 17:11:45 -03:00
Gabriel Luiz Freitas Almeida
967c91d19c
🔧 fix(directory_reader.py): fix typo in variable name 'filtered' to improve code readability
2023-08-04 17:11:44 -03:00
Gabriel Luiz Freitas Almeida
5608b197f2
🔧 chore(component.py): add missing import for 'Any' type in typing module to fix type hinting
...
🚀 feat(component.py): add 'build' method to Component class to enforce implementation in subclasses
2023-08-04 17:11:43 -03:00
Gabriel Luiz Freitas Almeida
e36b72ecb2
🔨 refactor(types.py): add logging statements for debugging purposes in build_langchain_template_custom_component function
...
🔨 refactor(types.py): add logging statements for debugging purposes in build_and_validate_all_files function
🔨 refactor(types.py): add logging statements for debugging purposes in build_valid_menu function
🔨 refactor(types.py): add logging statements for debugging purposes in build_invalid_menu function
2023-08-04 17:11:42 -03:00
Gabriel Luiz Freitas Almeida
afe4816df6
🔧 fix(endpoints.py): add logging statements to improve debugging and monitoring
...
🔧 fix(endpoints.py): add logging statements to improve debugging and monitoring in the get_all() function
2023-08-04 17:11:41 -03:00
Gabriel Luiz Freitas Almeida
a6c7e951ba
🐛 fix(settings.py): fix issue with extending components_path list with duplicate paths
...
✨ feat(settings.py): add logging of components_path and updated settings values for debugging purposes
2023-08-04 17:11:40 -03:00
Gabriel Luiz Freitas Almeida
65850b9920
🐛 fix(types.py): update error message to include the output types of the component that failed to load for better debugging
2023-08-04 17:11:39 -03:00