* refactor: Add icon to SpiderTool class in spider.py
* refactor: Add icon to SQLDatabaseComponent class in sql_database.py
* remove langchain icon in spider component
* fix: update input type and define its min and max values
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
The Data class in the langflow schema has been updated to handle different types of text inputs. Previously, the page_content attribute was expected to be a string, but now it can also accept other types. If the input is already a string, it is used as is. Otherwise, it is converted to a string before being assigned to the page_content attribute of the Document object.
This change improves the flexibility and robustness of the Data class, allowing it to handle a wider range of input types.
* feat: Add DataFrameInput to inputs module
* feat: add DataFrame support and refactor array processing
* feat: add truth value testing for DataFrame class
* refactor: remove Python 2 compatibility method from DataFrame class
* refactor: rename DataSet to DataFrame
* feat: add DataFrameInput type and update InputTypes definition
* feat: add DataFrame type to CUSTOM_COMPONENT_SUPPORTED_TYPES
* refactor: replace DataSet with DataFrame in schema and tests
* made logformat configurable
* [autofix.ci] apply automated fixes
* documentation of log format env var
* log stuff at one place in documentation
* added documentation of log environment
* check for log format
* [autofix.ci] apply automated fixes
* just load log format on custom logenv
* [autofix.ci] apply automated fixes
* no more invalid whitespaces
* fixed br s with escape
* logging error in case of invalid format string
---------
Co-authored-by: Kraxner Thomas <thomas.kraxner@illwerkevkw.at>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: enhance DataSet class with improved constructor and methods for better data handling
- Added custom constructor to support various input formats including lists of Data objects, dictionaries, and existing DataFrames.
- Introduced methods `add_row` and `add_rows` for adding single or multiple rows to the DataSet.
- Updated docstrings and examples for clarity and usability.
- Ensured compatibility with pandas DataFrame operations while preserving Data object structures.
* test: add comprehensive tests for DataSet initialization and row operations
* feat: add DataSet class to schema module
* refactor: simplify DataSet initialization and improve data validation
* 🐛 (Instagram Copywriter.json): fix load_from_db field to be set to true instead of false to correctly load data from the database.
* 🐛 (setup.py): Fix condition to update component versions by excluding "load_from_db" attribute
🐛 (Instagram Copywriter.json): Fix incorrect "load_from_db" value for "api_key" and "openai_api_base" properties
* Fix error handling and logging in build_flow function
* Refactor: Update serialize_field function in utils.py
This commit refactors the serialize_field function in utils.py to handle additional data types. It now properly serializes BaseModel objects and dictionaries by recursively calling the serialize_field function on their values. Additionally, it ensures that all other data types are converted to strings before returning.
#4873
* update serialize
* fix: handle different output formats in agent message processing
* fix: correct condition for handling Anthropic message output
* refactor: extract text output handling into separate function
* Add DataSet class to handle conversion between Data objects and DataFrame
* feat: enhance DataSet class with detailed docstrings and examples for better usability
* feat: add custom constructor property to DataSet for improved DataFrame compatibility
* test: add unit tests for DataSet class methods and functionality
* adding list of Data output to Parse Data
* [autofix.ci] apply automated fixes
* enabling connection from more List outputs
* [autofix.ci] apply automated fixes
* refactor to have single return type
* [autofix.ci] apply automated fixes
* addressing linting comments
* [autofix.ci] apply automated fixes
* apparently lint was missed...
* sigh
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
* Improve error messaging for missing message fields in memory module
* fix: Simplify return statement in NotDiamondComponent's chat result method
* Update .gitignore to exclude all .db files