Gabriel Luiz Freitas Almeida
383c9dc5ff
📝 docs(text-splitters.mdx): improve formatting and add missing information about LanguageRecursiveTextSplitter and its parameters
...
🐛 fix(text-splitters.mdx): fix typo in the description of `separators` parameter in `RecursiveCharacterTextSplitter`
2023-08-24 22:23:27 -03:00
Gabriel Luiz Freitas Almeida
40ab6b1e87
🔥 refactor(config.yaml): remove RecursiveCharacterTextSplitter from the config file as it is no longer used
...
📚 docs(config.yaml): update documentation link for CharacterTextSplitter in the config file
2023-08-24 22:22:31 -03:00
Gabriel Luiz Freitas Almeida
95ff2a7f6b
🔧 chore(util.py): add missing import for 'Document' from langchain.schema
...
🔧 chore(util.py): add missing type hint for 'documents' parameter in build_loader_repr_from_documents function
🔧 chore(util.py): add logic to calculate average document length and display summary information in build_loader_repr_from_documents function
2023-08-24 22:22:09 -03:00
Gabriel Luiz Freitas Almeida
04b14747a2
Merge branch 'main' into release
2023-08-25 00:23:28 +00:00
Gabriel Luiz Freitas Almeida
43ca5e32d7
🔖 chore(pyproject.toml): update package version from 0.4.14 to 0.4.15
...
🔖 chore(pyproject.toml): update gunicorn package from version 21.1.0 to 21.2.0
🔖 chore(pyproject.toml): update chromadb package from version 0.3.21 to 0.3.0
🔖 chore(pyproject.toml): update rich package from version 13.4.2 to 13.5.0
🔖 chore(pyproject.toml): update unstructured package from version 0.7.0 to 0.10.0
🔖 chore(pyproject.toml): update pypdf package from version 3.11.0 to 3.15.0
🔖 chore(pyproject.toml): update fake-useragent package from version 1.1.3 to 1.2.1
🔖 chore(pyproject.toml): update qdrant-client package from version 1.3.0 to 1.4.0
🔖 chore(pyproject.toml): update weaviate-client package from version 3.21.0 to 3.23.0
🔖 chore(pyproject.toml): update cohere package from version 4.11.0 to 4.21.0
2023-08-24 21:20:33 -03:00
Gabriel Luiz Freitas Almeida
32de3e1f0a
🔧 chore(Makefile): exclude .venv folder from mypy linting to improve performance and avoid unnecessary errors
2023-08-24 21:20:11 -03:00
Gabriel Luiz Freitas Almeida
9fb1a26277
🐛 fix(manager.py): catch all exceptions instead of just TypeError when loading JSON payload to improve error handling and prevent crashes
2023-08-24 21:10:34 -03:00
Gabriel Luiz Freitas Almeida
60b9f01cc6
Release 0.4.14 ( #810 )
2023-08-24 00:31:47 +00:00
Gabriel Luiz Freitas Almeida
5fd3394386
Merge branch 'main' into release
2023-08-24 00:31:40 +00:00
Gabriel Luiz Freitas Almeida
eca7a56f76
🔖 chore(pyproject.toml): bump version from 0.4.13 to 0.4.14 for langflow package
2023-08-23 21:30:43 -03:00
Gabriel Luiz Freitas Almeida
3d860ce4a1
Fixes Retry logic in /all endpoint ( #809 )
2023-08-24 00:20:59 +00:00
anovazzi1
cb5114b9b7
Bugfix - Retry Mechanism for Failed Requests in Loop ( #808 )
...
This pull request addresses an issue with the retry mechanism for failed
requests within a loop. The current implementation lacks proper handling
of failed requests, leading to potential data loss and inconsistent
behavior. This bugfix aims to improve the retry logic and ensure that
requests are appropriately retried when they fail within a loop.
2023-08-23 21:20:18 -03:00
anovazzi1
cd6985591f
fix(App.tsx): replace hardcoded error message with FetchErrorComponent to improve error handling and display
...
feat(App.tsx): add support for displaying fetch error message and description in FetchErrorComponent
feat(fetchErrorComponent): create FetchErrorComponent to display fetch error message and description
fix(genericIconComponent): add stroke-width property to ensure consistent icon stroke width
feat(loadingComponent): import LoadingComponentProps from types/components to improve type safety
feat(constants): add FETCH_ERROR_MESSAGE and FETCH_ERROR_DESCRIPTION constants for fetch error handling
fix(typesContext): remove console.log statement and set fetchError to true when an error occurs during fetching types
feat(typesContext): add error handling for fetching types and set fetchError to true when an error occurs
feat(typesContext): import fetchErrorComponentType from types/components to improve type safety
feat(types/components): create fetchErrorComponentType and LoadingComponentProps interfaces for type safety
fix(styleUtils): import Unplug icon from lucide-react to fix missing icon issue
2023-08-23 21:09:53 -03:00
Gabriel Luiz Freitas Almeida
e642154621
Merge branch 'main' into release
2023-08-23 23:15:02 +00:00
Gabriel Luiz Freitas Almeida
1d166b6e6b
poetry lock
2023-08-23 20:10:54 -03:00
Gabriel Luiz Freitas Almeida
1e968083be
Adds GET, POST and JSON Document utility components ( #806 )
2023-08-23 21:03:11 +00:00
Gabriel Luiz Freitas Almeida
f555c60abc
Merge branch 'main' into release
2023-08-23 19:51:53 +00:00
anovazzi1
d9b03980f7
fix(typesContext.tsx): remove unnecessary code that checks result status and fetches health on error
...
fix(typesContext.tsx): handle error when fetching types and set fetchError state to true
2023-08-23 14:59:20 -03:00
anovazzi1
ea105ee7af
refactor(typesContext.tsx): remove unnecessary retry logic and interval for fetching types
...
fix(typesContext.tsx): fix issue where component was not unmounting properly and causing memory leaks
2023-08-23 14:44:45 -03:00
anovazzi1
f22768c2bc
fix(App.tsx): remove extra comma in the useContext hook
...
feat(App.tsx): add support for displaying fetch error message when there is an error in the backend API call
fix(typesContext.tsx): add error handling for API call and set fetchError state accordingly
feat(typesContext.tsx): add fetchError state and setFetchError function to the typesContext
2023-08-23 12:52:49 -03:00
Gabriel Luiz Freitas Almeida
f0d0909764
🔖 chore(pyproject.toml): bump version from 0.4.12 to 0.4.13 for langflow package
2023-08-22 18:23:15 -03:00
Gabriel Luiz Freitas Almeida
513bfc1930
Adds GET and POST utility components ( #799 )
2023-08-22 21:15:12 +00:00
Gabriel Luiz Freitas Almeida
cea4063637
🐛 fix(GetRequest.py): convert timeout to integer to avoid potential type errors
...
✨ feat(PostRequest.py): update display name to "POST Request" for better clarity and consistency
2023-08-22 17:53:55 -03:00
Gabriel Luiz Freitas Almeida
c6fc60d4b2
🔧 chore(GetRequest.py): add timeout parameter to the GetRequest component for configurable request timeout
...
📝 docs(GetRequest.py): update component documentation to include information about the new timeout parameter
2023-08-22 17:52:17 -03:00
Gabriel Luiz Freitas Almeida
4f2a14bed5
📝 docs(utilities.mdx): add horizontal rule to improve readability and separation of content
...
📝 docs(utilities.mdx): add description for JSON Document Builder to provide clarity on its purpose
2023-08-22 17:46:07 -03:00
Gabriel Luiz Freitas Almeida
c22a792a7f
📚 docs(GetRequest.py): add documentation link for the GET Request component
...
📚 docs(JSONDocumentBuilder.py): add documentation link for the JSON Document Builder component
📚 docs(PostRequest.py): add documentation link for the POST Request component
📚 docs(UpdateRequest.py): add documentation link for the Update Request component
2023-08-22 17:45:45 -03:00
Gabriel Luiz Freitas Almeida
7dc258d580
📝 docs(utilities.mdx): update Utilities section in the sidebar to include the new "Utilities" page
...
📝 docs(sidebars.js): add "components/utilities" to the Components section in the sidebar
2023-08-22 17:43:15 -03:00
Gabriel Luiz Freitas Almeida
42a268a678
📝 docs(components/utilities.mdx): add documentation for Update Request feature
...
🚀 feat(UpdateRequest.py): add UpdateRequest component to make PATCH or PUT requests to a given URL
2023-08-22 17:35:20 -03:00
Gabriel Luiz Freitas Almeida
b1779e849d
🔥 refactor(base.py): remove unused imports and code in base.py
...
🔥 refactor(base.py): remove unused variables and functions in base.py
2023-08-22 16:46:57 -03:00
Gabriel Luiz Freitas Almeida
f69fddb1a0
🔧 chore(settings.py): add missing import statement for json module
...
🔧 chore(settings.py): remove unused import statement for contextlib module
🔧 chore(settings.py): remove unused import statement for orjson module
🔧 chore(settings.py): remove unused import statement for os module
🔧 chore(settings.py): remove unused import statement for typing module
2023-08-22 16:42:09 -03:00
Gabriel Luiz Freitas Almeida
fb7513f7cb
🐛 fix(custom_component.py): change repr_value type from str to Any to allow any type of value to be assigned
2023-08-22 16:37:53 -03:00
Gabriel Luiz Freitas Almeida
938fcbab62
🐛 fix(GetRequest.py): change variable name 'url' to 'urls' to improve clarity and semantics
...
✨ feat(PatchRequest.py): add new component 'PatchRequest' to make PATCH requests to a given URL
🐛 fix(PostRequest.py): change variable name 'document' to 'documents' to improve clarity and semantics
2023-08-22 16:37:43 -03:00
Gabriel Luiz Freitas Almeida
663e648af2
📝 docs(utilities.mdx): update documentation for GET and POST requests to reflect changes in the response format
...
📝 docs(utilities.mdx): clarify that multiple URLs can be provided for GET requests and the response will be a list of Documents
2023-08-22 16:15:02 -03:00
Gabriel Luiz Freitas Almeida
05c8f5a0f8
🐛 fix(GetRequest.py): update orjson_dumps function call to set indent_2 parameter to False
...
🐛 fix(GetRequest.py): update return type annotation of get_documents method to list[Document]
🐛 fix(PostRequest.py): update return type annotation of post_document method to list[Document]
2023-08-22 16:13:07 -03:00
Gabriel Luiz Freitas Almeida
6fa2258aac
🔧 chore(manager.py): import orjson library for improved JSON serialization and deserialization performance
2023-08-22 16:12:42 -03:00
Gabriel Luiz Freitas Almeida
70f98f9150
🐛 fix(custom_component.py): extract inner type from return type if it starts with 'list' or 'List' to handle list types correctly
2023-08-22 16:12:30 -03:00
Gabriel Luiz Freitas Almeida
1dbe776e6a
✨ feat(utils.py): add function extract_inner_type to extract the inner type from a type hint that is a list
2023-08-22 16:11:47 -03:00
Gabriel Luiz Freitas Almeida
39ae660e45
🔧 chore(loading.py): add import statement for json module to fix missing import error
2023-08-22 16:11:37 -03:00
Gabriel Luiz Freitas Almeida
6634e8864b
🔧 chore(vector_store.py): import orjson library for JSON serialization and deserialization
...
🐛 fix(vector_store.py): fix typo in function comment, change "OR" to "or" for better readability
2023-08-22 16:11:24 -03:00
Gabriel Luiz Freitas Almeida
59652b8875
🔧 chore(prebuilt.py): import missing JSON_PREFIX and JsonToolkit to fix unresolved references
...
🔧 chore(prebuilt.py): import missing JSON_PREFIX and JsonToolkit to fix unresolved references in prebuilt.py
2023-08-22 16:11:10 -03:00
Gabriel Luiz Freitas Almeida
8098cea405
🐛 fix(JSONDocumentBuilder.py): fix JSON serialization issue by using orjson_dumps function
...
🔒 chore(JSONDocumentBuilder.py): add type checking and raise TypeError for invalid input
2023-08-22 15:36:49 -03:00
Gabriel Luiz Freitas Almeida
0d53db1653
🐛 fix(PostRequest.py): add validation for document parameter to only accept Document or list of Documents to prevent errors
2023-08-22 15:33:44 -03:00
Gabriel Luiz Freitas Almeida
4efe06e440
🐛 fix(PostRequest.py): remove redundant session creation and move it to the calling function to improve efficiency and reusability
...
✨ feat(PostRequest.py): add support for processing multiple documents in a single request to improve performance and reduce network overhead
2023-08-22 15:32:00 -03:00
Gabriel Luiz Freitas Almeida
696a139171
🐛 fix(GetRequest.py): handle request timeout by returning a Document with status code 408 and "Request Timed Out" content
...
✨ feat(GetRequest.py): add timeout parameter to the build method to allow configuring the request timeout value
2023-08-22 15:31:47 -03:00
Gabriel Luiz Freitas Almeida
5fa8281e94
🐛 fix(JSONDocumentBuilder.py): handle both single document and list of documents when building JSON document
...
✨ feat(JSONDocumentBuilder.py): add support for building JSON document from a list of documents
2023-08-22 14:59:00 -03:00
Gabriel Luiz Freitas Almeida
6e18e795ff
🔧 chore(GetRequest.py): refactor GetRequest class to store the returned documents in a repr_value attribute for debugging purposes
2023-08-22 14:58:52 -03:00
Gabriel Luiz Freitas Almeida
62b9bb523c
🔧 fix(GetRequest.py): improve code readability and add support for multiple URLs and headers in GetRequest component
...
🔧 fix(PostRequest.py): improve code readability and add support for multiple documents, URLs, and headers in PostRequest component
2023-08-22 14:56:34 -03:00
Gabriel Luiz Freitas Almeida
9f617ff6f1
📝 docs(utilities.mdx): update Utilities documentation with additional sections and improve formatting for better readability
2023-08-22 11:56:14 -03:00
Gabriel Luiz Freitas Almeida
b8b9bb25bc
📦 feat(JSONDocumentBuilder.py): add JSONDocumentBuilder component to build a Document containing a JSON object using a key and another Document page content
...
📝 docs(JSONDocumentBuilder.py): add description and field configuration for JSONDocumentBuilder component
2023-08-22 11:56:01 -03:00
Gabriel Luiz Freitas Almeida
fb028e55b8
✨ feat(GetRequest.py): add GetRequest component to make a GET request to a given URL
...
✨ feat(PostRequest.py): add PostRequest component to make a POST request to a given URL
2023-08-22 11:38:48 -03:00