DiogenesBR
7031ccd6fd
Merge branch 'release' into FileLoaders
2023-09-26 21:00:01 +00:00
DiogenesBR
b35682df94
Removed Directory Loader and add JsonLoader to the File Loader
2023-09-26 20:56:49 +00:00
DiogenesBR
f384f9fdbf
Loaders Genericos
2023-09-25 19:58:27 +00:00
DiogenesBR
2f5dba1210
File loader
2023-09-22 17:36:40 +00:00
Gabriel Luiz Freitas Almeida
1bb9b1c363
Bump version to 0.4.21 ( #949 )
2023-09-21 10:02:40 -03:00
Gabriel Luiz Freitas Almeida
f6ea541477
🔧 chore(Makefile): update mypy command to exclude .venv folder and only check files in ./src/backend/langflow directory
2023-09-21 10:01:37 -03:00
Gabriel Luiz Freitas Almeida
81e8a0dcc6
📦 chore(pyproject.toml): update langchain dependency to version 0.0.271 for improved functionality
...
🐛 fix(test_llms_template.py): update description of model["description"] to match the correct format
2023-09-21 09:59:53 -03:00
Gabriel Luiz Freitas Almeida
9920bfd7e0
🔧 chore(langfuse.py): add support for configurable Langfuse host to improve flexibility and maintainability ( #948 )
...
Closes #947
2023-09-21 06:42:50 -03:00
Gabriel Luiz Freitas Almeida
1ebf4e5b24
🔧 chore(langfuse.py): add support for configurable Langfuse host to improve flexibility and maintainability
2023-09-21 06:41:23 -03:00
Gabriel Luiz Freitas Almeida
4c6cd57a1f
fix(util.py): fix IndentationError while parsing from source code. ( #944 )
2023-09-21 06:28:49 -03:00
Tiago Santos
8a0630652f
fix(util.py): fix IndentationError while parsing from source code.
2023-09-20 18:41:45 +01:00
DiogenesBR
e7de71bbaf
Fix the commands that run on creation of the devcontainer
2023-09-20 10:40:12 +00:00
Gabriel Luiz Freitas Almeida
b6049aeb9e
Release 0.4.20 ( #931 )
2023-09-18 14:35:21 -03:00
Gabriel Luiz Freitas Almeida
0d9e866560
Merge branch 'main' into release
2023-09-18 14:31:30 -03:00
Gabriel Luiz Freitas Almeida
7d33cd7539
🔖 chore(pyproject.toml): bump version from 0.4.19 to 0.4.20 to reflect the latest changes and improvements in the package
2023-09-18 14:28:25 -03:00
Gabriel Luiz Freitas Almeida
ac1b6b6d1c
🐛 fix(process.py): handle unknown langchain_object types by returning the object as is instead of raising an exception ( #930 )
2023-09-18 14:23:26 -03:00
Gabriel Luiz Freitas Almeida
eeab7bda05
🐛 fix(process.py): handle unknown langchain_object types by returning the object as is instead of raising an exception
2023-09-18 14:22:45 -03:00
Gabriel Luiz Freitas Almeida
15a96b63d9
Bug fix on error detail of customComponent code - Release ( #927 )
2023-09-18 10:42:08 -03:00
Gabriel Luiz Freitas Almeida
6500d793d1
🐛 fix(types.py): fix indentation and remove duplicate docstring to improve code readability
...
🔥 chore(types.py): remove unused variable 'e' and improve exception handling by adding 'from exc' to preserve original traceback
2023-09-18 10:39:29 -03:00
Gabriel Luiz Freitas Almeida
b5cb175c58
Enabling prompt modal close without variables ( #915 )
2023-09-18 10:31:34 -03:00
Gabriel Luiz Freitas Almeida
8e166cebf3
🔧 fix(types): fix indentation in TooltipComponentType to improve code readability
...
🔧 fix(utils): fix indentation in validateNode function to improve code readability
2023-09-18 09:59:34 -03:00
Gabriel Luiz Freitas Almeida
cc6cf4df35
🐛 fix(validate.py): set prompt_request.name to the key of the only custom field if it is an empty string and there is only one custom field to handle the first prompt request after node creation
2023-09-18 09:34:30 -03:00
Cristhian Zanforlin Lousa
887d1d8f79
🐛 fix(types.py): handle exceptions and raise HTTPException with detailed error message and traceback
...
🐛 fix(index.tsx): fix error detail access in className condition
🐛 fix(classes.css): adjust scrollbar styles for Ace editor
2023-09-18 09:28:24 -03:00
Gabriel Luiz Freitas Almeida
61f79a2228
Release 0.4.18 ( #925 )
2023-09-17 20:40:39 -03:00
Gabriel Luiz Freitas Almeida
173561d803
Merge branch 'main' into release
2023-09-17 20:29:41 -03:00
Gabriel Luiz Freitas Almeida
ca7bd74013
🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release ( #924 )
2023-09-17 20:24:19 -03:00
Gabriel Luiz Freitas Almeida
0cf4f53771
🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release
2023-09-17 20:20:55 -03:00
Gabriel Luiz Freitas Almeida
b87502b45a
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type ( #923 )
2023-09-17 20:19:00 -03:00
Gabriel Luiz Freitas Almeida
4cefc59aba
🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module
...
🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module to improve code organization and import statements
2023-09-17 20:15:37 -03:00
Gabriel Luiz Freitas Almeida
d65a75c8d8
🔧 chore(process.py): replace logger import from langflow.utils.logger to loguru.logger for better logging functionality
...
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type
2023-09-17 20:14:25 -03:00
Cristhian Zanforlin Lousa
bd9c53bf14
🐛 fix(EditNodeModal): fix state mutation issue by using useRef instead of useState for myData variable
...
✨ feat(EditNodeModal): add onChangeOpenModal prop to BaseModal component to reset myData to original data when modal is closed
🔧 chore: fix indentation in setTabsState function call for better code readability
🔧 fix(baseModal): import useEffect from react to fix missing dependency warning
🔧 fix(baseModal): add missing onChangeOpenModal prop to BaseModal component
🔧 fix(baseModal): call onChangeOpenModal prop in useEffect to notify parent component of modal open state change
🔧 fix(genericModal): add empty onChangeOpenModal prop to BaseModal component to fix prop type error
2023-09-14 20:11:48 -03:00
Gabriel Luiz Freitas Almeida
fa94ae3350
🔧 chore(render.yaml): add disk configuration for langflow-data to pro… ( #919 )
2023-09-14 23:02:26 +00:00
Gabriel Luiz Freitas Almeida
ff18b32aeb
🔀 chore(README.md): update Railway deployment button link to use a different template
2023-09-14 20:01:51 -03:00
Gabriel Luiz Freitas Almeida
40969d905a
🐛 fix(render.yaml): fix indentation of value for LANGFLOW_DATABASE_URL environment variable to match the key
2023-09-14 17:19:13 -03:00
Gabriel Luiz Freitas Almeida
502b520782
🔧 chore(render.yaml): add LANGFLOW_DATABASE_URL environment variable with sqlite database path to improve configuration
...
The LANGFLOW_DATABASE_URL environment variable is added with the value `sqlite:////home/user/.cache/langflow/langflow.db` to specify the path to the SQLite database file for the Langflow service. This improves the configuration by providing a specific location for the database file.
2023-09-14 17:18:22 -03:00
Gabriel Luiz Freitas Almeida
2a947e33a7
🔧 chore(render.yaml): remove unnecessary 'plan' field from langflow service configuration
...
📝 docs(render.yaml): update langflow service configuration to remove 'plan' field for better clarity and consistency
2023-09-14 15:39:46 -03:00
Gabriel Luiz Freitas Almeida
54776687f1
🔧 chore(render.yaml): add disk configuration for langflow-data to provide persistent storage for langflow cache
2023-09-14 15:38:45 -03:00
Cristhian Zanforlin Lousa
144fdbd098
🐛 fix(parameterComponent): fix data mutation by cloning data object before updating it
...
🐛 fix(parameterComponent): fix data mutation by cloning data object before updating it
🐛 fix(genericModal): remove unnecessary cloning of nodeClass object
🐛 fix(genericModal): fix validation logic for PROMPT type modal
🐛 fix(reactflowUtils): remove console.log statement in handleKeyDown function
2023-09-14 14:18:30 -03:00
Gabriel Luiz Freitas Almeida
63d1e82c80
fix: 🐛 fixes Infinity icon crashing the frontend
...
There's an issue with the exported Infinity variable, InfinityIcon is an alias and fixes that
2023-09-14 09:36:34 -03:00
Cristhian Zanforlin Lousa
9c4c8f1cf7
🔨 refactor(promptComponent): rename TextAreaComponentType to PromptAreaComponentType for better naming consistency and clarity
...
🔨 refactor(genericModal): import cloneDeep from lodash to improve code readability and maintainability
🔨 refactor(genericModal): add type annotations to validatePrompt function parameters for better code documentation
🔨 refactor(genericModal): add null check for nodeClass before modifying it in validatePrompt function
🔨 refactor(genericModal): setNodeClass and setModalOpen only if frontend_node is not an empty object in validatePrompt function
🔨 refactor(genericModal): remove console.log statement in catch block of validatePrompt function
🔨 refactor(genericModal): add type annotations to catch block of validatePrompt function for better code documentation
🔨 refactor(types): add PromptAreaComponentType to define the type of PromptAreaComponent props
2023-09-14 09:12:18 -03:00
Gabriel Luiz Freitas Almeida
a35e6a6556
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available ( #900 )
2023-09-12 01:41:47 +00:00
Gabriel Luiz Freitas Almeida
b819f37798
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available
...
📝 docs(langfuse_integration.mdx): update step 3 to remove mention of consulting Langfuse documentation or contacting support for integration issues
2023-09-11 22:40:47 -03:00
Gabriel Luiz Freitas Almeida
5c18a02913
🔧 chore(__main__.py): change default value of cache option to None for better flexibility ( #893 )
...
Fixes #880
2023-09-11 17:27:22 +00:00
Gabriel Luiz Freitas Almeida
327cb0771f
🐛 fix(inputListComponent): handle conversion from string to array for value prop to ensure smooth operation and prevent potential errors
2023-09-11 14:23:35 -03:00
Gabriel Luiz Freitas Almeida
250b11b5d9
🐛 fix(__main__.py): make cache argument optional in update_settings function to allow not passing a value for it
2023-09-11 14:21:45 -03:00
Gabriel Luiz Freitas Almeida
15cd835a0c
🔧 chore(utils.py): add logging statement when no LLM cache is set to provide visibility and debugging information
2023-09-11 14:20:04 -03:00
Gabriel Luiz Freitas Almeida
6e7d7dfb51
🔧 chore(langfuse.py): update debug log message for better clarity and accuracy
2023-09-11 14:19:11 -03:00
Gabriel Luiz Freitas Almeida
899a8fbb33
🔧 chore(__main__.py): change default value of cache option to None for better flexibility
...
🐛 fix(utils.py): handle ImportError when importing cache class and log a warning message
🔧 chore(settings.py): change default value of CACHE option to None for better flexibility
Fixes #880
2023-09-11 14:05:35 -03:00
Gabriel Luiz Freitas Almeida
a1d888ce19
Adds Langfuse integration and Support for Document output in the API ( #890 )
2023-09-09 12:34:31 +00:00
Gabriel Luiz Freitas Almeida
de6b9d119a
Merge branch 'main' into release
2023-09-09 12:33:56 +00:00